Posted: Tue May 11, 2021 22:05 Post subject: [SOLVED] ISP setup with PPPOE and VLAN 802.1p Archer C7
Hi all, please can someone help me to setup my dd-wrt router to work with italian ISP (WindTre) . This ISP use PPPOE with VLAN 835 for Internet and VLAN 836 for Voip and all with IEEE 802.1p ?
MTU will be set to 1492, NAT will be enable and encapsulation will be LLC.
The ISP provide fiber cable with SFP , I've connected through tp-link media converter that convert FC to RJ45.
The router is a classic tp-link Archer C7.
That's all ....
I've tryed all I know but nothing .... Any help will be appreciated. Thanks.
Posted: Wed May 12, 2021 10:38 Post subject: Re: ISP setup with PPPOE and VLAN 802.1p Archer C7
bordir wrote:
Hi all, please can someone help me to setup my dd-wrt router to work with italian ISP (WindTre) . This ISP use PPPOE with VLAN 835 for Internet and VLAN 836 for Voip and all with IEEE 802.1p ?
The router is a classic tp-link Archer C7.
That's all ....
.... Any help will be appreciated. Thanks.
Please add the dd-wrt build info and the C7 hardware version.
There are builds with broken/buggy PPPoE support, maybe some other C7 owners are able to post build version suggestions with verified (stable) working PPPoE Gateway setups.
I don't own a C7 v2 or newer but it is a common used hardware, the single 750Mhz core is a bottleneck for higher speeds available on fiber.
Hi and sorry for the data forgotten.... The C7 is version 5 and actually there is on board ddwrt version 3.0-r43334 (06/04/20).
What I don't know is how to configure vlans and how to integrate that config...
Thanks for your support.
Note that the actual is behind the router provided by the ISP.
So the config is with static IP
The goal is remove ISP router and put DDWRT directly connected to GPON.
When I try to configure PPPOE with provided parameters and create VLAN 835 the service didn't start
Somewhere I've read that the kernel included in my distribution DD-WRT v3.0-r44715 std (11/03/20) has a problem in addressing VLAN over #128 because of 7 bit or something similar ....
In fact the config expected seems easy (PPPOE, Vlan 835, Nat enable, Mtu 1492, keep alive), doing steps from gui it's easy too but, PPPOE didn't start...
Thanks.
So just for check if I've understood.
First from the gui I set up pppoe, username, passwd and other parameters.
After I use your suggested command from ssh to setup vlan.
After this save & apply.
Correct?
If yes, I'll made the test this afternoon when I came back to home.
Thanks.
Thanks.
I'll made the test this afternoon when I came back to home.
Thanks.
You can run the commands on the shell, check the result with swconfig.
swconfig changes on the shell does not make them permanent, you will loose them on poweroff/reboot cycle.
If access is cut, just reboot and start over again.
If the vlan on the wan port is correctly tagged, goto Administration - Commands, enter/copy the tested "working" command lines used on the shell into the Commands box :
swconfig dev switch0 set vlan 2 set ports "0t 2t"
swconfig dev switch0 set vlan 2 vid 835
swconfig dev switch0 set apply
Select "Save Startup" button and reboot device, after this the swconfigs are executed on every restart.
Hi .
When I try your commands, even fron SSH or from command panel (GUI) I receive an arror .Sorry but I'm not friendly with those commands ....
This is the output of the commands :
root@DD-WRT:~#
root@DD-WRT:~# swconfig dev switch0 set vlan 2 set ports "0t 2t"
swconfig list
swconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)
root@DD-WRT:~# swconfig dev switch0 set vlan 2 vid 835
swconfig list
swconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)
root@DD-WRT:~# swconfig dev switch0 set apply
root@DD-WRT:~#
So I try that other syntax of your commands :
swconfig dev switch0 vlan 2 set ports "0t 2t"
swconfig dev switch0 vlan 2 set vid 835
swconfig dev switch0 set apply
I change the connection with PPOE but the situation didn't go up ....the WAN interface is always disconnected and there is no way to connect.
Just for your information the interface you mention eth0.835 is not present. Maybe there is something other missing or I was wrong somewhere ?
This is the output of ifconfig command :
This is the situation after running your commands and putting them into startup.
I didn't see the interface you mention and the PPPoE Wan didn't start.
WOW my friend , it works !!!
first of all , thank you very much for your cooperation and patience.... I appreciate very much.
I also understood that my actual router is a low cost router, so if you have any suggestion about a mid level router to buy for running DD-WRT , I will follow your guidelines.
Making a small recap I've done the following :
swconfig dev switch0 vlan 2 set ports "0t 1t"
swconfig dev switch0 vlan 2 set vid 835
swconfig dev switch0 set apply
swconfig dev switch0 vlan 2 set ports "0 1t"
swconfig dev switch0 set apply
put those command to start on boot and moved from networking tab the WAN to eth0
Obviously on top of this setup username and password in PPPoE ....
Last question is : this configuration cannot be done all through web interface ?