[OpenWrt-Devel] [PATCH v2] gemini: Bring up DSA switches

Pawel Dembicki paweldembicki at gmail.com
Sun Jul 14 11:15:50 EDT 2019


On 14.07.2019 15:50, Linus Walleij wrote:

> +storlink,gemini324)
> +	# These are all connected to eth1 thru VSC7385
> +	ucidef_set_interface "eth" ifname "eth1" protocol "none"
> +	ucidef_set_interfaces_lan_wan "eth1 lan1 lan2 lan3 lan4" "eth0"
> +	;;

and:

> +itian,sq201)
> +	# These are all connected to eth1 thru VSC7395
> +	ucidef_set_interface "eth" ifname "eth1" protocol "none"
> +	ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
> +	;;

Hi Linus,

I can't reproduce working state on P2020RDB with this two methods.
In my device work this sequence:

ip link set eth0 up
ip link set lan1 up
ip link set lan2 up
ip link set lan3 up
ip link set lan4 up
ip link add name br-lan type bridge
ip link set dev lan1 master br-lan
ip link set dev lan2 master br-lan
ip link set dev lan3 master br-lan
ip link set dev lan4 master br-lan
ip addr add 192.168.1.1/24 dev br-lan
ip link set dev br-lan up
ip link set dev eth0 master br-lan

I think, vsc73xx without vlan filtering is very tricky now.

Best Regards,
Pawel Dembicki

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list