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?
Cheers,
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
