Connecting to Centurylink FTTH without a managed switched

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


Joined: 24 Jan 2019
Posts: 2

PostPosted: Thu Jan 24, 2019 6:28    Post subject: Connecting to Centurylink FTTH without a managed switched Reply with quote
I stumped upon this thread recently when I was trying to replace the Centurylink router with my 5-year-old rt-ac66u running DD-WRT.
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=300259&postdays=0&postorder=asc&start=0

The suggested solution is to use a managed switch to tag the vlan id to 201. A few years have passed since then. dd-wrt now finally supports vlan id going beyond 15. Details here: https://wiki.dd-wrt.com/wiki/index.php/Switched_Ports. You'll need to flash a build that's > 35079, but the UI still doesn't support configuring vlans beyond 15. The good news is that you can now do this in CMD via ssh or telnet.

Here are the commands to swap the wan from vlan2 to vlan201:
Code:

nvram unset vlan2ports
nvram set vlan201ports="0t 8"
nvram set port0vlans="201 16 18 19 21"
nvram unset vlan2hwname
nvram set vlan201hwname=et0
nvram set pppoe_wan_ifname=vlan201
nvram set pppoe_ifname=vlan201
nvram set wan_ifname2=vlan201
nvram set wan_default=vlan201
nvram set wan_ifnames=vlan201
nvram set wan_ifname=vlan201
nvram set wan_iface=vlan201
nvram set vlan201_ipaddr=0.0.0.0
nvram set vlan201_multicast=0
nvram set vlan201_label=
nvram set vlan201_dns_ipaddr=0.0.0.0
nvram set vlan201_dns_redirect=0
nvram set vlan201_mtu=1500
nvram set vlan201_isolation=0
nvram set vlan201_nat=1
nvram set vlan201_bridged=1
nvram set vlan201_hwaddr=D8:50:E6:CC:51:F0
nvram set vlan201_netmask=0.0.0.0
nvram set vlan201_txq=0
nvram commit
echo "" > /proc/switch/eth0/vlan/2/ports
echo "0t 8" > /proc/switch/eth0/vlan/201/ports
vconfig rem vlan2
vconfig add eth0 201
ifconfig vlan201 up
ifconfig vlan201 txqueuelen 0
reboot


After you run this, going to setup -> VLANs will crash the web server for the configuration GUI, so don't ever go there again after you've done this. But hey, you now have a working router connected to Centurylink Fiber w/o the managed switch. I hope the devs will eventually fix the UI for configuring vlans > 15.

Just sharing some info. I figured this could be helpful to others to save sometime going through the dd-wrt wikis. Very Happy Very Happy
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum 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