靜態路由設定疑問



贊助商連結


weldon
2006-04-25, 04:48 PM
請問各位先進

圖中的Router1 及Router2要如何設定靜態路由才能讓PC1及PC2互聯呢?

http://img164.imageshack.us/img164/8495/route2yc.jpg (http://imageshack.us)

贊助商連結


tom1212
2006-04-25, 05:21 PM
如果你畫的沒錯.有點詭異
Router 1 設定
對192.168.2.x/24=>192.168.0.253

routter 2 設定
對192.168.2.x/24 =>192.168.2.254
對192.168.0.x/24 =>192.168.0.253

網路流向為:
PC1=>PC2
PC1=>Router 1=>Router 2=>PC2

PC2 =>PC1
PC2=>Router 2 =>PC1

tom1212
2006-04-25, 05:26 PM
如果你畫的沒錯.有點詭異
Router 1 設定
對192.168.2.x/24=>192.168.0.253

routter 2 設定
對192.168.2.x/24 =>192.168.2.254
對192.168.0.x/24 =>192.168.0.253

網路流向為:
PC1=>PC2
PC1=>Router 1=>Router 2=>PC2

PC2 =>PC1
PC2=>Router 2 =>PC1

weldon
2006-04-26, 08:38 AM
如果你畫的沒錯.有點詭異
Router 1 設定
對192.168.2.x/24=>192.168.0.253

routter 2 設定
對192.168.2.x/24 =>192.168.2.254
對192.168.0.x/24 =>192.168.0.253

網路流向為:
PC1=>PC2
PC1=>Router 1=>Router 2=>PC2

PC2 =>PC1
PC2=>Router 2 =>PC1

圖沒有畫錯,

謝謝您的指點,我待會兒試著設定看看

Ares
2006-04-26, 12:49 PM
以前提PC1與PC2互通來看
樓上的朋友router1是正確的
但router2因為192.168.0.0/24與192.168.2.0/24都是direct connect所以不需要加額外的路由

weldon
2006-04-27, 06:19 PM
如果你畫的沒錯.有點詭異
Router 1 設定
對192.168.2.x/24=>192.168.0.253

routter 2 設定
對192.168.2.x/24 =>192.168.2.254
對192.168.0.x/24 =>192.168.0.253

網路流向為:
PC1=>PC2
PC1=>Router 1=>Router 2=>PC2

PC2 =>PC1
PC2=>Router 2 =>PC1

成功了!

只要在ROUTER1裡增加一條路由
192.168.2.x/24=>192.168.0.253

就可以了!

多謝指導~