Hello,
I'd like to implement some vlans in my home network to isolate a few IoT type devices from the rest of the network. Sticking with the asusmerlin firmware should yield the best wifi experience because of the native drivers.
One key difference from most of the posts I've read on the topic is that the ac68u router will not be used for any dhcp, dns, nat, or any other packet/firewall processing. A separate piece of hardware running sophos utm will handle all the traffic control functions. The routers (there will be 2 or 3) will just be used for vlan and wifi purposes only.
I flashed tomato to an another 68u to get an idea of what's involved. It appears there's several definitions that are made.
On the basic settings page, several bridges are defined.
http://i.imgur.com/YO6bTtC.png
The default gateway and some dns servers are defined. I don't believe this is really necessary. Mainly I defined these so the device could set its time from an ntp server running on the UTM box. As a smart switch, the 68u really shouldn't have any need to go online. It's only purpose is to mimic a managed switch.
The Vlans are set up as follow:
http://i.imgur.com/hDdhLrz.png
vlan2 = untagged, bound to wan port on router
vlan3 = bound to ports 3 and 4, both untagged
vlan5 = bound to port 1, tagged
vlan6 = bound to port 1 and 2, only port 1 tagged, set as default vlan*
* Considering this is the default vlan, it's my understanding that should port 2 be connected to a dumb switch, all connected clients will be associated with vlan6 ?
Output from robocfg show
Questions:
1) How do I duplicate the above on the asuswrt merlin firmware?
I have some understanding of how to use the robocfg command. How is a the default vlan assigned?
2) How do I make the bridge/subnet assignments?
3) How do I bind #2 to the vlans defined in 1?
I believe that's all there's needed to have the 68u function as a smart switch?
Thanks for your help!
I'd like to implement some vlans in my home network to isolate a few IoT type devices from the rest of the network. Sticking with the asusmerlin firmware should yield the best wifi experience because of the native drivers.
One key difference from most of the posts I've read on the topic is that the ac68u router will not be used for any dhcp, dns, nat, or any other packet/firewall processing. A separate piece of hardware running sophos utm will handle all the traffic control functions. The routers (there will be 2 or 3) will just be used for vlan and wifi purposes only.
I flashed tomato to an another 68u to get an idea of what's involved. It appears there's several definitions that are made.
On the basic settings page, several bridges are defined.
http://i.imgur.com/YO6bTtC.png
The default gateway and some dns servers are defined. I don't believe this is really necessary. Mainly I defined these so the device could set its time from an ntp server running on the UTM box. As a smart switch, the 68u really shouldn't have any need to go online. It's only purpose is to mimic a managed switch.
The Vlans are set up as follow:
http://i.imgur.com/hDdhLrz.png
vlan2 = untagged, bound to wan port on router
vlan3 = bound to ports 3 and 4, both untagged
vlan5 = bound to port 1, tagged
vlan6 = bound to port 1 and 2, only port 1 tagged, set as default vlan*
* Considering this is the default vlan, it's my understanding that should port 2 be connected to a dumb switch, all connected clients will be associated with vlan6 ?
Output from robocfg show
Code:
root@unknown:/tmp/home/root# robocfg show
Switch: enabled
Port 0: DOWN enabled stp: none vlan: 2 jumbo: off mac: 00:00:00:00:00:00
Port 1: DOWN enabled stp: none vlan: 6 jumbo: off mac: 00:00:00:00:00:00
Port 2: DOWN enabled stp: none vlan: 6 jumbo: off mac: 00:00:00:00:00:00
Port 3: DOWN enabled stp: none vlan: 3 jumbo: off mac: 00:00:00:00:00:00
Port 4: DOWN enabled stp: none vlan: 3 jumbo: off mac: 00:00:00:00:00:00
Port 8: DOWN enabled stp: none vlan: 6 jumbo: off mac: 00:00:00:00:00:00
VLANs: BCM5301x enabled mac_check mac_hash
2: vlan2: 0 5t
3: vlan3: 3 4 5t
5: vlan5: 1t 5t
6: vlan6: 1t 2 5t
56: vlan56: 0t 4t 8t
57: vlan57: 1 2 4 5 7 8t
58: vlan58: 1t 2t 3 5t 7
59: vlan59: 0t 1t 3t
60: vlan60: 1t 2 3
61: vlan61: 1t 3t 5 7
62: vlan62: 0 3t 4t
Questions:
1) How do I duplicate the above on the asuswrt merlin firmware?
I have some understanding of how to use the robocfg command. How is a the default vlan assigned?
2) How do I make the bridge/subnet assignments?
3) How do I bind #2 to the vlans defined in 1?
I believe that's all there's needed to have the 68u function as a smart switch?
Thanks for your help!
Attachments
Last edited: