JensM
Occasional Visitor
Hi,
this is yet another vlan question. I'm using the latest Merlin (380.59) on my Asus RT-AC66U and I want to achieve a somehow trivial thing compared with other threads here. I don't need any iptv stuff and I don't need tagged vlans for other devices. Yet I fail configuring it.
The goal is to create a VLAN and assign port 4 to it. Also one of the wifi-(guest)networks should be in the same vlan. Both devices (a wired and a wireless) should see each other and access the internet. But they shall not see my main network.
My testings are based on some other threads here, most importantly this one: http://www.snbforums.com/threads/wap-guest-ssid-port-based-vlan.12750/
Here are my commands used so far:
For all tests, I use static DNS server (8.8.8.8) and are testing ping and http to domains and ipadresses, locally and in the internet.
When I put my computer to port4, without doing "brctl addif br0 vlan2", the network is dead. Cannot reach anything, neighter 192.168.1.1 nor 192.168.100.1 (and I'm also setting a random ip in the needed range manually to my network adapter) nor the internet. Yet the main network keeps working.
Things go worse when I do "brctl addif br0 vlan2". I read that from the mentioned link but don't think this is necessary since the router should NAT between WAN and LAN? However, after issuing this command, the main network also fails working. I can still ping internet-servers and the router, but only 192.168.1.1 router interface HTTP is only working, no google.com etc.
What am I doing wrong? Is there anything else I need to activate / create to have data flowing as excepted?
this is yet another vlan question. I'm using the latest Merlin (380.59) on my Asus RT-AC66U and I want to achieve a somehow trivial thing compared with other threads here. I don't need any iptv stuff and I don't need tagged vlans for other devices. Yet I fail configuring it.
The goal is to create a VLAN and assign port 4 to it. Also one of the wifi-(guest)networks should be in the same vlan. Both devices (a wired and a wireless) should see each other and access the internet. But they shall not see my main network.
My testings are based on some other threads here, most importantly this one: http://www.snbforums.com/threads/wap-guest-ssid-port-based-vlan.12750/
Here are my commands used so far:
Code:
#remove port4 from vlan1
robocfg vlan 1 ports "1 2 3 8t"
#add port4 to vlan10
robocfg vlan 10 ports "4 8t"
#create and up vlan
vconfig add eth0 10
ifconfig vlan10 up
#create new bridge br1
brctl addbr br1
#put guest 5G->#3 and vlan10 to br1
brctl delif br0 wl1.3
brctl addif br1 wl1.3
brctl addif br1 vlan10
#why should vlan2 be bound to a bridge? and why solely to br0?
#brctl addif br0 vlan2
#create interface in other ip range
ifconfig br1 192.168.100.1 netmask 255.255.255.0
ifconfig br1 up
For all tests, I use static DNS server (8.8.8.8) and are testing ping and http to domains and ipadresses, locally and in the internet.
When I put my computer to port4, without doing "brctl addif br0 vlan2", the network is dead. Cannot reach anything, neighter 192.168.1.1 nor 192.168.100.1 (and I'm also setting a random ip in the needed range manually to my network adapter) nor the internet. Yet the main network keeps working.
Things go worse when I do "brctl addif br0 vlan2". I read that from the mentioned link but don't think this is necessary since the router should NAT between WAN and LAN? However, after issuing this command, the main network also fails working. I can still ping internet-servers and the router, but only 192.168.1.1 router interface HTTP is only working, no google.com etc.
What am I doing wrong? Is there anything else I need to activate / create to have data flowing as excepted?