Re: Forgetting network settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

i have added eth0 
address0=217.20.117.1
subnet0=255.255.255.255

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@xxxxxxxxxxxxx>
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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux