
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
interface Serial1/2
ip address 192.168.2.1 255.255.255.0
encapsulation frame-relay
shutdown
serial restart-delay 0
frame-relay lmi-type ansi
router rip
network 192.168.1.0
network 192.168.2.0
R1, R2, R7, R8 的配置是相似的。
R3是没有FRAME-RELAY的,这里的重点不是FRAME-RELAY。
R1,R2,R4是一个Lan:192.168.1.0
R1,R8是一个network: 192.168.2.0
R2,R7一个network: 192.168.3.0
R7,R8一个network: 192.168.4.0
R2,R3一个network: 192.168.5.0
很简单的一个topology, 除了R4外的所有router上 sh ip route:
R 192.168.4.0/24 [120/1] via 192.168.3.2, 00:00:11, Serial1/2
C 192.168.5.0/24 is directly connected, Serial1/1
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R 192.168.2.0/24 [120/2] via 192.168.3.2, 00:00:11, Serial1/2
C 192.168.3.0/24 is directly connected, Serial1/2
都可以得到192.168.1~5.0的network,但LAN以外的所有router都PING不到R4(相当于LAN内的PC)。请讲解!