< Home

ip address unnumbered

Function

The ip address unnumbered command enables an interface to borrow IP addresses from other interfaces.

The undo ip address unnumbered command disables unnumbered IP addresses.

Format

ip address unnumbered interface interface-type interface-number

undo ip address unnumbered

Parameters

Parameter Description Value

interface-type interface-number

Specifies the type and the number of the interface whose IP address is borrowed.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By fault, the interface is disabled from borrowing an IP address from others.

In the public system, this command cannot be configured on Ethernet interfaces, VLANIF interfaces, or Eth-Trunk interfaces.

Ethernet interfaces only can borrow the IP address from a loopback interface. IP addresses of interfaces at both ends of the directly-connected link must be configured through IP address unnumbered. It is not allowed that the IP address of the interface at only one end of the directly-connected link be configured through IP address unnumbered.

VLANIF interfaces can borrow the IP addresses of loopback interfaces. You can set all-address to configure a VLANIF interface to borrow all the IP addresses of a loopback interface.

The ip address unnumbered command is used to enable the interfaces encapsulated with PPP or frame relay, to borrow IP addresses from Ethernet interfaces, loopback interfaces or other interfaces. Configure routes manually on the interface that needs to borrow the IP address to implement interconnection among devices.

Example

# Configure the interface dialer 1 encapsulated with PPP to borrow the IP address from GigabitEthernet 0/0/0.

<sysname> system-view
[sysname] interface dialer 1
[sysname-Dialer1] ip address unnumbered interface GigabitEthernet 0/0/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >