The hardware only has one wired and one wireless nic.
As such the best you can do is turn of bridging and stick each
external port in it's own vlan.
The cpu eth0 port will still have to be tagged of course.
On a configured system, the vlan configuration is in:
/proc/switch/eth0/vlan/*/ports
You'd want to end up with
/proc/switch/eth0/vlan/0/ports = '5t*'
/proc/switch/eth0/vlan/1/ports = '4 5t'
/proc/switch/eth0/vlan/2/ports = '3 5t'
/proc/switch/eth0/vlan/3/ports = '2 5t'
/proc/switch/eth0/vlan/4/ports = '1 5t'
/proc/switch/eth0/vlan/5/ports = '0 5t'
which would give you interfaces eth0 and eth0.0 through eth0.5,
although you might have to add them by hand,
normally you'd use "ip link add link eth0 name eth0.X type vlan" for
this, but this doesn't seem to work on the ancient version of iproute
I have...
This translates to:
/etc/config/network
#### VLAN configuration
config switch eth0
option vlan0 "5*"
option vlan1 "4 5"
option vlan2 "3 5"
option vlan3 "2 5"
option vlan4 "1 5"
option vlan5 "0 5"
#### LAN configuration
config interface lan
option type bridge <-- this probably needs to be changed
to get rid of bridge of wireless
Anyway, hopefully this will help a little...
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users