Ask Your Question
0

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

asked 2012-10-12 09:05:37 -0500

endre-karlson gravatar image

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 ... (more)

edit retag flag offensive close merge delete

7 answers

Sort by ยป oldest newest most voted
0

answered 2013-02-18 15:00:55 -0500

Ok, I managed to make it work.

In my case the interface in which the dhcpoffers where dropped in was surprisingly down.

So this made my trick:

ifconfig tapdd406286-2f up

I noticed that I was not receiving anything related to dhcpoffers on the data physical ethernet device, they were appearing just in the syslog.

On 18 February 2013 14:15, WcMinor question211021@answers.launchpad.netwrote:

Question #211021 on quantum changed: https://answers.launchpad.net/quantum/+question/211021 (https://answers.launchpad.net/quantum...)

WcMinor requested more information: Hi there,

I'm also experiencing the same problem, any update on it?

I will try to debug it.


You received this question notification because you are a direct subscriber of the question.

edit flag offensive delete link more
0

answered 2013-02-18 15:01:54 -0500

Ok, I managed to make it work.

In my case the interface in which the dhcpoffers where dropped in was surprisingly down.

So this made my trick:

ifconfig tapdd406286-2f up

I noticed that I was not receiving anything related to dhcpoffers on the data physical ethernet device, they were appearing just in the syslog.

edit flag offensive delete link more
0

answered 2013-02-18 14:12:36 -0500

Hi there,

I'm also experiencing the same problem, any update on it?

I will try to debug it.

edit flag offensive delete link more
0

answered 2012-11-01 16:18:08 -0500

graham-hemingway gravatar image

Endre,

It seems I have the exact same problem ( https://answers.launchpad.net/quantum/+question/212874 (https://answers.launchpad.net/quantum...) ). Were you able to fix it?

Thanks, Graham

edit flag offensive delete link more
0

answered 2012-10-26 14:19:27 -0500

I have update it, rhel 6.3 built-in version, from: Dnsmasq version 2.48 Copyright (C) 2000-2009 Simon Kelley Compile time options IPv6 GNU-getopt DBus no-I18N DHCP TFTP upgrade to: Dnsmasq version 2.63rc6 Copyright (c) 2000-2012 Simon Kelley Compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack

edit flag offensive delete link more
0

answered 2012-10-26 14:15:10 -0500

I have meet this same issue, and resolved by update dnsmasq.

http://osdir.com/ml/openstack-cloud-computing/2012-05/msg00785.html (http://osdir.com/ml/openstack-cloud-c...) https://lists.launchpad.net/openstack/msg13221.html (https://lists.launchpad.net/openstack...)

edit flag offensive delete link more
0

answered 2012-10-12 15:27:36 -0500

danwent gravatar image

this is unlikely to be related to OVS, given that tcpdump says the DHCPOFFER does not even get sent out by the tap8adb92d6-37 device. The problem is probably higher up in how dnsmasq is being used.

Are you using namespaces for DHCP or not? If not, its possible that your system could have overlapping routes for the 172.16.60.0/24 prefix, causing that packet to be sent out an interface other than tap8adb92d6-37.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-10-12 09:05:37 -0500

Seen: 359 times

Last updated: Feb 18 '13