Solved

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

Posted on 2007-04-06
8
245 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
Comment Utility
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
Comment Utility
changing the default gateway will not allow me to access company network resources.
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
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
 

Author Comment

by:abd_1980us
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 77

Accepted Solution

by:
Rob Williams earned 250 total points
Comment Utility
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
Comment Utility
Thank you RobWill
this tool was what i looking for.
0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
Thanks abd_1980us.
Cheers !
--Rob
0
 
LVL 77

Expert Comment

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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Wifi(LAN) GW being picked up 2 34
Cisco VPN & Windows File Server 2 66
shortcuts on desktops 14 51
HP Laser Jet Errors 10 51
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

744 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

18 Experts available now in Live!

Get 1:1 Help Now