[FS#612] WAN to LAN leakage on MT7620 devices

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Aug 6 06:15:25 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#612 - WAN to LAN leakage on MT7620 devices
User who did this - Mikael Broström (sweroam-mibr)

----------
I have this issue also, and also a other problem.  the default port-map like llllw or wllll etc will create leak between lan ports also. 
causing loops, err-disabled or spanning-tree issues.  

I use some port as trunk ports later in openwrt... 

i wrote a test patch to the driver that does the following config instead of dts wllll or llllw etc..:
enable_vlan=1
port0=vlan0
port1=vlan1
port2=vlan2
port3=vlan3
port4=vlan4
port5=vlan5
port6=vlan6
port7=vlan7
....
portX=vlanX
....

this is the result that openwrt gets before the switch is initialized..

result:
/ # swconfig dev switch0 show|grep -e link -e pvid -e vlan
 enable_vlan: 1
 pvid: 0
 link: port:0 link:down
 pvid: 1
 link: port:1 link:down
 pvid: 2
 link: port:2 link:down
 pvid: 3
 link: port:3 link:down
 pvid: 4
 link: port:4 link:down
 pvid: 5
 link: port:5 link:down
 pvid: 6
 link: port:6 link:up speed:1000baseT full-duplex 
 pvid: 7
 link: port:7 link:down

it works well to prevent leak between all ports on init (fixes: lan to wan lek, lan to lan leak)

i then let openwrt initialize the switch using my configuration.. with correct cpu port and config.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=612#comment8638

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list