[LEDE-DEV] tagged vlans on a TP-Link 841n v9
Tobias Klaus
tk at meskal.net
Mon Jun 19 11:20:00 PDT 2017
Hey yanosz,
I never really investigated this issue but, all switches built into the WR841s
I used so far (I am pretty sure this includes v9) haven't been capable to mix
tagged and untagged vlans on the same port. Instead all vlans on the
particular port are silently "upgraded" to tagged vlans(this could be a way to
unbrick your device).
According to your screenshot and /etc/config/network you tried to do exactly
that. Depending on how many tagged/untagged ports you need one work-around for
me was to use the WAN-Port for this combination, which works quite good.
If you need more mixed ports you maybe better off with a 1043nd as already
suggested, since its switch is capable of mixing tagged and untagged traffic.
Cheers,
Tobias
Am Montag, 19. Juni 2017, 18:57:46 CEST schrieb yanosz:
> Hello,
>
> here we go - the system is no longer reachable using IPv6 link local or
> 192.168.1.1.
>
> I changed the swtich configuration, only.
>
> Screenshot:
> http://jluehr.de/owncloud/index.php/s/DtjWvXzhQV30FbM
>
> /etc/config/network
>
> config interface 'loopback'
> option ifname 'lo'
> option proto 'static'
> option ipaddr '127.0.0.1'
> option netmask '255.0.0.0'
>
> config globals 'globals'
> option ula_prefix 'fd92:ca4c:8920::/48'
>
> config interface 'lan'
> option type 'bridge'
> option ifname 'eth0'
> option proto 'static'
> option ipaddr '192.168.1.1'
> option netmask '255.255.255.0'
> option ip6assign '60'
>
> config interface 'wan'
> option ifname 'eth1'
> option proto 'dhcp'
>
> config interface 'wan6'
> option ifname 'eth1'
> option proto 'dhcpv6'
>
> config switch
> option name 'switch0'
> option reset '1'
> option enable_vlan '1'
>
> config switch_vlan
> option device 'switch0'
> option vlan '1'
> option ports '0 1 2 3 4'
> option vid '1'
>
> config switch_vlan
> option device 'switch0'
> option vlan '2'
> option ports '0t 1t 2t 3t 4t'
> option vid '23'
>
> Am 06/19/2017 um 09:03 AM schrieb Jo-Philipp Wich:
> > Hi.
> >
> > Please make a screenshot of your settings or paste the generated
> > /etc/config/network here.
> >
> > Also consider doing the switch config via wireless, this allows for
> > simpler recovery after a config mistake.
> >
> > ~ Jo
> >
> > _______________________________________________
> > Lede-dev mailing list
> > Lede-dev at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/lede-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170619/e3bc9619/attachment-0001.sig>
More information about the Lede-dev
mailing list