Re: Default gateway not configured after FC6 installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux