[問答] juniper switch設定問題

看板Network作者 (Kagamie)時間11年前 (2013/02/28 23:44), 編輯推噓4(408)
留言12則, 4人參與, 最新討論串1/2 (看更多)
各位好~ 目前在設定一台juniper switch 現在遇到一個問題 此台switch可以ping的到外部的網路 但是卻ping不到內部網路ex:192.168.X.X 請問這可能是哪裡出現了問題 第一次設定 遇到問題蠻多的 勞煩各位耐心解答 thx! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.64.44

03/01 12:21, , 1F
問題很多可能 VLAN ACL IP Filter...
03/01 12:21, 1F

03/01 12:22, , 2F
找不出來的話 就先備份config檔 再一條一條貼回去找
03/01 12:22, 2F

03/01 13:15, , 3F
幾個方向找:1.switch 的VLAN 1 IP跟PC是同一段?
03/01 13:15, 3F

03/01 13:16, , 4F
2.PC接的port是不是Vlan 1?
03/01 13:16, 4F

03/01 13:19, , 5F
以上是以一般預設值為前提,如果對應VLAN都改了就要再找
03/01 13:19, 5F

03/01 17:22, , 6F
貼設定檔....
03/01 17:22, 6F
設定黨如下 system{ ........ ........ } chassis { network-services enhanced-ethernet; } interfaces { ge-1/0/8 { encapsulation ethernet-vpls; unit 0 { family vpls; } } ge-1/0/9 { encapsulation ethernet-vpls; unit 0 { family vpls; } } ge-1/1/8 { encapsulation ethernet-vpls; unit 0 { family vpls; } } ge-1/1/9 { encapsulation ethernet-vpls; unit 0 { family vpls; } } ... ge-1/0/1~7 ... ge-1/1/1~7 同上 } forwarding-options { sampling { traceoptions { file sample; } } } routing-options { static { route 0.0.0.0/0 next-hop 140.113.9.126; } } policy-options { prefix-list inno { 60.250.127.208/32; 60.250.127.210/32; 61.67.135.141/32; } prefix-list controller { 140.113.179.202/32; <---------此台為我的controller } } firewall { filter ACL { term 0 { from { source-address { ..... 140.113.179.202/32; } source-prefix-list { controller; } } then accept; } ..... .... } routing-instances { .... switch2 { <-------- 目前我用switch2 instance-type vpls; interface ge-1/0/8.0; interface ge-1/0/9.0; interface ge-1/1/8.0; interface ge-1/1/9.0; } } openflow{ ......... switch 2 { ports { ge-1/0/9 unit 0; ge-1/0/8 unit 0; ge-1/1/9 unit 0; ge-1/1/8 unit 0; } controller { protocol tcp; address 140.113.179.202; port 6633; } } } 目前 hostA,B ip分別為192.168.150.1與192.168.150.2 接在ge-1/0/9,8與ge-1/1/9,8某兩個上, controller跑的是learning switch 結果hostA ping 不到 hostB 想請問conf要如何修改 感謝各位!! p.s. 另外 想問一下juniper要如何重起動網路?? 在restart的地方有點找不到 ex:他牌的switch可透過ssh至192.168.1.1 以/etc/init.d/network restart 方式啟動 ※ 編輯: Kagamie 來自: 140.113.64.44 (03/01 19:14)

03/01 19:57, , 7F
encapsulation的種類你確定是 ethernet-vpls?
03/01 19:57, 7F

03/01 20:01, , 8F
GOOGLE到的範例是設定ethernet-switchiing
03/01 20:01, 8F

03/01 20:02, , 9F
然後還要指定VLAN member,同一個VLAN的PORT才會互通
03/01 20:02, 9F

03/01 20:03, , 10F
感覺你貼上來的設定是每個界面都layer3 port而非switch
03/01 20:03, 10F

03/07 01:52, , 11F
vpls不是用在這的喔~~
03/07 01:52, 11F

03/07 01:56, , 12F
cisc網站上的vpls介紹~http://ppt.cc/Xyy1
03/07 01:56, 12F
文章代碼(AID): #1HBtj8ZG (Network)
文章代碼(AID): #1HBtj8ZG (Network)