I'm from Mexico and I have two EdgeRouter X (ER-X), that I was able to install OpenWrt to them, so far so good in dhcp mode.
I want to use them at work and home and our current ISP is TELMEX, I want to avoid using double NAT. So on home I have a Fiber ONT and at work they use ADSL2+ modem on copper. Telmex uses on ADSL/optic fiber. Also it seems uses TR069 and I was able to put their white modem into bridge mode (layer 2). They use PPPoE accounts preregistered into those modems.
I was able to get a PPPoE user account and password for home and for the account at work. So in theory their modem in mode bridge (L2) pass the internet over their Lan 1 and I use that to connect to my WAN.
it seems these are the information for Telmex
Encapsulation: RFC 2516 PPPoE
Virtual Circuit: 8 VPI - 81 VCI
DSL Modulation: Multimode.
I was able to connect with another old cisco router but didn't ask at all these information.
on CISCO I used these information
Network Wan Connection WAN1 PPPoE username: pppoe_user password: pppoe_password service name: empty Keep alive: Redial Period: 15 sec MTU: 1492 Network: (required by some ISPs) Host name: ipsdl-mex-nettengo-119 / Domain name: emtpy
After 5 minutes, the cisco router is able to connect with the ISP
Things I believe I need to get is VLAN it seems for fiber and adsl VLAN 881, but not sure what I'm doing wrong.
I'm attaching my network file
So I want to be able to get internet (wan) on Eth0 and use the other LAN2-5 for distribution.
network file for Edge Router to connect to ISP with PPPoE
config interface 'loopback' option device 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option packet_steering '1' option ula_prefix 'fd9f:eccc:b663::/48' config device option name 'br-lan' option type 'bridge' list ports 'eth1' list ports 'eth2' list ports 'eth3' list ports 'eth4' config interface 'lan' option device 'br-lan' option proto 'static' option ipaddr '192.168.7.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option device 'eth0.881' option hostname 'prodigy.net.mx' option proto 'pppoe' option ipv6 '0' option username 'user@domain' option password 'pppoepassword'
so if anyone from MX or have experience with ISP with PPPoE with vlans, let me know. I have been watching some tutorials that uses OpenWrt but nothing so far. Thank you