What's new

Asus Merlin Firmware and VLans

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

TyraelAC

Occasional Visitor
Hello everybody,

I want to build up for lab and research purposes Vlans in my Network. For this purpose i bought a TL-SG108E smart switch. On the UI of the Router (ASUS RT-ac68u) I did not find any VLAN settings. I googled a little and found out that you can set some kind of VLAN in the IPTV Setting Interface. But it seems to me that I can only assign 2 VLAN's to Ethernet port 3 and 4.

How or where can I set up different VLANs and one of the Ethernet Ports to Trunk mode? Is it even possible with the RT-ac68U?

Kind regards,

TyraelAC
 
Not possible through the webui, you will have to tinker at the shell level.
 
Hello Merlin,

thank you very much for you response. Good to know it. I will tinker around than.

Kind regards
 
Hello folks,

i tinkered a lot with my RT-Ac68u router. First I tried with Merlins firmware to make vlans, but i failed.
I got Vlans running with dd-wrt ( Tutorial http://www.dd-wrt.com/wiki/index.php/VLAN_Detached_Networks_%28Separate_Networks_With_Internet%29).

But I am really missing the built in features and performance of Merlins firmware and still want to realise vlans with Merlins firmware

I used this commands in the shell:
nvram set vlan6ports="4t 5"
nvram set vlan7ports="4t 5"
nvram set vlan8ports="4t 5"
nvram set vlan9ports="4t 5"
nvram set vlan10ports="4t 5"
nvram set vlan11ports="4t 5"
nvram set vlan12ports="4t 5"
nvram set vlan13ports="4t 5"
nvram set vlan14ports="4t 5"
nvram set vlan15ports="4t 5"
nvram set vlan6hwname=et0
nvram set vlan7hwname=et0
nvram set vlan8hwname=et0
nvram set vlan9hwname=et0
nvram set vlan10hwname=et0
nvram set vlan11hwname=et0
nvram set vlan12hwname=et0
nvram set vlan13hwname=et0
nvram set vlan14hwname=et0
nvram set vlan15hwname=et0
nvram commit
reboot

I used this in a script:'
#!/bin/ash
ifconfig vlan6 192.168.6.1 netmask 255.255.255.0
ifconfig vlan7 192.168.7.1 netmask 255.255.255.0
ifconfig vlan8 192.168.8.1 netmask 255.255.255.0
ifconfig vlan9 192.168.9.1 netmask 255.255.255.0
ifconfig vlan10 192.168.10.1 netmask 255.255.255.0
ifconfig vlan11 192.168.11.1 netmask 255.255.255.0
ifconfig vlan12 192.168.12.1 netmask 255.255.255.0
ifconfig vlan13 192.168.13.1 netmask 255.255.255.0
ifconfig vlan14 192.168.14.1 netmask 255.255.255.0
ifconfig vlan15 192.168.15.1 netmask 255.255.255.0
ifconfig vlan6 up
ifconfig vlan7 up
ifconfig vlan8 up
ifconfig vlan9 up
ifconfig vlan10 up
ifconfig vlan11 up
ifconfig vlan12 up
ifconfig vlan13 up
ifconfig vlan14 up
ifconfig vlan15 up
iptables -I FORWARD -i vlan+ -o vlan+ -j DROP
iptables -I FORWARD -i vlan+ -o vlan2 -j ACCEPT
iptables -I FORWARD -i vlan2 -o vlan+ -j ACCEPT
'
What am I missing here to get vlans working?

I also recognized nvram show | grep vlan.*ports is working but nvram show | grep port.*vlans not.
Is this command not possible on Merlin Firmware?

Also when I use robocfg show it shows this vlans:
56: vlan56: 0t 1 2 3 4t 5 7 8t
57: vlan57: 0 1 2t 3t 4 5 7 8t
58: vlan58: 3 5 7 8u
59: vlan59: 0 1t 4 5t 8u
60: vlan60: 1t 2 3 4t 5 8t
61: vlan61: 0 1t 3t 5 8u
62: vlan62: 5

For what communication are these ones?

Kind regards

Tyrael
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top