[CentOS] Forgetting network settings

Les Mikesell lesmikesell at gmail.com
Mon Mar 29 17:14:41 UTC 2010


On 3/29/2010 10:50 AM, cahit Eyigünlü wrote:
>
> GATEWAY1=217.20.117.1 that does not worked

Did you add those lines after the ones you said had worked to give you 
the host route to 217.20.117.1?  You can't add a gateway until you have 
a route to it.

What about the alternative I suggested of:
default via 217.20.117.1 dev eth0

You may have to wade through the 
/etc/sysconfig/network-scripts/ifup-routes script to figure out the 
right syntax.   (And maybe you can't mix the different syntaxes in the 
same file...).


-- 
   Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list