Re: eth0

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

 



My route information.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
203.208.228.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 203.208.228.129 0.0.0.0 UG 0 0 0 eth0


I had a similar situation a couple of days ago. Running
redhat-config-network and adding the gateway there didn't help any too
since as soon as I'd finish adding the gateway and doing a
"/etc/rc.d/init.d/network restart" my gateway would disappear again.

In the end I added the line GATEWAY=xxx.xxx.xxx.xxx to the
/etc/sysconfig/network file by hand and that seemed to fix it.


I do actually have that line.

[root@advanced root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=203.208.228.*
NETMASK=255.255.255.0
GATEWAY=203.208.228.129

You shouldn't have that line in /etc/sysconfig/network-scripts/ifcfg-eth0. It should be in /etc/sysconfig/network...right after the "HOSTNAME=" line.

Thanks alot Rick and Faisal.




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

  Powered by Linux