Siigh. Discovered that the file
/etc/sysconfig/network
contained this line:
GATEWAY=
That was first placed there when the machine was first installed, using a
static
IP address.
Commented that out, and now the system gets its gateway via dhcp.
j
On Wednesday, August 21, 2013 15:39
Further investigation.
If I create a route-eth0 file and put this in it:
default 192.168.122.1 dev eth0
I get this upon network restart:
Error: either "to" is duplicate, or "192.168.122.1" is a garbage.
Which this page:
http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1%2dnetworkscript
On Wed, Aug 21, 2013 at 5:48 PM, Joshua J. Kugler 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
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
4 matches
Mail list logo