看板 Network 關於我們 聯絡資訊
大家好~ 目前手邊有一台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