Question Locked

Setting Up Routing on a Windows XP Machine

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

Hi Guys..

Wondering if anyone can help...

My Scenario..

I have 2 networks..
a corrporate network on a 10.1.1. IP Range..

and i have a seperate smaller network with a shared internet conenection on a windows XP machine.. sso its ip is 192.168.0.1

what i need to achieve is to have the people on the combined smaller network have access to machines on the 10. network as well as access to the internet via the 192 shared internet connection...

we have consultants at an office and we cannot use there internet connection on the proxy as it is limited.. thus the reason for this network...

2 replies

by udayasankar

Solution #1:

these are the MS DOS commands to be executed:

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 -p
route delete 10.0.0.0
route add 10.0.0.0 mask 255.0.0.0 10.1.1.1 -p

this will solve the problem.
After the machine is rebooted, check for active routes. For this, issue this command:

route print

if a 0.0.0.0 route points to 10.blah blah on top then you must keep these two commands in a batch file (.bat or .cmd):

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.0.1

and have to keep/save in C:\Documents and Settings\All users\Start Menu\Programs\Startup directory or have to do something similar to that so that it has to be invoked at booting.
This solves the problem.

Solution#2:

Install squid proxy server software on the windows XP machine instead of windows default ICS from website:
http://squid.acmeconsulting.it/
.
No MSDOS commands are required at client machines. No other network, no other multiple IP settings for each NIC nor multiple NIC cards.
Install one more browser like Mozilla firefox and keep proxy server settings as follows:

proxy: 10.1.17.4 Port: 3128

IP is the windows XP Machine's IP and port is what you have configured in squid.

When ever you require internet, open Firefox.
For intranet, open IE. Depending on squid configuration, Firefox can open both Inter&Intra nets.
Many application/malwares etc fetch internet connection from IE. That's why to keep your client machines free of hassles, do not configure IE with proxy settings.

This discussion is closed to new replies.