作者wheredo (啤酒一罐罐 健康又美丽)
看板Network
标题[问答] tplink网路设置问题
时间Fri Mar 1 16:51:37 2013
大家好~
目前手边有一台tplink的switch 目前把它刷了openwrt
设置完出现了一些问题
switch IP:140.113.179.197
switch port host
1:192.168.1.1 <------> A:192.168.1.3
2:192.168.1.5 <------> B:192.168.1.2
3
4
目前A ping B //OK
A ping port1 //OK
switch ping port1,2 //OK
但 B ping port1,2 //destination host unreachable <----
目前想要上面四个ping法都OK
请问第四个问题要如何解决?
先感谢各位~
以下是我的conf
#config 'interface' 'loopback'
# option 'ifname' 'lo'
# option 'proto' 'static'
# option 'ipaddr' '127.0.0.1'
# option 'netmask' '255.0.0.0'
#config 'interface' 'lan'
# option 'ifname' 'eth0.1'
# option 'type' 'bridge'
# option 'proto' 'static'
# option 'ipaddr' '192.168.1.1'
# option 'netmask' '255.255.255.0'
#config 'interface' 'lan2'
# option 'ifname' 'eth0.2'
# option 'type' 'bridge'
# option 'proto' 'static'
# option 'ipaddr' '192.168.2.1'
# option 'netmask' '255.255.255.0'
config 'interface' 'wan'
option 'ifname' 'eth0.5'
option 'proto' 'static'
option 'ipaddr' '140.113.179.197'
option 'netmask' '255.255.255.0'
option 'gateway' '140.113.179.254'
config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
option 'enable_learning' '0'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '1 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '2'
option 'ports' '2 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '3'
option 'ports' '3 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '4'
option 'ports' '4 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '5'
option 'ports' '0 5t'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface'
option 'ifname' 'eth0.1'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
config 'interface'
option 'ifname' 'eth0.2'
option 'proto' 'static'
option 'ipaddr' '192.168.1.5'
option 'netmask' '255.255.255.0'
config 'interface'
option 'ifname' 'eth0.3'
option 'proto' 'static'
# option 'ipaddr' '192.168.1.6'
# option 'netmask' '255.255.255.0'
config 'interface'
option 'ifname' 'eth0.4'
option 'proto' 'static'
#config 'interface'
# option 'ifname' 'eth0.5'
# option 'proto' 'static'
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.179.202