route newbie question
- From: mackdaddy315 <mackdaddy315@xxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 00:32:26 -0000
Sorry this is such a newbie question but here goes.
I am told by my net admin that I need to use the following info to
setup a persistent route on my RHES3 box.
route add -net 220.127.116.11/24 gw 10.10.4.1 eth2
I get error "SIOCADDRT: network unreachable"
My box 18.104.22.168 with netmask of 255.255.255.0 on eth2
One of the IP's I need to talk to: 22.214.171.124
Subnet IP and other sit: 126.96.36.199/24
Router Address I was told to use: 10.10.4.1
My guess is that route is complaining since the gateway is not in the
subnet I am trying to reach. But I am told that this is the correct
address to use.
I have read a couple posts that say I maybe should look at using the
ip command to get this working?