I would like to use my own wifi router instead of the one from my ISPs, so this morning i installed DD-WRT v3.0-r42954 on my netgear R7000. Unfortunately, I cant get it to work, and I would really appreciate it if someone here could help me out.
I found the following PPPoE settings on the ISP router:
I have set up my R7000 up like this:
Switch Config:
Networking
Does that look correct? I suspect i am not setting up the vlan id up correctly since its 100, and the range only goes up to 15 in 'Switch Config' settings, however, i tried to do it in in the 'Networking' settings instead. I am not sure if that is correct though. I would greatly appreciate if someone could give me some pointers since I am new to dd-wrt.
Joined: 08 May 2018 Posts: 14210 Location: Texas, USA
Posted: Tue Apr 21, 2020 0:09 Post subject:
I forgot the R7000 had the VLAN tagging page, sorry. Now, question: Why do you have the WAN port bridged to the LAN? That may be part of your problem. The Switched Ports wiki is mostly for devices that do not have the VLAN tagging page, so it *may* not be relevant. The only thing I can see upon re-examining your screenshots it VLAN2 being bridged to the LAN, which it shouldn't be AFAIK. Now, to get VLAN 100 to pass to the LAN, you may have to do some of the other command line voodoo... _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
I forgot the R7000 had the VLAN tagging page, sorry. Now, question: Why do you have the WAN port bridged to the LAN? That may be part of your problem. The Switched Ports wiki is mostly for devices that do not have the VLAN tagging page, so it *may* not be relevant. The only thing I can see upon re-examining your screenshots it VLAN2 being bridged to the LAN, which it shouldn't be AFAIK. Now, to get VLAN 100 to pass to the LAN, you may have to do some of the other command line voodoo...
I have the WAN port bridge to the LAN because that was the default. Should I set it to 'None' and remove the 'W' tick for the vlan2 row, as well as the 'tagged' tick?
To be honest i am quite new to vlans, bridging etc. Since on the VLAN page, the vlan ids only go up to 15, i thought that if I tick the 'tagged' box for WLAN, then on the "DD-WRT Setup->Switch Config->VLAN Tagging" page i could forward vlan2 to vlan100 (as shown in my 4th screenshot above). But i have no idea if that is correct.. am I completely off? : )
What I want to do is quite simple. I just want to connect my R7000 wifi routers wlan port to my fiber optics router, via PPPoE, using vlan id 100 with priority 0.
Posted: Tue Apr 21, 2020 9:37 Post subject: I have the same problem like FonDisp. Can you help me ?
I also want to connect my R7000 wifi routers wlan port to my fiber optics router, via PPPoE, using vlan id 35 with priority 0.
I'm new to ddwrt
So Me and FonDisp need the full script of command or a full turtorial. Thanks all
Joined: 08 May 2018 Posts: 14210 Location: Texas, USA
Posted: Tue Apr 21, 2020 18:08 Post subject:
This is a topic that's likely been covered more than once in this forum. You may wish to use the search function or use Google with an appending "site:forum.dd-wrt.com". I honestly don't have the time to do this for you. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
This is a topic that's likely been covered more than once in this forum. You may wish to use the search function or use Google with an appending "site:forum.dd-wrt.com". I honestly don't have the time to do this for you.
I appreciate your reply. I have gone through the forum and there are a lot of posts regarding setting up PPPoE and I have tried most of them but there is so much inaccurate or old information that I have not gotten it to work. For example i found this recent post about how to do it with the web interface, but it didn't work in my case:
However, i read trough the link you provided and came up with this set of commands to set the vlan id to 100 for the WAN port. Does that look correct to you?:
nvram set vlan2ports=""
nvram set vlan2hwname=""
nvram set vlan100ports="0 5u"
nvram set port0vlans="100 16"
nvram set vlan100hwname=et0
nvram set port5vlans="1 100 16"
nvram commit
I am a bit worried that i will brick my router. This is my current configuration:
You may be closer to a solution than I am thinking, but I don't see a need to disable vlan2, necessarily. Really wish the magical wizard Per Yngve Berg would have chimed in already. He knows this stuff much better than I do.
Ok thanks a lot, i will re-read the wiki, to make sure i understood everything correctly, and in the meantime i hope Per Yngve Berg will chime in.
Regarding the sticky post, it seems that all that info has already been added to the wiki (according to the first sentence), but i will also read through it in case there is some extra info hidden in there.
# Tell DD-WRT PPPoE startup code to use the new WAN interface
/usr/sbin/nvram set pppoe_wan_ifname=vlan100
-----------------------------------------------------------
Unfortunately it is still not working. Do i have to configure something else, a part from using the above startup script? I also tried setting the "WAN port assignment" to "vlan100", but that doesn't work either.
# Tell DD-WRT PPPoE startup code to use the new WAN interface
/usr/sbin/nvram set pppoe_wan_ifname=vlan100
-----------------------------------------------------------
Unfortunately it is still not working. Do i have to configure something else, a part from using the above startup script? I also tried setting the "WAN port assignment" to "vlan100", but that doesn't work either.
Hey FontDisp. I see you clear VLan 0. You dont have vlan 0 . That Right ?
Hi Paul. Correct, i dont have Vlan 0, but i dont think it makes a difference if you clear it or not, even if you dont have it. I just copy pasted the script Per Yngve Berg linked me to.