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.