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
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
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
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
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 :
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
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
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
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 :
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
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:
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
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
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.
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
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
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:
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
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
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
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
21 matches
Mail list logo