Re: [CentOS] Forgetting network settings

2010-03-29 Thread Niki Kovacs
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

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
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

Re: [CentOS] Forgetting network settings

2010-03-29 Thread Les Mikesell
cahit Eyigünlü wrote: 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

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
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

Re: [CentOS] Forgetting network settings

2010-03-29 Thread Matt Iavarone
2010/3/29 cahit Eyigünlü cahit.eyigu...@gmail.com: 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 :

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
there is no problem with my internet connection i just want that to do this cent os automatically : route add default gw 217.20.117.1 before typing this my netstat -rn looks like this : r...@lin3 [~]# netstat -rn (that is not able to connect to internet) Kernel IP routing table Destination

Re: [CentOS] Forgetting network settings

2010-03-29 Thread Rohan Gilchrist
So you're saying that your default gateway is an IP address that's part of a *different* network/subnet? I don't know how this network has been designed, but typically I would expect that your default gateway would be something like 188.72.255.1 rather than 217.20.117.1 that you've mentioned

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
Thanks rohan but our gateway on 24 ip block so i need to do it on way that i send , unortunately this wont work becuase that is a global ip adress and they can not set a gateway for each 255 block for ex. i have 5 more ip 2 of them is on 78.159.xx.xx block so i need to set default gw to

Re: [CentOS] Forgetting network settings

2010-03-29 Thread Les Mikesell
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 :

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
GATEWAY1=217.20.117.1 that does not worked 2010/3/29 Les Mikesell lesmikes...@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

Re: [CentOS] Forgetting network settings

2010-03-29 Thread Les Mikesell
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:

Re: [CentOS] Forgetting network settings

2010-03-29 Thread cahit Eyigünlü
it seems like a good solution but i could not figure out how to make this :D 2010/3/29 Les Mikesell lesmikes...@gmail.com 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

[CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Forgetting network settings

2010-03-28 Thread John R Pierce
cahit Eyigünlü wrote: i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore yes, the route command is not persistent. someone explained many posts ago what files to edit to add permanent settings.

Re: [CentOS] Forgetting network settings

2010-03-28 Thread Joseph L. Casale
i am adding routr options with  route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore  Search the docs for /etc/sysconfig/network-scripts/route-ethx scripts. ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
I am new on this group :D 2010/3/29 John R Pierce pie...@hogranch.com cahit Eyigünlü wrote: i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore yes, the route command is not persistent. someone explained many posts

Re: [CentOS] Forgetting network settings

2010-03-28 Thread Joseph L. Casale
I am new on this group :D Welcome, Don’t top post, and use txt format. You can search archives held in many places, such as http://www.mail-archive.com/centos@centos.org/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A:

Re: [CentOS] Forgetting network settings

2010-03-28 Thread John R Pierce
cahit Eyigünlü wrote: I am new on this group :D it was a response to you. http://lists.centos.org/pipermail/centos/2010-March/092298.html see 'automatic setup' ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Forgetting network settings

2010-03-28 Thread Miguel Medalha
i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore In about five (5) seconds I found this on Google: Adding Persistent Routes http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flattopic_id=1927forum=30 I suppose

Re: [CentOS] Forgetting network settings

2010-03-28 Thread Matt Iavarone
2010/3/28 cahit Eyigünlü cahit.eyigu...@gmail.com: i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Forgetting network settings

2010-03-28 Thread cahit Eyigünlü
there is sth. different on my network my gateway is on different subnet then my static ip so is this works? 2010/3/29 Matt Iavarone matt.iavar...@gmail.com 2010/3/28 cahit Eyigünlü cahit.eyigu...@gmail.com: i am adding routr options with route add -net xxx dev eth0 but when i reset