R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)
101
Configuration procedure
To configure IP unnumbered on an interface:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Specify the current interface to
borrow the IP address of the
specified interface.
ip address unnumbered interface
interface-type interface-number
The interface does not borrow IP
addresses from other interfaces by
default.
Configuration example
Network requirements
As shown in Figure 48, two routers on an intranet are connected to each other through serial interfaces
across a Digital Data Network (DDN), and they each connect to a LAN through Ethernet interfaces.
To save IP addresses, configure the serial interfaces to borrow IP addresses from the Ethernet interfaces.
Figure 48 Network diagram
Configuration procedure
1. Configure Router A:
# Assign a primary IP address to Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 172.16.10.1 255.255.255.0
[RouterA-Ethernet1/1] quit
# Configure Serial 2/1 to borrow an IP address from Ethernet 1/1.
[RouterA] interface serial 2/1
[RouterA-Serial2/1] ip address unnumbered interface ethernet 1/1
[RouterA-Serial2/1] quit
# Create a route to the subnet attached to Router B, specifying interface Serial 2/1 as the outgoing
interface.










