Default gateway not configured after FC6 installation
Paul Howarth
paul at city-fan.org
Thu Nov 9 10:27:03 UTC 2006
Timothy Alberts wrote:
> I installed FC6 on a system and found that the default gateway is not
> listed in route. I can add it manually to route with (route add default
> gw gatewayip) where gatewayip is my router. However when I reboot, it
> dissappears and I have to manually enter it again. How do I fix this so
> I don't have to keep doing it after every reboot?
Is your network statically addressed, or dynamic (using DHCP)?
For static, simply add a line:
GATEWAY=ip.add.re.ss
in /etc/sysconfig/network
For dynamic, it'll be interesting to see what your DHCP client thinks
it's getting from the setver; see what the last "lease" entry in
/var/lib/dhclient/dhclient-eth0.leases is. There should be an "option
routers" entry with your gateway.
Paul.
More information about the users
mailing list