F
Fred Marshall
If I add a route like this in XP with the local interface being
192.168.113.139:
route add 192.168.116.0 mask 255.255.255.0 192.168.113.157 metric 1 IF
192.168.113.139
Then the resulting message is:
"The route addition failed:
Either the interface index is wrong or the gateway does not lie on the same
network as the interface.
Check the IP address table for the machine."
* The interface is explicitly stated to be the machines own (and only)
interface 192.168.113.139 (and has a subnet mask of 255.255.255.224)
*The gateway is on the same subnet at 192.168.113.157 (and has a subnet mask
of 255.255.255.224)
So, I conclude that since the gateway and the interface do lie on the same
network then this isn't the problem (?)
Also, the interface isn't "wrong".
And, I can check the IP address table for the machine until hell freezes
over (which, I presume means the Routing Table?) but what would I be looking
for?
So, I can't interpret the message offhand and I'm stuck.
Here's what I want to do:
I want to initiate packets to an IP address that is *not* on the local
subnet and not destined for the default interface either.
I want to direct those packets to a particular local subnet address (a VPN
node). So, from above:
192.168.113.139 is the local host address that initiates the packet.
192.168.116.0 / 255.255.255.0 is the range to which the packets will be
destined.
192.168.113.157 is the local address of the VPN router (which has a tunnel
for the destined range .. but this is of no matter here because I can't set
up the route on the local host).
I don't want to next hop these packets to the default because they are
destined for a private network.
I'm missing something rather basic I'm afraid.
Thanks,
Fred
192.168.113.139:
route add 192.168.116.0 mask 255.255.255.0 192.168.113.157 metric 1 IF
192.168.113.139
Then the resulting message is:
"The route addition failed:
Either the interface index is wrong or the gateway does not lie on the same
network as the interface.
Check the IP address table for the machine."
* The interface is explicitly stated to be the machines own (and only)
interface 192.168.113.139 (and has a subnet mask of 255.255.255.224)
*The gateway is on the same subnet at 192.168.113.157 (and has a subnet mask
of 255.255.255.224)
So, I conclude that since the gateway and the interface do lie on the same
network then this isn't the problem (?)
Also, the interface isn't "wrong".
And, I can check the IP address table for the machine until hell freezes
over (which, I presume means the Routing Table?) but what would I be looking
for?
So, I can't interpret the message offhand and I'm stuck.
Here's what I want to do:
I want to initiate packets to an IP address that is *not* on the local
subnet and not destined for the default interface either.
I want to direct those packets to a particular local subnet address (a VPN
node). So, from above:
192.168.113.139 is the local host address that initiates the packet.
192.168.116.0 / 255.255.255.0 is the range to which the packets will be
destined.
192.168.113.157 is the local address of the VPN router (which has a tunnel
for the destined range .. but this is of no matter here because I can't set
up the route on the local host).
I don't want to next hop these packets to the default because they are
destined for a private network.
I'm missing something rather basic I'm afraid.
Thanks,
Fred