Hi,

On Sun, Apr 12, 2015 at 9:58 PM, Brian J. Murrell <[email protected]> wrote:
> I have the following network configuration on my dir-615:
>
> config interface 'loopback'
>         option ifname 'lo'
>         option proto 'static'
>         option ipaddr '127.0.0.1'
>         option netmask '255.0.0.0'
>
> config interface 'lan'
>         option type 'bridge'
>         option _orig_ifname 'eth0 radio0.network1'
>         option _orig_bridge 'true'
>         option proto 'dhcp'
>         option hostname 'wireless'
>         option ifname 'eth0.1'
>
> config interface 'wan'
>         option ifname 'eth1'
>         option proto 'dhcp'
>
> config switch
>         option reset '1'
>         option enable_vlan '1'
>         option name 'switch0'
>
> config switch_vlan
>         option vlan '1'
>         option vid '1'
>         option device 'switch0'
>         option ports '0t 1 2 3 4'
>
> config interface 'guest'
>         option type 'bridge'
>         option _orig_ifname 'wlan0-1'
>         option _orig_bridge 'true'
>         option ifname 'eth0.100'
>         option proto 'static'
>         option ipaddr '192.168.101.160'
>         option netmask '255.255.255.0'
>         option gateway '192.168.101.254'
>
> config switch_vlan
>         option device 'switch0'
>         option vlan '2'
>         option ports '0t 1t'
>         option vid '100'
>
> As far as I can tell, that should give me VLAN 1 (lan) on switch port 1
> untagged and VLAN 100 (guest) on port 1 tagged.  Am I correct so far?
>
> The problem is that I am not getting what the above describes.  Instead
> what I am getting is both VLAN 100 and VLAN 1 traffic tagged on switch
> port 1 and no untagged traffic.
>
> Any ideas why?  Have I done something incorrectly?

Guessing from the cpu port at 0 I assume this is an ar71xx based
DIR-615, with either ar8216 or the integrated switch of ar7240. I'm
afraid to tell you, but neither of them supports mixed (i.e. tagged
and untagged) traffic at the same port. So you aren't doing anything
wrong, it's just a limitation of the hardware.


Regards
Jonas
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to