Configuring a Primary IP Address for the IP Numbered Interface
Context
An IP unnumbered interface cannot run dynamic routing protocols because it does not have an IP address itself. To enable the interface to communicate with a peer network segment, configure a static route to the network segment.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
IP unnumbered interfaces can borrow interfaces from Ethernet, Loopback, Eth-Trunk, and VLANIF interfaces.
- Run ip address ip-address { mask | mask-length }
A primary IP address is configured for the interface.
Each interface has only one primary IP address. If you configure multiple primary IP addresses for an interface, the last configured IP address becomes the primary IP address of the interface.