[SOLV?]Can be a pppoe server and Dhcp server on same bridge?

Hi,

I’m trying to do this setup:

I have a pppoe server working over a bridge interface, and I want to set up a dhcp server on the same bridge for getting ip adresses from a pool when I connect a new cpe to the network.

If I do this the pppoe clients are connecting and disconnecting continously.
when I disable the ip and the dhcp server in the bridge then it works perfect.

This setup wants to get ip address to new customers and then configure pppoe client remotely.
PPPoe clients could be mikrotik CPE, ubiquiti or any kind of router. The pppoe server is a RB1100AH with 2 GB RAM.

Please, has nayone a similar setup working?

Regards,

make a default pppoe user, that is used to install new clients.

Hi,

I have same problem.I add pppoe accounts to cpe in router mode but ı can’t get ip address from cpe for surfing intern.cpe pppoe accounts connect to pppoe server perfectly.How can ı get ip address from router?Cpe in dhcp relay mode…

@nino

did you find a solution?

If you want that IP addresses are automaticaly assigned on pppoe you must define IP address pool in pppoe settings.

why dont just have a pppoe user named INSTALL or something, and use pppoe to install too? why mix this dhcp and pppoe stuff?

Make a default pppoe account when installing the cpe. connecting to INSTALL user. Then make a script, chaning to user spesific after CPE is mounted and “finished”.

I found that solution:
every interface has its own PPPoE server and dhcp Server. The PPPoe server pool is the same to all servers, but each dhcp server has its own pool. In the fist setup I tried to bridge all interfaces and setup one common PPPPoE server and one common DHCP server.

Now its working, but Idon’t know if this is the best solution.

Thank you to everyone.