Posted: Thu Feb 23, 2023 1:33 Post subject: VLAN tag for PPPOE
Hey Guys, been struggling to get my PPPOE to work with my WRT3200ACM. Just a little background, I have a SFP to RJ45 converter and my ISP requires that I have VLAN35 tagged. I am upgrading from firmware 44048 to the latest 51787. While on 44048 it was working with the startup command line of:
Code:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "6 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4t"
swconfig dev switch0 vlan 2 set vid 35
swconfig dev switch0 set apply
I tried this startup command line in the newest firmware and I can get the WAN to connect and get an IP from the ISP but I cant seem to get internet on the WiFi and the LAN no longer works. I have gone the GUI route as well as I read that it is now woring on this firmware and I get the same results. I would rather stick with the GUI route if possible as it is cleaner and easier to see whats going on. With the GUI route I followed this
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=330604&sid=c5ece4827f89002f8a620df081b471ff
Quote:
1: WebUI, Setup
Connection Type: PPPoE
Username & Password from ISP
Save / Apply
2: WebUI, Setup -> Switch Config:
Add VLAN 101
WAN Port: Uncheck VLAN 2, Check VLAN 101, Check Tagged
Port 1: Check VLAN 1, Uncheck Tagged
Port 2: Check VLAN 1, Uncheck Tagged
Port 3: Check VLAN 1, Uncheck Tagged
Port 4: Check VLAN 1, Uncheck Tagged
Port 5: Check VLAN 1, Uncheck Tagged
Save / Apply
3: WebUI, Setup -> Networking:
Port Setup -> WAN Port Assignment: vlan101
Network Configuration vlan101: Unbridged (not necessary for PPPoE connection)
Save / Apply
4: Telnet one time commands:
nvram set pppoe_wan_ifname="vlan101"
nvram commit
reboot
I think im pretty close but does anyone have any quick ideas? Thanks
Did you verify that port numbers, port orders, listed devices, etc. did not change after the upgrade via swconfig? What is the output of swconfig list, swconfig dev (devicename) show? _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Excuse my ignorance with this I am very new. Im going to try and answer your questions the best i can... I was not able to get a WAN IP from ISP via the GUI method this time around for some reason so i went the startup command route and got a WAN ip. here is the info
swconfig list is showing:switch0
Is there a command to check port numbers are not changing witht the upgrade? I cant seem to figure out why the code in the erlier version is no longer working?
Code:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "6 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4t"
swconfig dev switch0 vlan 2 set vid 35
swconfig dev switch0 set apply
VLAN success on WRT1900ACSv2, WRT3200ACM, et al. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio