What's new

Segment wireless into Vlans on rt-ac5300

  • 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!

k-bull

New Around Here
Hello,

I have been at it for weeks. So is time for me to post and ask for help.
I have a RT-AC5300 with Merlin 380.61 which I'll be using as an AP. As we all know, the ac5300 has 3 wireless. I need to vlan each PHYS wireless with one port each. Not virtual wireless. I was able to getting working on DD-WRT, but the throughput and wireless signal was weak. These are the ports to the router:(vlan1 are ports 1-4 of the router; eth0 is the WAN; eth1 is the 2.4Ghz wireless; eth2 is the 5Ghz-1 wireless; eth3 is the 5Ghz-2 wireless) The router also shows ports 5, 7 and 8t. I know 8t is the CPU, but I have no idea what 5 and 7 are. Maybe some one can shine some light on this as to what they are. All I know is that Port 5 gets automatically tagged once a vlan is created. As far as as the bridges is concerned, the only interface on br0 is vlan1. These are the last three configurations that I've tried out of MANY, but to no availe.

Configuration 1:

# Set up Vlan Ports
robocfg vlan 1 ports '1 5u 7 8t'
robocfg vlan 12 ports '2 8t'
robocfg vlan 13 ports '3 8t'

#Vlan 12 Work
vconfig add br0 12
ifconfig vlan12 up
brctl addbr br2
brctl addif br2 vlan12 eth1
ifconfig br2 up

#Vlan 13 Lab
vconfig add br0 13
ifconfig vlan13 up
brctl addbr br3
brctl addif br3 vlan13 eth3
ifconfig br3 up

Configuration 2:

# Set up Vlan Ports
robocfg vlan 1 ports '1 5t 7 8t'
robocfg vlan 12 ports '2 8t
robocfg vlan 13 ports '3 8t'

#Vlan 12 Work
vconfig add br0 12
ifconfig vlan12 up
brctl addbr br2
brctl addif br2 vlan12 eth1
ifconfig br2 up

#Vlan 13 Lab
vconfig add br0 13
brctl addbr br3
brctl addif br3 vlan13 eth3
ifconfig br3 up

Configuration 3:

# Set up Vlan Ports
robocfg vlan 1 ports '1 7 8t'
robocfg vlan 12 ports '2 5 8t'
robocfg vlan 13 ports '3 5 8t'

#Vlan 12 Work
vconfig add br0 12
ifconfig vlan12 up
brctl addbr br2
brctl addif br2 vlan12 eth1
ifconfig br2 up

#Vlan 13 Lab
vconfig add br0 13
ifconfig vlan13 up
brctl addbr br3
brctl addif br3 vlan13 eth3
ifconfig br3 up

The problems: Configuration 1 is that ALL wireless works on port 1 and nothing on the other ports. Configuration 2, ONLY port 1 wifi works. Nothing on the other ports. Configuration 3, port 1 wifi works; port 3, eth1 AND eth2 works. Nothing on the other ports.
I get different "working" configurations when I move and/or tag port 5 around. I did the same with port 7 but nothing seems to happens. I have replaced br0 to vlan1 as the host interface for the vlan I'm creating and I get the same results. I also tried these configurations through nvram commands and still get the same results. So, What I really want to say is.....

HELP!!!!!:):mad:o_O
 
I have a RT-AC5300 with Merlin 380.61 which I'll be using as an AP. As we all know, the ac5300 has 3 wireless. I need to vlan each PHYS wireless with one port each. Not virtual wireless.

Maybe it's better to consider the "why" first - explain more about what you're trying to accomplish here...

Then the "how" might be more clear, and folks can help with that perhaps...
 
Maybe it's better to consider the "why" first - explain more about what you're trying to accomplish here...

Then the "how" might be more clear, and folks can help with that perhaps...

The "why" is because I have three different networks with different subnets that needs wireless access. A Management network which would like to get it to work with the 5Ghz-2(eth3). The Lab network which would like to get it working with the 5Ghz-1(eth2) and the work network which would like to get it to work with the 2.4Ghz(eth1). This router is perfect for this network that I'm working with, if I can get the vlans working correctly.
 
You're probably out of scope of what this device can do in a supported manner...

Linking up SSID to VLAN can be done perhaps, but it's not a supported feature...
 
As I said before, I did get it to work with DD-WRT with simple vlaning. It was just too weak.
I figured with Merlin's version, I would've been able to accomplish this easily. Correct me if I'm wrong, but the router is able to do guest networks. And that's not too much different than what I'm trying to accomplish.
 
As I said before, I did get it to work with DD-WRT with simple vlaning. It was just too weak.
I figured with Merlin's version, I would've been able to accomplish this easily. Correct me if I'm wrong, but the router is able to do guest networks. And that's not too much different than what I'm trying to accomplish.

That's ok - DDWRT can do interesting things...

so does AsusWRT - but what you're looking for is outside the scope of AsusWRT.

Simply put...

OpenWRT can do even more perhaps...
 
To vlan ports in Rmerlin firmware is out of the scope? To my understanding, wasn't that one of the reasons rmerlin exist?
Nathan Grennan did something similar here
http://www.snbforums.com/threads/guest-vlans-over-the-network-on-asus-ac5300.29460/
The only difference is he is using virtual wireless and I want to use the interface itself.

Then follow his cookbook - and if you have problems, reach out to him. Seems like he has a handle on that particular config...

Simply put...
 
I did follow his cook book, but it seems to have all the right ingredients. But if there's somebody else out there that can help, I'd would greatly appreciate it.

Simply put...
 
To vlan ports in Rmerlin firmware is out of the scope? To my understanding, wasn't that one of the reasons rmerlin exist?
No. I've never seen anything from RMerlin to suggest that.

The primary goals of this project are to fix bugs, add a few basic features and tweaks to the original firmware. This firmware will try to remain as close as possible to the original firmware. If you are looking for a slew of advanced features, then this project is not for you. Look at TomatoUSB or DD-WRT, two excellent products that might suit your needs better.

If however you prefer something as close as possible to the manufacturer's firmware, then this is for you :)
http://www.snbforums.com/threads/asuswrt-merlin-custom-firmware-for-asus-routers.7846/
 
I did follow his cook book, but it seems to have all the right ingredients. But if there's somebody else out there that can help, I'd would greatly appreciate it.

Simply put...

Maybe this might help, as I did not see any nvram changes and n your script. Hopefully, I quoted the following thread properly:

I got it working with the following start-script

Code:
#!/bin/sh
robocfg vlan 20 ports "1t 8t"
vconfig add eth0 20
brctl delif br0 wl0.1
brctl addbr br20
brctl addif br20 vlan20
brctl addif br20 wl0.1
ifconfig vlan20 up
ifconfig br20 192.168.20.30 netmask 255.255.255.0 up
iptables -I INPUT 1 -i vlan20 -j ACCEPT
ebtables -F
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan1_ifnames="vlan20 wl0.1"
nvram set lan1_ifname="br20"
killall eapd
eapd
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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