Switch port changes on wr1043nd: port 1+2 is batman advanced, port 3+4 is for clients

This commit is contained in:
floh1111 2012-01-30 15:57:58 +00:00
parent 254154c430
commit 87db23d4a1
2 changed files with 25 additions and 2 deletions

View File

@ -1,5 +1,5 @@
config 'mesh' 'bat0'
option 'interfaces' 'wlan0-1'
option 'interfaces' 'wlan0-1 eth0.3 eth0.4'
option 'aggregated_ogms'
option 'bonding'
option 'fragmentation'

View File

@ -17,17 +17,40 @@ config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'dhcp'
config 'interface' 'ethmesh1'
option 'ifname' 'eth0.3'
option 'mtu' '1528'
config 'interface' 'ethmesh2'
option 'ifname' 'eth0.4'
option 'mtu' '1528'
config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
#3. und 4. LAN Port
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '1 2 3 4 5t'
option 'ports' '3 4 5t'
#WAN
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '2'
option 'ports' '0 5t'
#1. LAN Port
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '3'
option 'ports' '1 5t'
#2. LAN Port
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '4'
option 'ports' '2 5t'