[CentOS] Forgetting network settings

Les Mikesell lesmikesell at gmail.com
Mon Mar 29 16:18:10 UTC 2010

On 3/29/2010 8:09 AM, cahit Eyigünlü wrote:
> This is my two line on route-eth0
>   address0=
>   subnet0=
> but what should be next line for default gateway the only thing that i
> could not complete is default gateway setting
> and my netstat table must looklike this :
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> UH        0 0          0
> eth0
> xx.xx.xx.0   U         0 0          0 eth0
>         UG        0 0          0
> eth0
> and now i see only the first two line truely i am adding 3rd line on
> every time restart manually with route add default gw

If you want to use that syntax, you can probably add:

Or this should work instead:
default via dev eth0

But, I'd consider looking for a different service provider that does 
networking in a more standard way.  If they have to overlay subnets, 
they could at least assign an IP within each one on the gateway device 
so a standard configuration would be able to reach it.

   Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list