→ pojicoffee:問題很多可能 VLAN ACL IP Filter... 03/01 12:21
→ pojicoffee:找不出來的話 就先備份config檔 再一條一條貼回去找 03/01 12:22
推 deadwood:幾個方向找:1.switch 的VLAN 1 IP跟PC是同一段? 03/01 13:15
→ deadwood:2.PC接的port是不是Vlan 1? 03/01 13:16
→ deadwood:以上是以一般預設值為前提,如果對應VLAN都改了就要再找 03/01 13:19
推 sssxyz:貼設定檔.... 03/01 17:22
設定黨如下
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)
推 deadwood:encapsulation的種類你確定是 ethernet-vpls? 03/01 19:57
推 deadwood:GOOGLE到的範例是設定ethernet-switchiing 03/01 20:01
→ deadwood:然後還要指定VLAN member,同一個VLAN的PORT才會互通 03/01 20:02
→ deadwood:感覺你貼上來的設定是每個界面都layer3 port而非switch 03/01 20:03
→ billboy:vpls不是用在這的喔~~ 03/07 01:52