[CentOS] Forgetting network settings

cahit Eyigünlü cahit.eyigunlu at gmail.com
Mon Mar 29 13:36:28 UTC 2010

i am reaching the network with this :
route add -net netmask dev eth0
route add default gw

i have added eth0

the first command is ok but how could i set the second command to cent os to
do it automatically

2010/3/29 Niki Kovacs <contact at kikinovak.net>

> cahit Eyigünlü a écrit :
> > there is sth. different on my network my gateway is on different subnet
> > then my static ip so is this works?
> >
> One of the fundamentals of networking - as explained to you a few posts
> ago - is that your gateway has to be on the same subnet than your IP, or
> how else could you possibly reach it?
> Cheers,
> Niki Kovacs
> _______________________________________________
> 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/093778cb/attachment.html 

More information about the CentOS mailing list