[CentOS] Forgetting network settings
cahit Eyigünlü
cahit.eyigunlu at gmail.com
Mon Mar 29 15:50:28 UTC 2010
GATEWAY1=217.20.117.1 that does not worked
2010/3/29 Les Mikesell <lesmikesell at gmail.com>
> On 3/29/2010 8:09 AM, cahit Eyigünlü wrote:
> > This is my two line on route-eth0
> > address0=217.20.117.1
> > subnet0=255.255.255.255
> > 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
> > 217.20.117.1 0.0.0.0 255.255.255.255 UH 0 0 0
> > eth0
> > xx.xx.xx.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> > 0.0.0.0 217.20.117.1 0.0.0.0 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:
> GATEWAY1=217.20.117.1
> NETMASK1=0.0.0.0
> ADDRESS1=0.0.0.0
>
> Or this should work instead:
> default via 217.20.117.1 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100329/74612ad5/attachment.html>
More information about the CentOS
mailing list