What's new
  • 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!

Second WAN

giplet

New Around Here
So I'm continuing my experiments with my ASUS N66U. Sorry for posting stupid questions.

I'm trying to set up a second WAN that I get from a VLAN on my regular WAN-port. There should be a DHCP-server handing out IP addresses on that VLAN. I do the following through SSH for now.

Code:
robocfg vlan 845 ports "0t 8t"
vconfig add eth0 845
ifconfig vlan845 up

Everything is accepted and ifconfig looks correct after everything is done, except that I didn't get an IP address for the 845 VLAN. I'm expecting vlan845 to get an IP address. But maybe my expectations are wrong?
 
1. you want second wan on same wan port?

2. or may be you want use one of lan ports for second wan?

if first - on port can exist one untagged vlan or multiple tagged vlans

then you must set you primary wan's vlan also as tagged!
 
1. you want second wan on same wan port?

2. or may be you want use one of lan ports for second wan?

if first - on port can exist one untagged vlan or multiple tagged vlans

then you must set you primary wan's vlan also as tagged!

Yes, it's 1, both newtworks on WAN.

robocfg show looks like this by default
Code:
Switch: enabled gigabit
Port 0: 1000FD enabled stp: none vlan: 2 jumbo: off mac: 00:26:0b:dd:93:c0
Port 1: 1000FD enabled stp: none vlan: 1 jumbo: off mac: d4:3d:7e:19:79:27
Port 2:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 3:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 4:   DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: 40:16:7e:ea:b8:30
VLANs: BCM53115 enabled mac_check mac_hash
   1: vlan1: 1 2 3 4 8t
   2: vlan2: 0 8u

So by default there are both taged and untaged trafic going to the internal port 8. Now that I look at it, it doesn't make sense, untaged means default vlan which is 1. So how does the internal port destinguish the two?

What should the robocfg show look like in your oppinion?


I noticed that with my old sequence I get RX packets on VLAN 845. Is that an indication that there is some activity on VLAN 845, or could that be generated some other way?
 
port is cpu - it must accept both tagged and untagged packets!

if you want use on same wan port to vlans - you must FIRST make vlan2 tagged.

may be best choice use DualWan feature of firmware?
 
udhcpc -i vlan?

Thanks for trying to help everyone! I'm learning a lot. After some reading up I think this might be what I'm missing.

Unfortunately my RT-N66U router seems to have given up. First I couldn't save any settings in the web UI. I restarted the router because I feared me playing in the shell had messed something up. Now it goes directly to recovery mode. I have tried resetting the nvram settings both with the wps button and through the recovery webpage and I have also tried uploading a new firmware through the recovery page and the tool from Asus, but no luck. :(
 

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!
Back
Top