What's new

Assign wan port to switch

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

fbusa2012

Occasional Visitor
I use rt-ac68u as repeater mode. I want to make use the WAN port for LAN traffic. DD-WRT has an option to 'assign WAN port to switch'. Is there an equivalent nvram , robocfg or ip command in merlin to make it happen?

Thanks
 
I use rt-ac68u as repeater mode. I want to make use the WAN port for LAN traffic. DD-WRT has an option to 'assign WAN port to switch'. Is there an equivalent nvram , robocfg or ip command in merlin to make it happen?

Thanks

I think you should be able to just remove port 0 from vlan2 and add it to vlan1

Code:
admin@ac68u:/tmp/home/root# nvram show | grep "vlan"
size: 43255 bytes (22281 left)
vlan2ports=0 5u
wl0_vlan_prio_mode=off
vlan2hwname=et0
wl_vlan_prio_mode=off
lan_ifnames=vlan1 eth1 eth2
vlan1hwname=et0
vlan1ports=1 2 3 4 5*
landevs=vlan1 wl0 wl1
wl1_vlan_prio_mode=off

vlan1ports=1 2 3 4 5*

and

vlan2ports=0 5u


Try to change vlan1ports to 0 1 2 3 4 5* and vlan2ports to 5u.

nvram set vlan1ports=0 1 2 3 4 5*
nvram set vlan2ports=5u
nvram commit

I am not sure how web gui will react to missing WAN port, but just make backup of your config before you try.
 
nvram set vlan not applicable!
because on each restart vlan sets by init script.


only robocfg in /jffs/init-start must help
 
AndreyPopov,
Do you have example of robocfg to set this up? I tried this and it did not work
robocfg switch disable vlan 1 "0 1 2 3 4 5t" switch enable

Thanks
 
I have an answer, not for any uploaded Merlin firmware, but rather for the built-in Asus firmware.
I was originally in "Wireless Router" mode, as per factory default. I tried disabling WAN altogether,
and also NAT. That just made the WAN port entirely unresponsive.
Then I changed the major 'Operating mode' to "Access Point", and the WAN tab of the menu disappeared.
From then on, the WAN port of the device behaves as if it's parallel with the 8 LAN ports.
 

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