openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #19068
Re: Quantum bridge mapping dhcp default route (optsfile tag:tag0 setting?)
Usually the line in dnsmasq.conf looks like this (below). Haven't used
Quantum yet so don't know if the 'dhcp-option=' part being missing is the
problem or not.
dhcp-option=tag:'unicorns',option:router,172.16.100.1
Nate
On Nov 30, 2012 12:10 PM, "Robert van Leeuwen" <
Robert.vanLeeuwen@xxxxxxxxxxxxx> wrote:
> >Yes the tag setting should be in the opts file.
> Ok, thanks, at least I do not have to look for a wrong configuration then.
>
> > What version of dnsmasq are you running?
> dnsmasq-2.48-6.el6.x86_64
>
> > Also can you get a tcpdump of the DHCP traffic?
> FYI: this is a different subnet example
>
> This is the opts file:
> tag:tag0,option:router,172.16.51.254
> The 172.16.51.100 is the dhcp server
>
> The tcpdump:
>
> 18:04:29.000231 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto
> UDP (17), length 338)
> 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP,
> Request from fa:16:3e:9b:99:5a, length 310, xid 0xf1ffd930, Flags [none]
> (0x0000)
> Client-Ethernet-Address fa:16:3e:9b:99:5a
> Vendor-rfc1048 Extensions
> Magic Cookie 0x63825363
> DHCP-Message Option 53, length 1: Request
> Requested-IP Option 50, length 4: 172.16.51.101
> 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
> Vendor-Class Option 60, length 43: "anaconda-Linux
> 2.6.32-279.el6.x86_64 x86_64"
> END Option 255, length 0
> 18:04:29.000441 IP (tos 0x0, ttl 64, id 20383, offset 0, flags [none],
> proto UDP (17), length 351)
> 172.16.51.100.bootps > 172.16.51.101.bootpc: [bad udp cksum b940!]
> BOOTP/DHCP, Reply, length 323, xid 0xf1ffd930, Flags [none] (0x0000)
> Your-IP 172.16.51.101
> Server-IP 172.16.51.100
> Client-Ethernet-Address fa:16:3e:9b:99:5a
> Vendor-rfc1048 Extensions
> Magic Cookie 0x63825363
> DHCP-Message Option 53, length 1: ACK
> Server-ID Option 54, length 4: 172.16.51.100
> Lease-Time Option 51, length 4: 120
> RN Option 58, length 4: 60
> RB Option 59, length 4: 105
> Subnet-Mask Option 1, length 4: 255.255.252.0
> BR Option 28, length 4: 172.16.51.255
> Default-Gateway Option 3, length 4: 172.16.51.100
> Domain-Name-Server Option 6, length 4: 172.16.51.100
> Domain-Name Option 15, length 14: "openstacklocal"
> Hostname Option 12, length 13: "172-16-51-101"
> END Option 255, length 0
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References