Xosa 撰寫於文章 <8499lg$f17$1@news.tw.aunet.net>...
>
>Xosa <xosa@lexicomp.net> wrote
in message
>news:8499e7$f10$1@news.tw.aunet.net...
>>
謝謝網兄及各位的熱心回答,小弟大概已經知道是什麼問題了!
非常樂見如此﹗
>>
>> 是自己太豬頭了,原來 CiscoRouter也必須指定網路C的路徑,
>>
>> 否則任憑怎麼設也不會通。
>>
>> 我在網路A的其中一台(100.100.1.5)加上一條
>> route ADD 100.100.3.0 MASK
255.255.255.0 100.100.1.7
>> 則可以從網路C中任一台 ping 到 100.100.1.5
,但是其他就不通了。
哈哈﹐you'v got it!
>>
>> 不過小弟對CiscoRouter不是很熟,所以卡在這邊沒辦法繼續下去了!
>> 因為 Cisco 中有一則 "C 100.100.3.0/24 is
directly connected,
Ethernet0"
>> 是直接 connect 在 router 上,所以小弟不管怎麼加routing
table都不行!
>>
>> 小弟是在 config mode 下
>> Router(config)#ip route 100.100.3.0 255.255.255.0
100.100.1.7
>> 可是回到 enable mode 下看routing table ,一點都沒變。
需要某個命令從新讀取設定麼﹖
>>
>> 小弟想請問的是,如何把這行拿掉
>> "C 100.100.3.0/24 is directly connected,
Ethernet0"
抱歉﹐我沒有 cisco
經驗﹐不敢置評。希望哪位有經驗者出來指點迷津吧。
>>
>>
>> Router>sh ip route
>> Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP
>> D - EIGRP, EX - EIGRP
external, O - OSPF, IA - OSPF inter area
>> N1 - OSPF NSSA external type
1, N2 - OSPF NSSA external type 2
>> E1 - OSPF external type 1, E2
- OSPF external type 2, E - EGP
>> i - IS-IS, L1 - IS-IS
level-1, L2 - IS-IS level-2, * - candidate
>> default
>> U - per-user static route, o
- ODR
>>
>> Gateway of last resort is 0.0.0.0 to network 0.0.0.0
>>
>> C 100.100.2.0/24 is directly connected, Ethernet0
>> C 100.100.3.0/24 is directly connected, Ethernet0
>> 100.100.1.0/26 is subnetted, 4
subnets
>> C 100.100.1.0 is directly connected, Ethernet0
>> S 100.100.1.64 [1/0] via 100.100.1.7
>> S 100.100.1.128 [1/0] via 100.100.1.6
>> S 100.100.1.192 [1/0] via 100.100.1.7
>>
>> 100.100.254.0/24 is variably subnetted, 2
subnets, 2 masks
>> C 100.100.254.168/30 is directly connected, Serial0
>> C 100.100.254.169/32 is directly connected, Serial0
>> S* 0.0.0.0/0 is directly connected, Serial0
>>
>>