請問各位先進
圖中的Router1 及Router2要如何設定靜態路由才能讓PC1及PC2互聯呢?
[URL=http://imageshack.us][IMG]http://img164.imageshack.us/img164/8495/route2yc.jpg[/IMG][/URL]
可列印頁面
請問各位先進
圖中的Router1 及Router2要如何設定靜態路由才能讓PC1及PC2互聯呢?
[URL=http://imageshack.us][IMG]http://img164.imageshack.us/img164/8495/route2yc.jpg[/IMG][/URL]
如果你畫的沒錯.有點詭異
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
如果你畫的沒錯.有點詭異
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
[QUOTE=tom1212]如果你畫的沒錯.有點詭異
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[/QUOTE]
圖沒有畫錯,
謝謝您的指點,我待會兒試著設定看看
以前提PC1與PC2互通來看
樓上的朋友router1是正確的
但router2因為192.168.0.0/24與192.168.2.0/24都是direct connect所以不需要加額外的路由
[QUOTE=tom1212]如果你畫的沒錯.有點詭異
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[/QUOTE]
成功了!
只要在ROUTER1裡增加一條路由
192.168.2.x/24=>192.168.0.253
就可以了!
多謝指導~