324
C
HAPTER
20: C
ONFIGURING
IP A
DDRESS
2
Configure router R1 of Shenzhen subsidiary:
[Router-Ethernet0]
ip address 172.16.20.1 255.255.255.0
a
Borrow IP address of Ethernet
[Router-Serial0]
ip address unnumbered Ethernet0
[Router-Serial0]
link-protocol ppp
b
Configure routing to Ethernet segment on Beijing router R, this routing is
default routing
[Router] ip route-static 0.0.0.0 0.0.0.0 172.16.10.1
c
Configure interface routing to serial port of Beijing router R
[Router]
ip route-static 172.16.10.1 255.255.255.255 serial0
Two static routing must be configured on Beijing headquarters router R to ensure
access to Ethernet host of Shenzhen router R1.
The first static routing is to Ethernet segment of R1: the next hop is the IP address
of serial port of R1 (or an unnumbered IP address)
ip route-static 172.16.20.1 255.255.255.0 172.16.20.1
The second static route is an interface route to the serial port of R1, and the next
hop is the serial port of R
ip route-static 172.16.20.1 255.255.255.255 serial 0
After the two routes are added, router R will be able to forward the IP message to
R1 correctly
Similarly, two static routes must be configured on R1 to access the Ethernet
segment of router R. The first static routing is to Ethernet segment of R: the next
hop is the IP address of serial port of R (or an unnumbered IP address)
ip route-static 0.0.0.0 0.0.0.0 172.16.10.1
The second static route is an interface route to the serial port of R, and the next
hop is the serial port of R1.
ip route-static 172.16.10.1 255.255.255.255 serial0
The configuration of R2 and R3 is similar to that of R1.
Troubleshooting IP
Address Configuration
A router is a network interconnection device. So when IP address for an interface
is configured, networking requirements and sub-net classification should be
known. Normally, the following rules should be observed:
■
The master IP address of a router Ethernet interface must be in the same
network segment with the LAN to which this Ethernet interface is connected.
■
Serial port IP addresses of the routers at both ends of WAN must be in the
same network segment.
Fault 1: The router cannot ping through a certain host in LAN
Troubleshooting; First check if the IP address configuration of the router's Ethernet
interface and the host in LAN are in the same network segment
If the configuration is correct, turn on the arp debugging switch on the router, and
check if the router can correctly send and receive arp messages. If it can send but
Summary of Contents for 3036
Page 1: ...http www 3com com 3Com Router Configuration Guide Published March 2004 Part No 10014299 ...
Page 4: ...VPN 615 RELIABILITY 665 QOS 681 DIAL UP 721 ...
Page 6: ...2 ABOUT THIS GUIDE ...
Page 7: ...I GETTING STARTED Chapter 1 3Com Router Introduction Chapter 2 3Com Router User Interface ...
Page 8: ...4 ...
Page 16: ...12 CHAPTER 1 3COM ROUTER INTRODUCTION ...
Page 34: ...30 ...
Page 60: ...56 CHAPTER 3 SYSTEM MANAGEMENT ...
Page 98: ...94 CHAPTER 6 DISPLAY AND DEBUGGING TOOLS ...
Page 110: ...106 ...
Page 114: ...110 CHAPTER 8 INTERFACE CONFIGURATION OVERVIEW ...
Page 158: ...154 CHAPTER 10 CONFIGURING WAN INTERFACE ...
Page 168: ...164 ...
Page 188: ...184 CHAPTER 13 CONFIGURING PPPOE CLIENT ...
Page 192: ...188 CHAPTER 14 CONFIGURING SLIP Router ip route static 0 0 0 0 0 0 0 0 10 110 0 1 ...
Page 248: ...244 CHAPTER 16 CONFIGURING LAPB AND X 25 ...
Page 320: ...316 ...
Page 330: ...326 CHAPTER 20 CONFIGURING IP ADDRESS ...
Page 362: ...358 CHAPTER 21 CONFIGURING IP APPLICATION ...
Page 374: ...370 CHAPTER 23 CONFIGURING IP COUNT ...
Page 406: ...402 CHAPTER 25 CONFIGURING DLSW ...
Page 408: ...404 ...
Page 452: ...448 CHAPTER 29 CONFIGURING OSPF ...
Page 482: ...478 CHAPTER 30 CONFIGURING BGP ...
Page 494: ...490 CHAPTER 31 CONFIGURING IP ROUTING POLICY ...
Page 502: ...498 ...
Page 508: ...504 CHAPTER 33 IP MULTICAST ...
Page 514: ...510 CHAPTER 34 CONFIGURING IGMP ...
Page 526: ...522 CHAPTER 36 CONFIGURING PIM SM ...
Page 528: ...524 ...
Page 532: ...528 CHAPTER 37 CONFIGURING TERMINAL ACCESS SECURITY ...
Page 550: ...546 CHAPTER 38 CONFIGURING AAA AND RADIUS PROTOCOL ...
Page 590: ...586 CHAPTER 40 CONFIGURING IPSEC ...
Page 599: ...IX VPN Chapter 42 Configuring VPN Chapter 43 Configuring L2TP Chapter 44 Configuring GRE ...
Page 600: ...596 ...
Page 638: ...634 CHAPTER 43 CONFIGURING L2TP ...
Page 649: ...X RELIABILITY Chapter 45 Configuring a Standby Center Chapter 46 Configuring VRRP ...
Page 650: ...646 ...
Page 666: ...662 ...
Page 670: ...666 CHAPTER 47 QOS OVERVIEW ...
Page 700: ...696 CHAPTER 49 CONGESTION MANAGEMENT ...
Page 706: ...702 CHAPTER 50 CONGESTION AVOIDANCE ...
Page 707: ...XII DIAL UP Chapter 51 Configuring DCC Chapter 52 Configuring Modem ...
Page 708: ...704 ...
Page 762: ...758 CHAPTER 52 CONFIGURING MODEM ...