Posted: Fri Jan 12, 2018 23:25 Post subject: PPPoE Setup Fails
I have an optical fiber connection to internet using PPPoE. I have connected my Linksys WRT 1200 AC (running DD-WRT firmware) instead of the router provided by the ISP to the ISP's ONT box. I first tried the setting Automatic Configuration - DHCP but could not get Internet. Then I set the connection type to PPPoE with the user name and password supplied by the ISP, but got no Internet again. What am I missing or doing wrong? Will appreciate any advice. ISP refuses to help regarding a router not supplied by them.
Hi Per Yngve. No, the router (my DD-WRT router) does not get the IP address on the WAN port (it is 0.0.0.0). ISP's router does.
ISP support has no clue about VLAN, but from the scarce info presented on the ISP's router interface I can read the following:
Joined: 13 Aug 2013 Posts: 6870 Location: Romerike, Norway
Posted: Sat Jan 13, 2018 19:29 Post subject:
You have to set the WAN Port to tagged VLAN6.
This post sets it to 621.
iqmal wrote:
Thanks. Managed to get it working now. Followings the cofing line that I have applied:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4t"
swconfig dev switch0 vlan 2 set vid 621
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2
*Note that all above lines also included in the startup script. If not, each time router is rebooted, you have to redo.
Tusen takk Per Yngve for your kind help. Yes, I did the replacement. The commands I ran are:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4t"
swconfig dev switch0 vlan 2 set vid 6
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2
nvram set pppoe_wan_ifname=eth0.6
Posted: Thu Jan 18, 2018 18:04 Post subject: SOLVED!
Following the trail of Per Yngve's advice, I searched for a way to set the VLAN port to a tagged one. It didn't work with the suggested script but there is a possibility through DD-WRT interface. On SETUP/NETWORKING the very first option is VLAN TAGGING. I set the eth0 port (that's the VLAN port) to tag 6, priority 0. Then further down on the same page, under PORT SETUP/WAN Port Assignment I selected the newly created eth0.6. Now everything works perfectly.
Many thanks again, Per Yngve for giving me the right clues!
Posted: Thu Feb 15, 2018 13:37 Post subject: Re: SOLVED!
which provider was this for?
Ivo_K wrote:
Following the trail of Per Yngve's advice, I searched for a way to set the VLAN port to a tagged one. It didn't work with the suggested script but there is a possibility through DD-WRT interface. On SETUP/NETWORKING the very first option is VLAN TAGGING. I set the eth0 port (that's the VLAN port) to tag 6, priority 0. Then further down on the same page, under PORT SETUP/WAN Port Assignment I selected the newly created eth0.6. Now everything works perfectly.
Many thanks again, Per Yngve for giving me the right clues!