Configuring an Unnumbered Interface to Borrow an IP Address from Another Interface

An Ethernet interface can borrow the IP address of another interface.

Context

Configuring IP address unnumbered saves IP address resources. You can configure an interface that is occasionally used to borrow an IP address, instead of configuring a new IP address for the interface.

The configuration procedure described in this section involves only configuring an interface to borrow an IP address. The unnumbered interface has no IP address, and therefore dynamic routing protocols cannot run on this interface. To allow this interface to communicate with a remote device, you must configure a static route from this interface to the network segment of the remote device.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the unnumbered interface is displayed.

  3. Run ip address unnumbered interface interface-type interface-number

    The unnumbered interface is configured to borrow an IP address from a specified interface.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >