On 12 Mar 2014, at 11:24, Phil Mayers <p.mayers@IMPERIAL.AC.UK> wrote:
All,
I haven't had the chance to try FR DHCP yet, but I ran into a problem with ISC yesterday and I thought I'd mention something worth considering.
If you have something like VRRP/HSRP for first-hop resilience, both routers will forward the DHCP packet, and you'll get two copies that differ only in giaddr, very close together in time.
For fixed IPs this isn't usually a problem, but if you're allocating a lease by DB lookup, I guess it would be possible for 2 DISCOVERs to get 2 different OFFERs, particularly if you're threaded.
I'm wondering if the radius "duplicate packet detection" code could be re-used here?
It seems like rlm_cache would probably run "too late"?
Why do you think it would be run too late? Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2