Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DHCP requests arrives at the dhcp interface but no offer goes back

I have 1 node that's a combined controller and compute (cmp01) and 1 other that's compute only (cmp02).

On the controller when I dump on the DHCP interface I get while starting dhclient on the VM: root@cmp01:~# tcpdump -n -e -ttt -vvv -i tap8adb92d6-37 tcpdump: listening on tap8adb92d6-37, link-type EN10MB (Ethernet), capture size 65535 bytes 00:00:00.000000 fa:16:3e:63:12:d0 > 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: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xa387b426, secs 25, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 17: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252 NTP END Option 255, length 0 PAD Option 0, length 0, occurs 37 00:00:00.000186 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.999291 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.999976 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.877279 fa:16:3e:63:12:d0 > 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: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xf96c2974, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 13: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway END Option 255, length 0 PAD Option 0, length 0, occurs 41 00:00:02.658845 fa:16:3e:63:12:d0 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 110: (hlim 1, next-header Options (0) payload length: 56) :: > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, 2 group record(s) [gaddr ff02::1:ff63:12d0 to_ex { }] [gaddr ff02::202 to_ex { }] 00:00:00.020400 fa:16:3e:63:12:d0 > 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: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0x73635337, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 17: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252 NTP END Option 255, length 0 PAD Option 0, length 0, occurs 37 00:00:00.000182 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.070449 fa:16:3e:63:12:d0 > 33:33:ff:63:12:d0, ethertype IPv6 (0x86dd), length 78: (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff63:12d0: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fe80::f816:3eff:fe63:12d0 00:00:00.928892 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:01.000010 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 ^C 11 packets captured 11 packets received by filter 0 packets dropped by kernel

On the Compute Node: root@cmp02:~# tcpdump -n -e -ttt -vvv -i vnet0 tcpdump: WARNING: vnet0: no IPv4 address assigned tcpdump: listening on vnet0, link-type EN10MB (Ethernet), capture size 65535 bytes 00:00:00.000000 fa:16:3e:63:12:d0 > 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: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xa387b426, secs 25, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 17: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252 NTP END Option 255, length 0 PAD Option 0, length 0, occurs 37 00:00:00.000045 fa:16:3e:63:12:d0 > 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: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xa387b426, secs 25, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 17: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252 NTP END Option 255, length 0 PAD Option 0, length 0, occurs 37

In the syslog I can see that: Oct 12 11:02:27 cmp01 dnsmasq-dhcp[61988]: DHCPDISCOVER(tap8adb92d6-37) fa:16:3e:63:12:d0 Oct 12 11:02:27 cmp01 dnsmasq-dhcp[61988]: DHCPOFFER(tap8adb92d6-37) 172.16.60.3 fa:16:3e:63:12:d0 Oct 12 11:02:29 cmp01 dnsmasq-dhcp[61988]: DHCPDISCOVER(tap8adb92d6-37) fa:16:3e:63:12:d0 Oct 12 11:02:29 cmp01 dnsmasq-dhcp[61988]: DHCPOFFER(tap8adb92d6-37) 172.16.60.3 fa:16:3e:63:12:d0 Oct 12 11:02:36 cmp01 dnsmasq-dhcp[61988]: DHCPDISCOVER(tap8adb92d6-37) fa:16:3e:63:12:d0 Oct 12 11:02:36 cmp01 dnsmasq-dhcp[61988]: DHCPOFFER(tap8adb92d6-37) 172.16.60.3 fa:16:3e:63:12:d0 Oct 12 11:02:39 cmp01 dnsmasq-dhcp[61988]: DHCPDISCOVER(tap8adb92d6-37) fa:16:3e:63:12:d0 Oct 12 11:02:39 cmp01 dnsmasq-dhcp[61988]: DHCPOFFER(tap8adb92d6-37) 172.16.60.3 fa:16:3e:63:12:d0

It's offering each time there comes a DHCPDISCOVER in but no DHCPOFFER is leaving the interface?

I had it working in a while but after a reboot it's broken again.

A paste of ofctl etc.

http://paste.ubuntu.com/1274581/