How to stop PPPoE sessions being assigned same IP from pool?

Hello,

I am running some 10-20 RouterBOARD as PPPoE LNS and am occasionally coming up against the following problem. Most of our users do not have a static IP so they are given an IP from a pool created on the MikroTik when they log in to PPPoE.

It would seem that RouterOS default behaviour is to keep handing out the same IP to the same user as evidenced here: http://www.mikrotik.com/documentation/manual_2.7/IP/IPPool.html (Note that whenever possible, the same ip address is given out to each client).

Every once in a while this causes problems however for example when a user is handed out an IP at the top or bottom of a /24 subnet (ie x.x.x.0 or x.x.x.255) and tries to access something on a server/router that isnt aware of classless subnetting.

On our Cisco based LNS the solution is easy, just disconnect and reconnect PPPoE and they will get a completely different IP. However on RouterOS the solution takes much longer to implement.

Is there an option that we can set which will make RouterOS hand out a different IP from the pool every time?

Does anybody know of a solution to this problem?

Bump

Anyone?

so why not just exclude x.x.x.0 and x.x.x.255 from the pool?

Well partly because I am lazy but also because if I am throwing rather large pools (ie /22 or larger) at my LNS it starts to become unmanageable to simply exclude the boundary addresses.

Hi,

you can make pools like:

192.168.1.2/22-192.168.254/22
192… etc..

Or if you prefer, asign static leases to all this .0 and .255 IPs to a fake MAC, then.. anyone would get this IPs from DHCP, because this IPs are from fake MACs..

Thanks,

You must have missed the part where I said I was lazy :wink: