Route Add Question??
I need to add a route but I'm having no luck. I basically need to be able to see 10.70.20.41 from 10.70.23.21. All info is below.. Do I need to route add the gateway that the desitination ip address is on (2nd on tracert below). I've tried many route add commands and all give errors. Below is the local ipconfig, the routing table, and the tracert to the switch that 10.70.20.41 is connected to.. Any help is appreciated!!! :) IP Address. . . . . . . . . . . . : 10.70.23.21 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.70.23.1 Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 10.70.23.1 10.70.23.21 10 10.70.23.0 255.255.255.0 10.70.23.21 10.70.23.21 10 10.70.23.21 255.255.255.255 127.0.0.1 127.0.0.1 10 10.255.255.255 255.255.255.255 10.70.23.21 10.70.23.21 10 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 224.0.0.0 240.0.0.0 10.70.23.21 10.70.23.21 10 255.255.255.255 255.255.255.255 10.70.23.21 10.70.23.21 1 Default Gateway: 10.70.23.1 Tracing route to 10.70.255.253 over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms 10.70.23.2 (switch) 2 <1 ms <1 ms <1 ms 10.70.253.2 (router) 3 <1 ms <1 ms <1 ms 10.70.255.253 (switch) route adds I've tried: route add 10.70.20.0 MASK 255.255.255.0 10.70.20.1 -p error route add 10.70.20.0 MASK 255.255.255.0 10.70.20.2 -p error route add 10.70.20.0 MASK 255.255.0.0 10.70.20.1 -p error route add 10.70.20.0 MASK 255.255.0.0 10.70.20.2 -p error route add 10.70.0.0 MASK 255.255.255.0 10.70.20.1 -p error route add 10.70.0.0 MASK 255.255.255.0 10.70.20.2 -p error route add 10.70.0.0 MASK 255.255.0.0 10.70.20.1 -p error route add 10.70.0.0 MASK 255.255.0.0 10.70.20.2 -p error route add 10.70.20.0 MASK 255.255.255.0 10.70.253.2 -p error route add 10.70.20.0 MASK 255.255.0.0 10.70.253.2 -p error
March 17th, 2010 9:42pm

If you only have one router (which you probably do) on that subnet (10.70.23.x), then your the ROUTE should reside on the router (10.70.23.1), not the computer you are on. Since the 10.70.23.1 interface is the only way out of your network, that is where the packet must go.If you had multiple routers on that subnet, you would send the packet to the interface of the router that knows where 10.70.20.x is located.ROUTE ADD 10.70.20.0 mask 255.255.255.0 10.70.23.? <-- fill in question mark with IP of router on that subnet that knows about 10.70.20.x. Look at this blog to help you understand what I am referring to.http://www.anitkb.com/2010/03/using-windows-route-command.htmlVisit my blog: anITKB.com, an IT Knowledge Base.
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2010 11:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics