Package: isc-dhcp-client
Version: 4.3.5-4
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I run a virtual machine that sets its address using isc-dhcp-client.
The dhcp server is dnsmasq spawned by libvirt.
The virtual machine is assigned a static ip address 192.168.208.2 based on
its MAC.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I start a virtual machine.
* What was the outcome of this action?
The dhcp client inquires for an address, it receives the address
192.168.208.2 from libvirt dnsmasq. It assigns the address 192.168.208.2
to the interface, but it also sends a "decline" message. dnsmasq responds
to the decline message and assigns a different address on next virtual
machine reboot. The result is that the virtual machine can't be reached
with the assigned address.
* What outcome did you expect instead?
The dhcp client should accept the offered address and shouldn't send the
decline message.
*** End of the template - remove these template lines ***
This is the packet log on the virbr0 interface:
05:29:23.694664 52:54:00:e3:9b:73 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17),
length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
52:54:00:e3:9b:73, length 300, xid 0xc3b5cf4f, Flags [none]
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 10: "debian-a64"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
05:29:23.694942 52:54:00:9c:a3:fc > 52:54:00:e3:9b:73, ethertype IPv4 (0x0800),
length 346: (tos 0xc0, ttl 64, id 50448, offset 0, flags [none], proto UDP
(17), length 332)
192.168.208.1.67 > 192.168.208.2.68: BOOTP/DHCP, Reply, length 304, xid
0xc3b5cf4f, Flags [none]
Your-IP 192.168.208.2
Server-IP 192.168.208.1
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 192.168.208.1
Lease-Time Option 51, length 4: 3600
RN Option 58, length 4: 1800
RB Option 59, length 4: 3150
Subnet-Mask Option 1, length 4: 255.255.255.0
BR Option 28, length 4: 192.168.208.255
Default-Gateway Option 3, length 4: 192.168.208.1
Domain-Name-Server Option 6, length 4: 192.168.208.1
Hostname Option 12, length 10: "debian-a64"
05:29:23.695319 52:54:00:e3:9b:73 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17),
length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
52:54:00:e3:9b:73, length 300, xid 0xc3b5cf4f, Flags [none]
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Server-ID Option 54, length 4: 192.168.208.1
Requested-IP Option 50, length 4: 192.168.208.2
Hostname Option 12, length 10: "debian-a64"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
05:29:23.695515 52:54:00:9c:a3:fc > 52:54:00:e3:9b:73, ethertype IPv4 (0x0800),
length 346: (tos 0xc0, ttl 64, id 50449, offset 0, flags [none], proto UDP
(17), length 332)
192.168.208.1.67 > 192.168.208.2.68: BOOTP/DHCP, Reply, length 304, xid
0xc3b5cf4f, Flags [none]
Your-IP 192.168.208.2
Server-IP 192.168.208.1
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.208.1
Lease-Time Option 51, length 4: 3600
RN Option 58, length 4: 1800
RB Option 59, length 4: 3150
Subnet-Mask Option 1, length 4: 255.255.255.0
BR Option 28, length 4: 192.168.208.255
Default-Gateway Option 3, length 4: 192.168.208.1
Domain-Name-Server Option 6, length 4: 192.168.208.1
Hostname Option 12, length 10: "debian-a64"
05:29:23.713203 52:54:00:e3:9b:73 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17),
length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
52:54:00:e3:9b:73, length 300, xid 0xc3b5cf4f, Flags [none]
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Decline
Server-ID Option 54, length 4: 192.168.208.1
Requested-IP Option 50, length 4: 192.168.208.2
Hostname Option 12, length 10: "debian-a64"
05:29:23.713430 52:54:00:e3:9b:73 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17),
length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
52:54:00:e3:9b:73, length 300, xid 0xcb28f433, Flags [none]
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 10: "debian-a64"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
05:29:26.216533 52:54:00:9c:a3:fc > 52:54:00:e3:9b:73, ethertype IPv4 (0x0800),
length 346: (tos 0xc0, ttl 64, id 7208, offset 0, flags [none], proto UDP (17),
length 332)
192.168.208.1.67 > 192.168.208.193.68: BOOTP/DHCP, Reply, length 304, xid
0xcb28f433, Flags [none]
Your-IP 192.168.208.193
Server-IP 192.168.208.1
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Offer
Server-ID Option 54, length 4: 192.168.208.1
Lease-Time Option 51, length 4: 3600
RN Option 58, length 4: 1800
RB Option 59, length 4: 3150
Subnet-Mask Option 1, length 4: 255.255.255.0
BR Option 28, length 4: 192.168.208.255
Default-Gateway Option 3, length 4: 192.168.208.1
Domain-Name-Server Option 6, length 4: 192.168.208.1
Hostname Option 12, length 10: "debian-a64"
05:29:26.217044 52:54:00:e3:9b:73 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17),
length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
52:54:00:e3:9b:73, length 300, xid 0xcb28f433, Flags [none]
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Server-ID Option 54, length 4: 192.168.208.1
Requested-IP Option 50, length 4: 192.168.208.193
Hostname Option 12, length 10: "debian-a64"
Parameter-Request Option 55, length 13:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Option 119, Hostname
Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
NTP
05:29:26.217268 52:54:00:9c:a3:fc > 52:54:00:e3:9b:73, ethertype IPv4 (0x0800),
length 346: (tos 0xc0, ttl 64, id 7209, offset 0, flags [none], proto UDP (17),
length 332)
192.168.208.1.67 > 192.168.208.193.68: BOOTP/DHCP, Reply, length 304, xid
0xcb28f433, Flags [none]
Your-IP 192.168.208.193
Server-IP 192.168.208.1
Client-Ethernet-Address 52:54:00:e3:9b:73
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.208.1
Lease-Time Option 51, length 4: 3600
RN Option 58, length 4: 1800
RB Option 59, length 4: 3150
Subnet-Mask Option 1, length 4: 255.255.255.0
BR Option 28, length 4: 192.168.208.255
Default-Gateway Option 3, length 4: 192.168.208.1
Domain-Name-Server Option 6, length 4: 192.168.208.1
Hostname Option 12, length 10: "debian-a64"
-- System Information:
Debian Release: 9.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armel, armhf
Kernel: Linux 4.17.4 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8),
LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages isc-dhcp-client depends on:
ii debianutils 4.8.1.1
ii iproute2 4.9.0-1+deb9u1
ii libc6 2.24-11+deb9u3
pn libdns-export162 <none>
pn libisc-export160 <none>
Versions of packages isc-dhcp-client recommends:
pn isc-dhcp-common <none>
Versions of packages isc-dhcp-client suggests:
pn avahi-autoipd <none>
pn isc-dhcp-client-ddns <none>
pn resolvconf <none>