Posted: Tue Jun 09, 2015 12:47 Post subject: Problem setting up PPPoE over VLAN on ASUS RT-AC87U
Hi,
I am trying to setup my AC87U to work with my FTTH provider (Movistar TV/ Imagenio) and I am having issues getting PPPoE to work. (I had posted this question inside someone else's thread but decided to open a new one following forum guidelines)
What I am trying to do:
Configuration in DD-WRT seems to be quite straight forward as indicated in multiple sites:
Another thing I have realised is that I fail to configure VLAN2 "Assigned to Bridge" to None in VLAN settings. I can do it, and click on "Save" or "Apply Settings", but whenever I revisit the VLAN configuration page it remains as assigned to LAN.
I don't know if this has anything to do with my problem but just in case, as in the tutorial I followed to configure the router it appears as assigned to None.
nvram set vlan2ports="0t 7u"
nvram set vlan6ports="0t 7u"
nvram set vlan6hwname=et1
Also set the WAN to vlan6
Setup->Networking->WAN Port Assignment=vlan6
PS. This is the first time I have seen the processor on port 7.
Thanks for your support... although no progress. I have entered the commands you suggested and also configured WAN Port Assignment to vlan6... but still it doesn't work the PPPoE.
In case it helps I also find something that strikes me. MAC address for WAN and LAN seems to be the same. Shouldn't these be two separate addresses? (attaching picture)
Sorry, I may not be fully understanding your last comment.
I don't see VLAN6 assigned to br0... in fact:
Code:
root@DD-WRT:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.382c4aaa76c0 no vlan1
vlan2
eth1
Regarding DHCP... I have tried (as one of my multiple troubleshooting tests) to connect WAN port of the ASUS to one of the LAN ports of my original router... in a double-nated configuration... but it also fails to get an IP via DHCP. Is this what you mean?
You are absolutely right that nvram says that, but brctl however doesn't. It really drives me crazy... where are those bridges configured? I haven't explicitly chosen for it to be bridged, how comes it goes bridged?
In any case, I have done the following:
Code:
nvram set vlan6_bridged=0
nvram unset bat_vlan6_bridge
nvram commit
reboot
But unfortunately, PPPoE still seems to be failing. I am including a dump of the system log:
Code:
root@DD-WRT:~# tail -f ../var/log/messages
Jan 1 00:02:20 DD-WRT daemon.notice pppd[1598]: pppd 2.4.6 started by root, uid 0
Jan 1 00:02:51 DD-WRT kern.info kernel: device vlan6 entered promiscuous mode
Jan 1 00:02:51 DD-WRT kern.info kernel: device vlan6 left promiscuous mode
Jan 1 00:02:51 DD-WRT user.info : pppd : PPP daemon successfully stopped
Jan 1 00:02:53 DD-WRT user.info : pppd : PPP daemon hanging, send SIGKILL
Jan 1 00:02:53 DD-WRT user.info : pppd : PPP daemon successfully stopped
Jan 1 00:02:54 DD-WRT daemon.notice pppd[1664]: pppd 2.4.6 started by root, uid 0
Jan 1 00:03:25 DD-WRT kern.info kernel: device vlan6 entered promiscuous mode
Jan 1 00:03:25 DD-WRT kern.info kernel: device vlan6 left promiscuous mode
Jan 1 00:03:25 DD-WRT user.info : pppd : PPP daemon successfully stopped
Jan 1 00:03:27 DD-WRT user.info : pppd : PPP daemon hanging, send SIGKILL
Jan 1 00:03:27 DD-WRT user.info : pppd : PPP daemon successfully stopped
Jan 1 00:03:27 DD-WRT daemon.notice pppd[1719]: pppd 2.4.6 started by root, uid 0
Also attaching a screenshot of the networking page.
I am continuing with the troubleshooting and one thing I find strange is that if I do a tcpdump of eth0, I can see PPPoE Active Discovery Initiation (PADI) Messages over VLAN ID 6 (I guess as it should be). However, I see no incoming message at all from the WAN interface.
(See attached screenshot from Wireshark, also attached full dump)
Update: In fact, by looking at ifconfig I have the impression that no packets are being received in any of the vlans supposedly connected with WAN port. RX Packets = 0
In the Ethernet connection between ONT and WAN there are supposedly three tagged VLANs: 2 (IPTV), 3 (VoIP) and 6 (Internet). In particular, Internet is delivered using PPPoE on VLAN6.
It really puzzles me not reading any incoming message over the WAN port when I do the "tcpdump -i eth0". The only ones I read (dropbox ones for example) are those on my LAN. Might it be the case that the switch ports are not properly configure? I tried to play with swconfig (that I read in an old post is used to configure the switch) but it seems did-wrt no longer has it. Any suggestion?