Solved

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

Posted on 2007-04-06
8
265 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
  • 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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 …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
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…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now