Hi, does anyone know if there is possible to have pppoe server and client on same router?
why do i need this?
I’d like to use the following config
ether1-> internet from another router with dhcp/firewall/nat
ether2,3,4 → bridge for a pppoe server [will connect 2 external routers via pppoe and ether5 from same router as pppoe client)
ether5 → pppoe-out1 (will connect via cable to ether4)
ether6,7,8,9,10 → bridge lan that will have internet through pppoe-out1
purpose is to provide internet via pppoe (ether2,3,4) to 2 other devices and have at the same time a pppoe-out1 interface (ether5) that will provide internet to a bridge lan (ether6,7,8,9,10) so i can use pcq properly on lan subnet. reason is that nat interfaces provide only bandwidth limit per interface and pcq doesn’t work on a lan subnet if there is not a pppoe connection.
I have tested such a configuration using mangle rules to shape traffic via the different networks on the same device and i have a major problem. pppoe server works fine and other routers connect at it and have internet. when i connect pppoe-out1 from ether5 to ether4 (pppoe server) via cable ppoe connect, i get ip and gateway and RX traffic of pppoe is Zero (0) also TX traffic of the pppoe connection on smae window is Zero (0).
Any ideas?
Regards