[問答] juniper switch設定問題
各位好~
目前在設定一台juniper switch
現在遇到一個問題 此台switch可以ping的到外部的網路
但是卻ping不到內部網路ex:192.168.X.X
請問這可能是哪裡出現了問題
第一次設定 遇到問題蠻多的
勞煩各位耐心解答
thx!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.64.44
→
03/01 12:21, , 1F
03/01 12:21, 1F
→
03/01 12:22, , 2F
03/01 12:22, 2F
推
03/01 13:15, , 3F
03/01 13:15, 3F
→
03/01 13:16, , 4F
03/01 13:16, 4F
→
03/01 13:19, , 5F
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
03/01 19:57, 7F
推
03/01 20:01, , 8F
03/01 20:01, 8F
→
03/01 20:02, , 9F
03/01 20:02, 9F
→
03/01 20:03, , 10F
03/01 20:03, 10F
→
03/07 01:52, , 11F
03/07 01:52, 11F
→
03/07 01:56, , 12F
03/07 01:56, 12F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):