Have a few questions I decided to group in the same email to increase
confusion:
WL500W
1) From what I have gathered, the WL500W has the following ports:
0:
1-4: ports on the back of the switch where their numbering is reversed
from the vlan ones. On eth0.
5: the device itself
Is 0 the wan? If so, shouldn't it be on eth1?
2) In http://wiki.openwrt.org/oldwiki/OpenWrtDocs/Hardware/Asus/WL500W I see
config switch eth0
option vlan0 "0 1 2 3 4 5u"
Doesn't that mean all ports -- the 4 switch ones and the wan -- are
grouped together on the same vlan?
3) I installed ATTITUDE ADJUSTMENT (Bleeding Edge, r33324) in said
router. And have my lan in vlan ports 1, 3, and 4. I did find out that
config 'switch' 'eth0'
option vlan0 "0 1 3 4 5u"
allows me to go out from wireless (not on the same vlan as the lan) but
I cannot connect to the lan. However, if I reconfigure the network in
what I believe to be the old style format,
config 'switch' 'eth0'
option 'enable' '1'
config 'switch_vlan' 'eth0_0'
option 'device' 'eth0'
option 'vlan' '0'
option 'ports' '0 1 3 4 5u'
it works (wireless can connect to lan; lan can connect to outside). Am I
missing something here?
WRT54G
I have a v2.0 model. I did notice the layout in
http://wiki.openwrt.org/toh/linksys/wrt54g#internal.architecture does
not apply to it (swithc ports are all wrong), but those in
http://blog.torh.net/2009/07/27/openwrt-configuring-vlans-and-trunks/
are accurate. Is the drawing in the later also somewhere lost in the wiki?
VLANs
I have looked at
http://wiki.openwrt.org/doc/networking/network.interfaces#vlan.trunking
and http://wiki.openwrt.org/doc/uci
/network/switch but am still confused. Let's say I want to define the
following:
VLANS:
vlan 102 - lan
vlan 104 - dmz
Switch ports:
1:
o Trunk (can take tagged traffic from vlans 102 and 104)
SInce it is a trunk, do I specify which vlans it can handle or it
will work with any vlan defined in the router?
2, 3:
o vlan 102, untagged
4:
o vlan 104, untagged
0:
WAN
5:
Device
How would I configure that? I am not owrried about firewall rules or
anything like that.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users