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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default route when dialed out to ISP

Status
Not open for further replies.

jdl508

Technical User
Joined
Apr 30, 2001
Messages
242
Location
US
Hello, I have a 2621 connected to a t1 to a wan site. I can ping servers on the other site unless I am dialed out to the internet through a dial up acct. Is there any way to rectify this. I did a trace and it showed that while dialed out i go to a foreign ip but when no dialed out im there in 3 hops. thanks
jdl
 
Usually, when you initiate a dial-up connection, you receive (via the connection) a new default route. You can see this on NT/2000 boxes by called up a command prompt and typing 'route print'. What this means is that all traffic will try to go out through the dial-up connection to get to it's destination.

In order to prevent losing access to the servers on the other side of your 2621 router when you dial-out, you need to add a couple of persistent routes. In other words, you have to specify how to access those networks explicitly.

Assuming NT/2000 :
If your router is 192.168.0.1 and the network on the other side of the router is (say) 10.100.0.0/16, then you need to type into your PC's command prompt:
route add -p 10.100.0.0 mask 255.255.0.0 192.168.0.1

The -p will make the route addition persistent - which means that it will survive a reboot.

Please note that you'd have to type this for every network on the other side of the 2621 and you'd have to do this for every PC that may make a dial-up connection. If you use DHCP, you could specify these routes that way and get it out to your clients far quicker.

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top