Ilan
January 27, 2022, 10:26am
1
Hi
A general questions:
Is it possible to configure two PPPoE sessions over a single WAN interface ?
I thought to configure two logical interface over a single WAN interface, then set a PPPoE protocol for each of the logical interfaces. Is that possible ?
Thanks,
Ilan.
pavelgl
January 27, 2022, 12:00pm
2
I found it interesting and I made a quick test. It is possible and it works.
config interface 'PPPoE1'
option proto 'pppoe'
option device 'eth0.192'
option username 'pppoe1'
option password 'password1'
option defaultroute '0'
option peerdns '0'
option keepalive '5 5'
option service 'service1'
option delegate '0'
option ipv6 '0'
config interface 'PPPoE2'
option proto 'pppoe'
option device 'eth0.192'
option username 'pppoe2'
option password 'password2'
option defaultroute '0'
option peerdns '0'
option keepalive '5 5'
option service 'service2'
option delegate '0'
option ipv6 '0'
root@OpenWrt:~# ifconfig | grep pppoe -A 7
pppoe-PPPoE1 Link encap:Point-to-Point Protocol
inet addr:192.168.192.10 P-t-P:192.168.192.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:58 (58.0 B) TX bytes:220 (220.0 B)
pppoe-PPPoE2 Link encap:Point-to-Point Protocol
inet addr:192.168.193.10 P-t-P:192.168.193.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:58 (58.0 B) TX bytes:220 (220.0 B)
Ilan
January 27, 2022, 2:43pm
3
Thanks a lot Pavel.
I hope other will gain out of it as well.
So actually multiple PPPoE can be established over WAN, even more than two, according to the need.
Ilan.
1 Like