Note the if_nameindex() / getifaddrs() libraries have provision for very large or changing number of interfaces so we can copy the dynamic buffer code from them... Regards Francis Dupont <fdupont at isc.org> PS: I agree with Tomek: the current Kea code can't handle your case without changing the default buffer size.