I have a DIR-615 running 14.07.  I have the switch configured as such:

VLAN 1:
        vid: 1
        ports: 0t 1t 2 3 4t 
VLAN 2:
        vid: 100
        ports: 0t 1t 4t 

When I plug a machine into port 2 of the router (which is port 3 of the
switch) and try to ping something that is on vlan 1 I can see by
monitoring (i.e. wireshark) what is being sent out on port 4 (port 1 of
the switch) that the vlan 1 traffic (i.e. the ARPs to resolve the
Ethernet address of what I am trying to ping via port 2) is actually
being tagged for vlan "0".

Do I have something wrong in my switch configuration?  Here is my full
network configuration:

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 1t 2 3 4t'

config interface 'guest'
        option type 'bridge'
        option _orig_ifname 'wlan0-1'
        option _orig_bridge 'true'
        option proto 'static'
        option ipaddr '192.168.101.160'
        option netmask '255.255.255.0'
        option gateway '192.168.101.254'
        option ifname 'eth0.100'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option vid '100'
        option ports '0t 1t 4t'

Any thoughts?  Is my configuration at least right/wrong?

b.

Attachment: 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

Reply via email to