[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652573: busybox-udeb: debian stable busybox udhcp client does not support /32 netmasks

retitle 652573 busybox ip addr add ip.add.re.ss/32 does not work

On 05.06.2012 14:18, Jens Ott - Profitbricks wrote:
> Michael,
> Conrad,
> as far as I am aware, the problem is NOT the dhcp-client of busybox
> itself but the hook-script used in debian. Find attached a hook-script
> which I use in my home-brewn rescue and which used to work also with
> /32 (sorry don't have an environment to test at hand, so I could not
> proove). So IMHO actually only the hook-script in debian is screwed up.

Thank you Jens for the reply.  Now I see what's going on.

It is not udhcpc, and not the udhcpc script either.  It is busybox's
`ip' utility.

# busybox ip -4 add dev dummy0
ip: invalid argument '' to 'ip'
# busybox ip -4 add dev dummy0
# _

And this is exactly what's used in the udeb script:

                ip -4 addr add "$ip/$subnet" dev "$interface"

So I'm retitling the bugreport accordingly, and will
try to fix it now, when it is clear where the problem
is, exactly.

Thank you very much guys for the help!


Reply to: