gateway not set by dhcp

Amadeus W. M. amadeus84 at cablespeed.com
Sun Nov 20 04:24:32 UTC 2005


On Fri, 18 Nov 2005 21:04:00 -0500, sean wrote:

> I'm booting with dhcp. I get assigned the ip address and 
> netmask, but the default route to the gateway isn't set.
> 
> I can do it manually, but...
> 
> FWIW, xp is able to get the gateway info.
> 
> any suggestions?
> 
> sean


It may be a bug I discovered a while back. If you use the gui
(Desktop->System settings -> network, etc.) to configure the network, and
you tell it to get IP info through dhcp AFTER you previously gave it a
static IP address, it does not write out properly the ifcfg-eth0 file.

Look at /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever interface
you have). If it contains anything reminiscent of the static ip
configuration, delete it, and add and configure a new interface in the
network gui.









More information about the fedora-list mailing list