Solved

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

Posted on 2007-04-06
8
295 Views
Last Modified: 2010-08-05
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.
0
Comment
Question by:abd_1980us
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18865071
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
 

Author Comment

by:abd_1980us
ID: 18865119
changing the default gateway will not allow me to access company network resources.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18865160
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
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

Author Comment

by:abd_1980us
ID: 18865250
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
 
LVL 77

Accepted Solution

by:
Rob Williams earned 250 total points
ID: 18865394
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
 

Author Comment

by:abd_1980us
ID: 18865509
Thank you RobWill
this tool was what i looking for.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18865511
Thanks abd_1980us.
Cheers !
--Rob
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 18865526
Another tool you might want to have a look at s:
http://www.netsetman.com/
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question