Mesh Node With VLANs and VSSID on Service Set
From wiliGear wiki
Description
For mesh networks, sometimes it is desirable to have different types of traffic on one physical service set. This is possible by using VSSIDs to create logical wireless interfaces on one physical interface. Along with VSSIDs, VLAN interfaces may be created and joined with the VSSIDs in a separate bridge so the traffic is separated into different networks.
Configuration Sample
################################# # Configuration created by mattttt # Skin: wili-mesh, version: 0.3.15466 # Firmware: WILI-MESH.AP1000.v5.01.xscale.wili-mesh.15466.070612.1424 # Generated on 1970-01-01 01:14:33 UTC ################################# # # Section: autolock autolock.control.1.devname=ath2 autolock.control.1.status=enabled autolock.control.2.devname=ms1 autolock.control.2.status=enabled autolock.interval=0 autolock.lock.action=down autolock.retry_count=0 autolock.status=enabled autolock.unlock.action=up autolock.verbose=enabled # # Section: bridge bridge.1.ageing=300 bridge.1.devname=br0 bridge.1.fd=1 bridge.1.hello=20 bridge.1.maxage=300 bridge.1.port.1.devname=ixp1 bridge.1.port.1.status=enabled bridge.1.port.2.devname=ixp0 bridge.1.port.2.status=enabled bridge.1.port.3.devname=ath0 bridge.1.port.3.status=enabled bridge.1.port.4.devname=ath1 bridge.1.port.4.status=enabled bridge.1.port.5.devname=ath2 bridge.1.port.5.status=disabled bridge.1.priority=2 bridge.1.status=enabled bridge.1.stp.status=disabled # BRIDGE for VLAN 100 & ath2 bridge.2.fd=1 bridge.2.devname=br1 bridge.2.port.1.devname=ath1.100 bridge.2.port.1.status=enabled bridge.2.port.2.devname=ath0.100 bridge.2.port.2.status=enabled bridge.2.port.3.devname=ath2 bridge.2.port.3.status=enabled bridge.2.status=enabled bridge.2.stp.status=enabled # BRIDGE for VLAN 101 & ms1 bridge.3.fd=1 bridge.3.devname=br2 bridge.3.port.1.devname=ath1.101 bridge.3.port.1.status=enabled bridge.3.port.2.devname=ath0.101 bridge.3.port.2.status=enabled bridge.3.port.3.devname=ms1 bridge.3.port.3.status=enabled bridge.3.status=enabled bridge.3.stp.status=enabled bridge.status=enabled # # Section: dhcpc dhcpc.1.devname=br0 dhcpc.1.status=enabled dhcpc.2.devname=br2 dhcpc.2.status=disabled dhcpc.status=enabled # # Section: discoveryd discoveryd.status=enabled # # Section: ebtables ebtables.rule.1.chain=BROUTING ebtables.rule.1.protocol=0x888e ebtables.rule.1.status=enabled ebtables.rule.1.table=broute ebtables.rule.1.target=DROP # drop VLAN 100 from bridge ebtables.rule.2.chain=BROUTING ebtables.rule.2.protocol=0x8100 ebtables.rule.2.status=enabled ebtables.rule.2.table=broute ebtables.rule.2.target=DROP ebtables.rule.2.vlan.id=100 # drop VLAN 101 from bridge ebtables.rule.3.chain=BROUTING ebtables.rule.3.protocol=0x8100 ebtables.rule.3.status=enabled ebtables.rule.3.table=broute ebtables.rule.3.target=DROP ebtables.rule.3.vlan.id=101 ebtables.status=enabled # # Section: httpd httpd.backlog=100 httpd.external.status=disabled httpd.max.connections=50 httpd.max.request=51200 httpd.port.admin=444 httpd.port.http=80 httpd.port.https=443 httpd.status=enabled httpd.verbose=disabled # # Section: mesh mesh.downlink.1.devname=ath0 mesh.downlink.1.status=enabled mesh.ssid=DLB-MESH mesh.ssid.is_hex=disabled mesh.status=enabled mesh.uplink.1.devname=ath1 mesh.uplink.1.status=enabled # # Section: netconf netconf.1.devname=br0 netconf.1.ip=192.168.2.66 netconf.1.mode=lan netconf.1.netmask=255.255.255.0 netconf.1.status=enabled netconf.1.type=bridge netconf.1.up=enabled netconf.2.devname=ixp1 netconf.2.ip=0.0.0.0 netconf.2.mode=wan netconf.2.netmask=255.255.255.255 netconf.2.status=enabled netconf.2.type=ethernet netconf.2.up=enabled netconf.3.devname=ixp0 netconf.3.ip=0.0.0.0 netconf.3.mode=lan netconf.3.netmask=255.255.255.255 netconf.3.status=enabled netconf.3.type=ethernet netconf.3.up=enabled netconf.4.devname=ath0 netconf.4.ip=0.0.0.0 netconf.4.mode=lan netconf.4.netmask=255.255.255.255 netconf.4.status=enabled netconf.4.type=wireless netconf.4.up=enabled netconf.5.devname=ath1 netconf.5.ip=0.0.0.0 netconf.5.mode=lan netconf.5.netmask=255.255.255.255 netconf.5.status=enabled netconf.5.type=wireless netconf.5.up=enabled netconf.6.devname=ath2 netconf.6.ip=0.0.0.0 netconf.6.mode=lan netconf.6.netmask=255.255.255.255 netconf.6.status=enabled netconf.6.type=wireless netconf.6.up=enabled netconf.7.devname=ath0.100 netconf.7.ip=0.0.0.0 netconf.7.mode=lan netconf.7.netmask=255.255.255.0 netconf.7.status=enabled netconf.7.type=ethernet netconf.7.up=enabled netconf.8.devname=br1 netconf.8.ip=10.15.0.2 netconf.8.mode=lan netconf.8.netmask=255.255.252.0 netconf.8.status=enabled netconf.8.type=bridge netconf.8.up=enabled netconf.9.devname=ath1.100 netconf.9.ip=0.0.0.0 netconf.9.mode=lan netconf.9.netmask=255.255.255.0 netconf.9.status=enabled netconf.9.type=ethernet netconf.9.up=enabled netconf.10.devname=ms1 netconf.10.ip=0.0.0.0 netconf.10.mode=lan netconf.10.netmask=255.255.255.255 netconf.10.status=enabled netconf.10.type=wireless netconf.10.up=enabled netconf.11.devname=ath0.101 netconf.11.ip=0.0.0.0 netconf.11.mode=lan netconf.11.netmask=255.255.255.0 netconf.11.status=enabled netconf.11.type=ethernet netconf.11.up=enabled netconf.12.devname=br2 netconf.12.ip=192.168.2.66 netconf.12.mode=lan netconf.12.netmask=255.255.255.0 netconf.12.status=enabled netconf.12.type=bridge netconf.12.up=enabled netconf.13.devname=ath1.101 netconf.13.ip=0.0.0.0 netconf.13.mode=lan netconf.13.netmask=255.255.255.0 netconf.13.status=enabled netconf.13.type=ethernet netconf.13.up=enabled netconf.status=enabled # # Section: radio radio.1.autochannel.1.channel=36 radio.1.autochannel.1.status=enabled radio.1.autochannel.10.channel=153 radio.1.autochannel.10.status=enabled radio.1.autochannel.11.channel=157 radio.1.autochannel.11.status=disabled radio.1.autochannel.12.channel=161 radio.1.autochannel.12.status=disabled radio.1.autochannel.13.channel=165 radio.1.autochannel.13.status=disabled radio.1.autochannel.2.channel=40 radio.1.autochannel.2.status=enabled radio.1.autochannel.3.channel=44 radio.1.autochannel.3.status=enabled radio.1.autochannel.4.channel=48 radio.1.autochannel.4.status=enabled radio.1.autochannel.5.channel=52 radio.1.autochannel.5.status=enabled radio.1.autochannel.6.channel=56 radio.1.autochannel.6.status=enabled radio.1.autochannel.7.channel=60 radio.1.autochannel.7.status=enabled radio.1.autochannel.8.channel=64 radio.1.autochannel.8.status=enabled radio.1.autochannel.9.channel=149 radio.1.autochannel.9.status=enabled radio.1.autochannel.status=disabled radio.1.channel=161 radio.1.devname=ath0 radio.1.frag=off radio.1.ieee_mode=A radio.1.mode=master radio.1.rate.auto=enabled radio.1.rate.max=54M radio.1.rts=off radio.1.status=enabled radio.1.turbo=disabled radio.1.txpower=20 radio.1.tx_antenna=1 radio.1.rx_antenna=1 radio.1.tx_antenna_diversity=disabled radio.1.rx_antenna_diversity=disabled radio.2.autochannel.status=disabled radio.2.channel=0 radio.2.devname=ath1 radio.2.frag=off radio.2.ieee_mode=A radio.2.mode=managed radio.2.rate.auto=enabled radio.2.rate.max=54M radio.2.rts=off radio.2.status=enabled radio.2.turbo=disabled radio.2.txpower=20 radio.2.tx_antenna=1 radio.2.rx_antenna=1 radio.2.tx_antenna_diversity=disabled radio.2.rx_antenna_diversity=disabled radio.3.autochannel.1.channel=1 radio.3.autochannel.1.status=enabled radio.3.autochannel.10.channel=10 radio.3.autochannel.10.status=enabled radio.3.autochannel.11.channel=11 radio.3.autochannel.11.status=enabled radio.3.autochannel.12.channel=36 radio.3.autochannel.12.status=enabled radio.3.autochannel.13.channel=40 radio.3.autochannel.13.status=enabled radio.3.autochannel.14.channel=42 radio.3.autochannel.14.status=enabled radio.3.autochannel.15.channel=44 radio.3.autochannel.15.status=enabled radio.3.autochannel.16.channel=48 radio.3.autochannel.16.status=enabled radio.3.autochannel.17.channel=50 radio.3.autochannel.17.status=enabled radio.3.autochannel.18.channel=52 radio.3.autochannel.18.status=enabled radio.3.autochannel.19.channel=56 radio.3.autochannel.19.status=enabled radio.3.autochannel.2.channel=2 radio.3.autochannel.2.status=enabled radio.3.autochannel.20.channel=58 radio.3.autochannel.20.status=enabled radio.3.autochannel.21.channel=60 radio.3.autochannel.21.status=enabled radio.3.autochannel.22.channel=64 radio.3.autochannel.22.status=enabled radio.3.autochannel.23.channel=149 radio.3.autochannel.23.status=enabled radio.3.autochannel.24.channel=152 radio.3.autochannel.24.status=enabled radio.3.autochannel.25.channel=153 radio.3.autochannel.25.status=enabled radio.3.autochannel.26.channel=157 radio.3.autochannel.26.status=enabled radio.3.autochannel.27.channel=160 radio.3.autochannel.27.status=enabled radio.3.autochannel.28.channel=161 radio.3.autochannel.28.status=enabled radio.3.autochannel.29.channel=165 radio.3.autochannel.29.status=enabled radio.3.autochannel.3.channel=3 radio.3.autochannel.3.status=enabled radio.3.autochannel.4.channel=4 radio.3.autochannel.4.status=enabled radio.3.autochannel.5.channel=5 radio.3.autochannel.5.status=enabled radio.3.autochannel.6.channel=6 radio.3.autochannel.6.status=enabled radio.3.autochannel.7.channel=7 radio.3.autochannel.7.status=enabled radio.3.autochannel.8.channel=8 radio.3.autochannel.8.status=enabled radio.3.autochannel.9.channel=9 radio.3.autochannel.9.status=enabled radio.3.autochannel.status=disabled radio.3.channel=0 radio.3.devname=ath2 radio.3.frag=off radio.3.ieee_mode=auto radio.3.mode=master radio.3.rate.auto=enabled radio.3.rate.max=54M radio.3.rts=off radio.3.status=enabled radio.3.turbo=disabled radio.3.txpower=20 #radio.3.rx_antenna=1 radio.3.rx_antenna_diversity=enabled #radio.3.tx_antenna=1 radio.3.tx_antenna_diversity=enabled radio.countrycode=US radio.outdoor=1 radio.status=enabled # # Section: resolv resolv.status=enabled # # Section: route route.1.devname=br0 route.1.gateway=10.0.1.1 route.1.ip=0.0.0.0 route.1.netmask=0 route.1.status=enabled route.status=enabled # # Section: skin skin.active=wili-mesh skin.version=0.3.15466 # # Section: snmpd snmpd.contact=contact snmpd.location=location snmpd.name=DVP - Node (Office) snmpd.rocommunity=public snmpd.ropassword=password snmpd.rouser=public snmpd.status=enabled # # Section: sshd sshd.port=22 sshd.status=enabled # # Section: syslog syslog.file=/var/log/messages syslog.file.msg.level=info syslog.file.umask=077 syslog.fwd=disabled syslog.fwd.msg.level=info syslog.fwd.status=disabled syslog.rotate=true syslog.rotate.at_size=102400 syslog.status=enabled # # Section: users users.1.name=admin users.1.password=oHSl3yqR.t1uQ users.1.status=enabled users.status=enabled # CREATE VLANS 100 and 101 on ath1 and ath1 # Need this on uplink/downlink of every node vlan.status=enabled vlan.1.status=enabled vlan.1.parent=ath0 vlan.1.id=100 vlan.2.status=enabled vlan.2.parent=ath1 vlan.2.id=100 vlan.3.status=enabled vlan.3.parent=ath0 vlan.3.id=101 vlan.4.status=enabled vlan.4.parent=ath1 vlan.4.id=101 # # Section: vssid vssid.status=enabled # VSSID of ms1 on service set vssid.1.devname=ms1 vssid.1.mode=master vssid.1.parent=ath2 vssid.1.status=enabled # # Section: wireless wireless.1.compression=enabled wireless.1.devname=ath0 wireless.1.fastframes=enabled wireless.1.frameburst=enabled wireless.1.max_clients=64 wireless.1.ssid=downlink-DLB-MESH wireless.1.ssid_broadcast=enabled wireless.1.status=enabled wireless.1.wmm=enabled wireless.2.compression=enabled wireless.2.devname=ath1 wireless.2.fastframes=enabled wireless.2.frameburst=enabled wireless.2.max_clients=64 wireless.2.ssid=uplink-DLB-MESH wireless.2.status=enabled wireless.2.wmm=enabled wireless.3.compression=enabled wireless.3.devname=ath2 wireless.3.fastframes=enabled wireless.3.frameburst=enabled wireless.3.l2_isolation=disabled wireless.3.max_clients=64 wireless.3.security=none wireless.3.ssid=DVP-Hotspot wireless.3.ssid_broadcast=enabled wireless.3.status=enabled wireless.3.wmm=enabled # VSSID wireless settings wireless.4.compression=disabled wireless.4.devname=ms1 wireless.4.fastframes=disabled wireless.4.frameburst=disabled wireless.4.l2_isolation=disabled wireless.4.max_clients=64 wireless.4.security=none wireless.4.ssid=Deliberant wireless.4.ssid_broadcast=enabled wireless.4.status=enabled wireless.4.wmm=enabled wireless.status=enabled
