iT邦幫忙

0

inter-vlan routing

  • 分享至 

  • twitterImage

請問要怎麼設inter-vlan routing

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

2
andrew123456
iT邦新手 5 級 ‧ 2012-05-01 22:31:50
最佳解答

tt0123q提到:
inter-vlan routing

設有一個layer 3 switch (sw0), 而它的port1 連上一個layer 2 switch (sw1), port2 連上另一個layer 2 switch (sw2),

兩個layer 2 switch 都有vlan 10和vlan 20,

vlan 10 subnet = 192.168.0.0/24
vlan 20 subnet = 192.168.1.0/24

請問如何設vlan gateway在layer 3 switch的port1和port2 呢?

因為gateway下有兩個vlan subnet.

4
tn11428
iT邦新手 4 級 ‧ 2012-04-03 23:17:08

請問是哪一個廠牌的設備?
Cisco的話指令為vlan routing。

看更多先前的回應...收起先前的回應...
tt0123q iT邦新手 5 級 ‧ 2012-04-04 15:33:45 檢舉

是cisco的,
請問要在什麼模式下(ex:congig或congig-if)才能打vlan routing這個指令

zackhuang iT邦新手 2 級 ‧ 2012-04-04 18:39:25 檢舉

conf t
ip routint
exit
write

zackhuang iT邦新手 2 級 ‧ 2012-04-04 18:40:02 檢舉

zackhuang提到:

conf t
ip routing <----- 上一個回應打錯
exit
write

tt0123q iT邦新手 5 級 ‧ 2012-04-05 22:02:32 檢舉

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip routing
^
% Invalid input detected at '^' marker.

Router(config)#

謝謝zackhuang的幫幫忙, 但還是不行,請參考 '^',字有錯誤

zackhuang iT邦新手 2 級 ‧ 2012-04-05 23:53:02 檢舉

如果你設備本身就是router

不用打指令設備就會做路由的工作了呀

我要發表回答

立即登入回答