This is a WNDR3700v2 running
I setup two vlans and port 3 (physical port 1) as the trunk:
config interface lan
option ifname eth0.2
option type bridge
option proto static
option ipaddr 192.168.2.1
option netmask 255.255.255.0
option dns 192.168.2.10
option gateway 192.168.2.2
config interface dmz
option ifname eth0.3
option type bridge
option proto static
option ipaddr 192.168.3.1
option netmask 255.255.255.0
option dns 192.168.3.10
option gateway 192.168.3.2
config switch_vlan
option device rtl8366s
option vlan 2
option ports "0 1 2 3t 5t"
config switch_vlan
option device rtl8366s
option vlan 3
option ports "3t 5t"
Here is its route table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.2 0.0.0.0 UG 0 0 0 br-lan
192.168.2.0 * 255.255.255.0 U 0 0
0 br-lan
192.168.3.0 * 255.255.255.0 U 0 0 0 br-dmz
When I connect to my switch, the switch claims it can see traffic on
vlan 2 at that port but nothing on vlan 3. What kind of traffic?
Switch would tell me the MAC it is seeing on that vlan on that port.
So, I would expect to see one MAC for vlan 2 and another for vlan 3.
And how much data has been sent (broadcast requests and other crap) in
each vlan. But I am seeing nothing at all on vlan 3 on the switch port
the openwrt router is connected to And that would explain why I can't
reach 192.168.3.1 from another machine in that vlan.
Sounds like I am doing something wrong here and I looked at
http://wiki.openwrt.org/doc/uci/network/switch and am still confused.
Could anyone shed some light here?
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users