目前用模擬器做了3顆CISCO路由器,分別是設備A、B、C
以下是我的問題,煩請會的好心人…協助一下~~XD
路由A
s0/0(DCE) 172.16.20.1
f0/0 172.16.10.1
路由B s0/0 172.16.20.2
s0/1 172.16.30.1
路由C
s0/0(DCE) 172.16.30.2
f0/0 172.16.40.1
目前路由器A可以PING到路由器B的S0/0、S0/1介面,但是,
沒辦法PING到路由器C的S0/0、S0/1介面
以下是我路由器A的routing設定:
ip route 172.16.40.0 255.255.255.0 172.16.20.6 151
ip route 172.16.50.0 255.255.255.0 172.16.20.6 150
ip route 172.16.30.0 255.255.255.0 172.16.20.6 151
ip route 172.16.40.0 255.255.255.0 172.16.30.1 151
原則上
Router_A要有的路由
172.16.30.0/24與172.16.40.0/24 > 172.16.20.2
Router_B要有的路由
172.16.10.0/24 > 172.16.20.1
172.16.40.0/24 > 172.16.30.2
Router_C要有的路由
172.16.10.0/24及172.16.20.0/24 > 172.16.30.1
若是依您所提的架構來看,應該要有這些路由~
至於指令怎麼下~
太久沒摸CISCO ROUTER~忘了~
每個路由器上的路由表都要有能找到要去各個網段的路由表,繞送才不會有問題!
A:
ip route 172.16.30.0 255.255.255.0 s0/0
ip route 172.16.40.0 255.255.255.0 s0/0
預設路由:<ip route 0.0.0.0 0.0.0.0 s0/0>
B:
ip route 172.16.10.0 255.255.255.0 s0/0
ip route 172.16.40.0 255.255.255.0 s0/1
C:
ip route 172.16.10.0 255.255.255.0 s0/0
ip route 172.16.20.0 255.255.255.0 s0/0
預設路由:<ip route 0.0.0.0 0.0.0.0 s0/0>