[OpenWrt-Devel] Ethernet problems with trunk on brcm47xx
Paul Sokolovsky
pmiscml at gmail.com
Tue Jun 24 07:08:00 EDT 2014
Hello,
On Tue, 24 Jun 2014 12:08:04 +0200
Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 24 June 2014 11:23, Paul Sokolovsky <pmiscml at gmail.com> wrote:
> > config switch_vlan 'eth0_0'
> > option device 'eth0'
> > option vlan '0'
> > option ports '1 2 3 4 5'
> >
> > config switch_vlan 'eth0_1'
> > option device 'eth0'
> > option vlan '1'
> > option ports '0 5'
>
> Your CPU port is untagged, it should be:
> '1 2 3 4 5t'
> '0 5t'
> (without this CPU - or OpenWrt - doesn't know if the packet is coming
> from LAN of WAN).
Pure magic, thanks for spotting this, Rafał! I remember seeing these
"t"'s once upon a time, but I hack on OpenWRT too rarely to spot it
missing. I was reluctant to do config reset, risking losing WiFi
connection too. Will now proceed to b43 fixes testing.
>
> Also you may want to *not* use VID 0, which is a reserved value, see:
> http://en.wikipedia.org/wiki/IEEE_802.1Q
>
> In other words... I suggest deleting /etc/config/network and rebooting
> to let OpenWrt regenerate new one. Then you will have to simply
> restore your changes (hint: ipaddr).
>
> Older OpenWrt versions were using such a incomplete/invalid configs
> that don't work anymore with BB+. So sysupgrade to BB is correctly
> broken. I'll submit some RFC patch for it in a minute.
Thanks.
--
Best regards,
Paul mailto:pmiscml at gmail.com
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list