[Bug 11221] udpcpc does not send DHCPRELEASE

bugzilla at busybox.net bugzilla at busybox.net
Sat Nov 3 18:02:21 UTC 2018


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

--- Comment #2 from Denys Vlasenko <vda.linux at googlemail.com> ---
(In reply to Ivan from comment #0)
| The IP address is obtained as normal on each router, however when I attempt
to release the IP address on an interface (by 'kill -USR2 <pid>', the IP
address is released on the interface from the client side, but no DHCPRELEASE
message (i.e. option 53:7) is sent to the upstream ISP.  This hinders my
ability to change traffic from one router to another, as I have to wait for the
DHCP lease to expire as normal before the ISP will accept traffic from a
different router.

Can't reproduce.
When I send SIGUSR2 to my udhcpc, I see this:

# tcpdump -nlieth0 -vvv udp and port bootpc
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144
bytes
18:58:40.779568 IP (tos 0x0, ttl 64, id 23229, offset 0, flags [DF], proto UDP
(17), length 328)
    NN.NN.NN.NNN.bootpc > MM.MM.M.MM.bootps: [bad udp cksum 0x2c28 -> 0x2768!]
BOOTP/DHCP, Request from 50:7b:XX:bf:XX:XX, length 300, xid 0x181c6419, secs
10, Flags [none] (0x0000)
          Client-IP NN.NN.NN.NN0
          Client-Ethernet-Address 50:7b:XX:bf:XX:XX
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message Option 53, length 1: Release
            Client-ID Option 61, length 7: ether 50:7b:XX:bf:XX:XX
            Server-ID Option 54, length 4: MM.MM.M.MM
            END Option 255, length 0
            PAD Option 0, length 0, occurs 41

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list