computer have two ethernet cards both connected to two different internet connections

I have two ethernet cards at my office PC which have WinXP SP2, one connected to the Company network and the other is connected to an ADSL router netowork, both the networks have an internet connection, but the company network have an Web Sense so that web content is filtered.
I need a way to determine the path to connect the internet using ADSL network if needed without disabling the second ethernet adaptor that is connected to the Company Network noting that the internet in the company netword is through an ISA server.
abd_1980usAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob WilliamsCommented:
Add the appropriate gateway to the network adapter you want to use and remove any gateway address from the other.

Is this a violation of company policy at all ? Someone has gone to great effort and expense to protect the corporate network with ISA and there is now an unprotected back door.
0
abd_1980usAuthor Commented:
changing the default gateway will not allow me to access company network resources.
0
Rob WilliamsCommented:
So I assume your company uses more than a single subnet?
If so do as suggested above but you will need to add static routes.
For example assume you company uses a subnet of 10.1.1.x and the LAN network adapter on your PC is 192.168.100.101. Then at a command prompt add the following route:
route  -p  add  10.1.1.0  mask 255.255.255.0  192.168.100.101
Should you need to remove the route
route delete 10.1.1.0
You can add as many routes as necessary to reach all company subnets. The to which your network adapter is attached should already be available, by default.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

abd_1980usAuthor Commented:
ok
my company subnet at my office is 10.1.5.x with the default gateway 10.1.5.1
and
the ADSL subnet is 192.168.1.x with the defualt gateway of 192.168.1.254
and
the ISA server is on subnet 10.1.1.x

could I do a temprory script or .bat file to modify them and get back again, noting that all IP addresses are assigned by DHCP
0
Rob WilliamsCommented:
A couple of options.
as mentioned earlier:
assign the 192.168.1.x adapter the 192.168.1.254 gateway
remove the gateway from the 10.1.5.x adapter
The 10.1.5.x network is available by default without any added routes.
If you need access to the 10.1.1.x network add the route
route -p add 10.1.1.0 mask 255.255.255.0 10.1.5.x
  (assuming 255.255.255.0 is the subnet mask for the ISA network 10.1.1.0 and that x = your IP)

Yes you can create a batch file. Simply create 2 batch files one with gateway one and the other with gateway 2. all it needs is:
netsh interface ip set address name = "Local Area Connection" gateway = 10.1.5.1 gwmetric = 1

You could also consider a tool that manages different network connections:
http://www.netswitcher.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
abd_1980usAuthor Commented:
Thank you RobWill
this tool was what i looking for.
0
Rob WilliamsCommented:
Thanks abd_1980us.
Cheers !
--Rob
0
Rob WilliamsCommented:
Another tool you might want to have a look at s:
http://www.netsetman.com/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.