DSA switch port vlan
Username: Topo Lino
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1622
Device: Turris Omnia
Version: OpenWRT-18.06-rc1
Steps to reproduce:
Network configuration:
config interface 'lan' option type 'bridge' option ifname 'lan0 lan1 lan2 lan3 lan4.1' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0'
config interface 'dmz' option type 'bridge' option ifname 'lan4.2' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0'
From router, I have ping with the other device on both vlan:
ping -c 3 192.168.1.5
PING 192.168.1.5 (192.168.1.5): 56 data bytes 64 bytes from 192.168.1.5: seq=0 ttl=64 time=0.434 ms 64 bytes from 192.168.1.5: seq=1 ttl=64 time=0.335 ms 64 bytes from 192.168.1.5: seq=2 ttl=64 time=0.333 ms
--- 192.168.1.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.333/0.367/0.434 ms
ping -c 3 192.168.2.5
PING 192.168.2.5 (192.168.2.5): 56 data bytes 64 bytes from 192.168.2.5: seq=0 ttl=64 time=0.455 ms 64 bytes from 192.168.2.5: seq=1 ttl=64 time=0.341 ms 64 bytes from 192.168.2.5: seq=2 ttl=64 time=0.337 ms
--- 192.168.2.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.337/0.377/0.455 ms
But from other device connected to lan0 port I can’t do ping. More exactly, the situation is the next:
All work as expected in the next cases:
movile → tun0 (openvpn) → br-lan → lan4.1 (part of br-lan) → remote device
tablet → wlan0 (part of br-lan) → lan4.1 (part of br-lan) → remote device
It do not work as expected in the next case:
PC linux → lan0 (part of br-lan) → lan4.1 (part of br-lan) → remote device