IP Address Overview 323

 

Table 355 Configure IP address unnumbered

 

 

 

 

 

 

 

Operation

 

Command

 

 

 

 

 

Activate IP address unnumbered

 

ip address unnumbered

 

 

 

interface-type

 

 

 

interface-number

 

 

 

 

 

Deactivate IP address unnumbered

 

undo ip address unnumbered

 

 

 

 

 

By default, the interface has no IP address.

 

 

2 Display IP address unnumbered

 

 

 

Table 356 Display IP address unnumbered

 

 

 

 

 

 

Operation

Command

 

 

 

 

Display information of interface borrowing IP

display interfaces [type

 

address

number]

 

 

 

 

Display the current configuration information.

display current-configuration

 

 

 

 

Configuration Example I. Configuration Requirements

Suppose the headquarters of a company is in Beijing, with subsidiary offices in Shenzhen and Shanghai and one office in Wuhan. R is the headquarters router, which connects the subsidiaries and office routers R1, R2 and R3 via PSTN. The four routers R, R1, R2 and R3 all have its serial port for dialing and one Ethernet interface to connect with local network.

II. Networking Diagram

Figure 120 Networking diagram of IP address unnumbered configuration

R1 ( Shenzhen)

Router

R2 (Shanghai)

Router

PSTN

R( Beijing Headquarter)

Router

R3 ( Wuhan)

Router

III.Configuration Procedure 1 Configure headquarters router R

[Router-Ethernet0]ip address 172.16.10.1 255.255.255.0

aBorrow IP address of Ethernet interface 0:

[Router-Serial0]ip address unnumbered Ethernet0

[Router-Serial0] link-protocol ppp

bConfigure routing to Ethernet segment of Shenzhen router R1:

[Router] ip route-static 172.16.20.0 255.255.255.0 172.16.20.1

cConfigure the interface routing to Shenzhen router R1 serial port

[Router] ip route-static 172.16.20.1 255.255.255.255 serial0

Page 327
Image 327
3Com 10014299 manual Configuration Example I. Configuration Requirements, Borrow IP address of Ethernet interface