[Bug 4604] debian stable busybox udhcp client does not support /32 netmasks

bugzilla at busybox.net bugzilla at busybox.net
Fri Jul 6 08:36:16 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=4604

--- Comment #4 from Michael Tokarev <mjt+busybox at tls.msk.ru> 2012-07-06 08:36:15 UTC ---
The problem here is more, well, complex.

With /32 netmask, any routes will be outside the "host network", since it
includes only one host address and nothing more.  So any routes has to be
handled in a special, two-step, way: first adding a route to the router itself,
and second adding the regular route using that router.  Or, with modern iproute
command, one-step using "onlink" attribute.

Original issue was in debian udhcpc script, which does not handle such
complexity.  Busybox code does the right thing, it merely passes all the info
to the script for further processing.

So I'm not sure what to do with this bugreport now: the busybox code is
correct, but the issue is tricky enough to hit other users too, who implements
the script, and cloud environments (where this issue is most likely to happen)
becomes more and more popular and widespread to affect more users, so this
buugreport should at least be visible somehow.  Maybe adding some notes to
examples/udhcp/simple.script will do the trick?

Thanks,

/mjt

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list