How to use DHCP server insted of ip pool with pppoe server.

@Cmit

Thanks again man.

@rootlinux
For better control over assignig of ip adresses,to clients.In fact i was thinking to use dhcp to assign addresses to clients because that is done by pppoe server,my porblem with his assigning of addresses is that,that him don’t change ip address of client when he get disconnect and get conncet again he get same ip address,
i just want to make client to get every time new ip address,
this is situation
we have pppoe server

we have pool for gateway, and this pool we put in profil in local address

… profil , remote address , are empty (ther is no pool put) …


… we have 4 pools for 64, 128, 256, 512 in this MT

pppoe-64
pppoe-128
pppoe-256
pppoe-512


…with radius manger, we, make user with diferent pools


when users connect, he take first ip from pool, when reconnect he take second,…3, …4, … and this happend till reach last ip in pool,
when reach last ip in pool , there no change of ip any more happend, and he take this last ip agen and agen.


If we poot pools in profil , local addres and remote addres, there is no chage of ip, ever.




second problem are, subunet of user IP, subnet are /32, is there any way to make subnet of user IP, diferent, /30 /28 /24