Discussion Locked

Question for rvkempen@rvkempen.nl

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ron,
Please submit previous answer so that I can accept it!
Cheers,
Ben.

I am using Windows 2000 on my laptop, and I have 2 gateways set up to accomodate connecting to the internet at home and at work.
Whenever my home gateway is first in mylist of 2 gateways, it fails or takes ages to connect to the internet at work, and vice versa!
The first in the list always appears as the default gateway when I look at the results of 'ipconfig' - which seems reasonable, but I am sure that Windows 2000 should be able to look at the other gateways in the list without too much trouble, otherwise what is the point of being able to list lots of different gateways?
I think I am missing out on something, as I keep on deleting the gateway entry of the machine I am not using each time to make the correct one the default - to access the internet with any degree of success!

Cheers.

Ben.

4 replies

by rvkempen

Sorry that it took a while.

Greetings Ron.

Thank you for submitting the question again.

by rvkempen

I've been thinking for a solution, and might have a nice one for you.
we are assuming your "home" default gateway is 192.168.0.254, and your office is 10.0.0.254
create a batchfile called home or something
add the following lines:
route delete 0.0.0.0
rem delete default route
route add 0.0.0.0 mask 0.0.0.0 192.168.0.254
rem tells the system that the default route can be found through 192.168.0.254.
rem end batchfile

Now make a second one called work.
:
route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 10.0.0.254
rem end batchfile

when you're at home simply run the home.bat.
when you're in the office run work.bat.
It still is a workaround, but it saves you the time rebooting.

Good luck.

This discussion is closed to new replies.