eth0
Rick Stevens
rstevens at vitalstream.com
Wed May 4 19:08:24 UTC 2005
List wrote:
>
> ----- Original Message ----- From: "FS" <bastiji at gmail.com>
> To: "For users of Fedora Core releases" <fedora-list at redhat.com>
> Sent: Thursday, May 05, 2005 2:59 AM
> Subject: Re: eth0
>
>
>>> 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 at 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.
>
>
--
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- To err is human. To forgive, a large sum of money is needed. -
----------------------------------------------------------------------
More information about the fedora-list
mailing list