Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tcp/ip route tables 2

Status
Not open for further replies.

mattg

MIS
Oct 28, 1999
2
0
0
US
Visit site
When adding a route I get an error 87 response. Can't find any detailed info out there. Anyone have an answer? Thanks.<br>
MattG
 
168.118.0.0 mask 255.255.0.0 216.33.124.30<br>
error 87<br>
<br>
I can add this route to one machine OK and get this error on another. Both NT and on same subnet. I'm clueless. Any ideas? Matt
 
Error 87 is an indication that your addressing is incorrect. Here is a clip from Technet explaining two possible reasons.<br>
<br>
You will get the route addition error in at least these two situations:<br>
<br>
1. If the gateway address you specify is not on the same logical subnet as any<br>
of the network adapters in your system. For instance, if your system had this<br>
configuration:<br>
<br>
ip address 204.118.75.20<br>
subnet mask 255.255.0.0<br>
<br>
and you tried this command:<br>
<br>
route add 204.110.0.0 204.110.76.23<br>
<br>
where 204.110.0.0 is the remote subnet you want to reach and 204.110.76.23 is<br>
the gateway address you want to use, you will get the error message because<br>
the gateway is not on the same logical subnet as your system.<br>
<br>
2. If the destination address you enter is a specific host address rather than a<br>
subnet address and you specify a netmask, you will get this error.<br>
<br>
For instance, using the same configuration as above, if you wanted to reach<br>
this specific system:<br>
<br>
ip address 204.110.15.3<br>
subnet mask 255.255.0.0<br>
valid local gateway 204.118.75.1<br>
<br>
you might use this command:<br>
<br>
route add 204.110.15.3 mask 255.255.0.0 204.118.75.1<br>
<br>
and this command would give you the error 87 message. The ROUTE command<br>
expects the subnet address 204.110.0.0 rather than the specific destination<br>
address.<br>
<br>
To correctly add a host route do not specify a netmask and by default NT will<br>
use a netmask of 255.255.255.255, for example:<br>
<br>
route add 204.110.15.3 204.118.75.1<br>
<br>
Or use a subnet mask of all ones, 255.255.255.255, for example:<br>
<br>
route add 204.110.15.3 MASK 255.255.255.255 204.118.75.1<br>
<br>
The mask of all 255s (all 1s) means that the destination address of the packet<br>
to be routed must exactly match the Network Address for this route to be<br>
used.<br>
<br>
Tool<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top