Configuring an IP address Unnumbered Interface
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ip address unnumbered interface interface-type interface-number
By default, an interface does not borrow the IP address from another interface.
The interface is configured to borrow the IP address from a specified interface.
- You can run the ip address unnumbered command to configure certain interfaces, including the ATM interface, dialer interface, tunnel interface, tunnel-template interface, and interface encapsulated with PPP, HDLC, or frame relay, to borrow an IP address from an Ethernet interface, loopback interface, or another type of interface. The Ethernet interfaces and Ethernet sub-interfaces only can borrow the IP address from loopback interface.
- Sub-interfaces using FR as the link layer protocol can borrow IP addresses from other interfaces.
- 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.