Originally Posted by HarryBoy
So, in this case, is there any example route that I can add to my route table above just for test purposes (So I can add and delete it)
route add -host 192.168.255.254 gw 10.51.56.253
The above will add a route to the IP address 192.168.255.254 via 10.51.56.253. Using -host
is the same as specifying a /32 netmask. The same could be accomplished with route add -net 192.168.255.254 netmask 255.255.255.255 gw 10.51.56.253
The first IP address can be any non-local address, and it's probably best to test with an IP address you know you know won't need to contact. The second address has to be local, but it doesn't necessarily have to be assigned to anything.