[CentOS] Problem with DHCP and default route in CentOS
SilverTip257
silvertip257 at gmail.com
Wed Aug 21 23:34:41 UTC 2013
On Wed, Aug 21, 2013 at 5:48 PM, Joshua J. Kugler <joshua at azariah.com>wrote:
> I have a CentOS 6.4 VM that is getting its DHCP information from dnsmasq (a
> libvirt instance). However, it is not applying the routing information.
> Attached is a tcpdump of the dhcpc output. You'll see:
>
> Default-Gateway Option 3, length 4: 192.168.122.1
>
> However, when I run 'route -n', I get:
>
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0
> eth0
>
> Any ideas as to why the default route/gateway information isn't being
> applied?
>
This sure sounds like a bug I discovered on my own 6.4 KVM node
configuration.
The following added to /etc/dnsmasq.conf remedied a dnsmasq+pxe problem for
me (back in May 2013).
# ref: https://bugzilla.redhat.com/show_bug.cgi?id=594682#c6
# ref: http://etherboot.org/wiki/dnsmasq#a_potential_problem_and_a_fix
dhcp-no-override
>
> j
>
>
> --
> Joshua J. Kugler - Fairbanks, Alaska
> Azariah Enterprises - Programming and Website Design
> joshua at azariah.com - Jabber: pedahzur at gmail.com
> PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
--
---~~.~~---
Mike
// SilverTip257 //
More information about the CentOS
mailing list