eth0

List list at nchost.net
Wed May 4 19:15:35 UTC 2005


>>>> 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.

Thanks alot Rick and Faisal. 





More information about the users mailing list