ac1450 kong's build vlan tagging question

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
carilwang
DD-WRT Novice


Joined: 27 Sep 2014
Posts: 11

PostPosted: Tue Feb 13, 2018 6:24    Post subject: ac1450 kong's build vlan tagging question Reply with quote
I am kong's firmware for ac1450. I want to set port 3 to use vlan 3 and vlan1. Vlan1 and vlan3 will have different subnet. I connected with ubquiti unifi ac pro, and have one guest network to use vlan 3, it works fine. However, when I try to connect my macbook ethernet port to the switch, the macbook can't get ip. Anything I did wrong?


Screen Shot 2018-02-12 at 10.20.03 PM.png
 Description:
 Filesize:  24.58 KB
 Viewed:  2183 Time(s)

Screen Shot 2018-02-12 at 10.20.03 PM.png



Screen Shot 2018-02-12 at 10.18.40 PM.png
 Description:
 Filesize:  55.91 KB
 Viewed:  2183 Time(s)

Screen Shot 2018-02-12 at 10.18.40 PM.png



Screen Shot 2018-02-12 at 10.19.55 PM.png
 Description:
 Filesize:  43.92 KB
 Viewed:  2183 Time(s)

Screen Shot 2018-02-12 at 10.19.55 PM.png


Sponsor
Picchioni
DD-WRT User


Joined: 20 Sep 2006
Posts: 120

PostPosted: Tue Feb 13, 2018 19:53    Post subject: Reply with quote
I've found the GUI to be mostly useless for 802.1q (vlan tagging/trunk port assignment). You need to set vlan data via cmd line. I roughly followed this to get vlans working properly on my R7000s: https://www.dd-wrt.com/wiki/index.php/Switched_Ports
carilwang
DD-WRT Novice


Joined: 27 Sep 2014
Posts: 11

PostPosted: Wed Feb 14, 2018 0:56    Post subject: Reply with quote
Picchioni wrote:
I've found the GUI to be mostly useless for 802.1q (vlan tagging/trunk port assignment). You need to set vlan data via cmd line. I roughly followed this to get vlans working properly on my R7000s: https://www.dd-wrt.com/wiki/index.php/Switched_Ports


THanks, I will try it
carilwang
DD-WRT Novice


Joined: 27 Sep 2014
Posts: 11

PostPosted: Wed Feb 14, 2018 6:20    Post subject: Reply with quote
carilwang wrote:
Picchioni wrote:
I've found the GUI to be mostly useless for 802.1q (vlan tagging/trunk port assignment). You need to set vlan data via cmd line. I roughly followed this to get vlans working properly on my R7000s: https://www.dd-wrt.com/wiki/index.php/Switched_Ports


THanks, I will try it


The nvram set doesn't work for me

Here is what I did

This is the original settings
root@DD-WRT:~# nvram show | grep vlan.*ports
size: 45247 bytes (20289 left)
vlan2ports=4 5u
vlan1ports=3 2 1 0 5*
root@DD-WRT:~# nvram show | grep port.*vlans
size: 45247 bytes (20289 left)
port5vlans=1 2 16
port3vlans=1 18 19 21
port1vlans=1 18 19 21
port4vlans=1 18 19 21
port2vlans=1 18 19 21
port0vlans=2 18 19 21
root@DD-WRT:~# nvram show | grep vlan.*hwname
size: 45247 bytes (20289 left)
vlan2hwname=et0
vlan1hwname=et0

I entered these commands

root@DD-WRT:~# nvram set 'vlan3ports=3t 5u'
root@DD-WRT:~# nvram set 'port3vlans=1 3 16 18 19 21'
root@DD-WRT:~# nvram set 'vlan3hwname=et0'

here is the final settings

root@DD-WRT:~# nvram show | grep vlan.*ports
size: 45313 bytes (20223 left)
vlan2ports=4 5u
vlan3ports=3t 5u
vlan1ports=3 2 1 0 5*
root@DD-WRT:~# nvram show | grep port.*vlans
size: 45313 bytes (20223 left)
port5vlans=1 2 3 16
port3vlans=1 3 16 18 19 21
port1vlans=1 18 19 21
port4vlans=1 18 19 21
port2vlans=1 18 19 21
port0vlans=2 18 19 21
root@DD-WRT:~# nvram show | grep vlan.*hwname
vlan3hwname=et0
size: 45313 bytes (20223 left)
vlan2hwname=et0
vlan1hwname=et0

Same result as what I did in the web gui, I did try to use nvram set 'vlan3ports=3t 5' instead of nvram set 'vlan3ports=3t 5u', no luck.

When I plug the macbook to the switches that connected to port3, no luck. But the unifi ap is working. Not sure what happened. Does my computer/wired devices need some hardware requirement?
carilwang
DD-WRT Novice


Joined: 27 Sep 2014
Posts: 11

PostPosted: Wed Feb 14, 2018 6:38    Post subject: Reply with quote
I also tested with other machines. Doesn't work for wired connection either.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum