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

Route add in Windows 2000

Status
Not open for further replies.
Oct 18, 2001
19
US

Any chance someone knows how to do an Route Add for a dynamic IP address...

I have a VPN connection that keeps pulling an address (dynamic) and the only way I can make it work is if the IP is static and I add a Route Add statement to tell the PC that all 19.168.100.0 traffic to use that static address a gateway....if I could use a dynamic address..it would be a much better selll...

 
Without knowing what equipment you are running I'm shooting in the dark... My first thought would be DDNS (Dynamic DNS) but if your working on a VPN connection then this may not work unless your VPN connection goes to a Broadband router. Let us know what equipment is involved and we might be able to assist you. As far as adding a route statement in Windows 2000 for a Dynamic IP Address I don't think this can be done.......

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 

my windows 2000 machine is connecting to a cisco router. Its a VPN connection and the cisco router is handing out the IP addresses. Since they are dynamic, trying to access a 192.168.100.0 network, the machines tries and goes through the gateway but of course fails. If I set the VPN connection with a static IP...i add this line..

Route Add -p 192.168.100.0 MASK 255.255.255.0 10.10.100.123

and everything works fine. I just know when I go forward with my answers, i am going to get told that having to do a static on everyone machine is going to require more overhead than they want to dish out. Thats why i hoping there was a way to add a route to the 192.168.100.0 through any 10.10.100.0 address...
 
you could perhaps configure the dhcp server to set up the route as it finds it when you log on, how that would be done I am not sure, but its worth a look

Tels Win2000 Network Administrator
 
I'm still not totally clear on how you're configured. This is what I’ve been able to gather (please correct me if I'm wrong) you have a local network (192.168.100.0) and you're connecting through a VPN and receiving a DHCP address (10.10.100.0) in order for you to connect to your local network all packets are getting forwarded to the 10.10.100.0 network that knows nothing about the 192.168.100.0 network and dropping the packets. If this is the case then under your VPN connection properties you could do this.....

1. Open the property tab of the VPN connection.
2. Click on Networking.
3. Highlight TCP/IP and click on Properties.
4. Go to the bottom and click on Advanced.
5. Under the General Setting, remove the check mark from use default gateway on remote network.

This should keep all your default gateways the same but still give you access to any of the 10.10.100.0 network via the route when your VPN connection is established.

Of course I'm not sure about how you're configured so assuming the above is correct this should resolve your issue and keep all your 192.168.100.0 packets on your local network...



david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top