Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new to networking, my problem is: I have two internet connections in my company, so when one internet goes down, it should access from another – but it's not working: the Internet is connected to different routers and then connected to a switch. If I want to share Internet connections, what setting do I want to change on the computers or router?

I tried the following settings on the computers (Windows 7):

  1. Set the default gateway & preferred DNS as first internet
  2. Set alternative DNS as second internet
  3. Added the second internet connection IP in the "default gateway" option in the "advanced" tab of network adapter settings.
share|improve this question
    
Take a look at this; github.com/Morhaus/dispatch-proxy might be what you're looking for. –  sgtbeano Dec 2 '13 at 10:50
    
At the title you said it's a home network and then you said it a company. You know, size does matter... You wouldn't want to run with Unnikrishnan's idea if you have more than 10 stations... Anyway, I do think that STTR's idea is better, setting metric value for each network interface. And just to make it clear - DNS won't help here, because after the DNS resolution the computers still connects with IP addresses. –  EliadTech Dec 2 '13 at 12:16
    
Do you want the failover to be transparent to the user ? –  Lawrence Dec 2 '13 at 12:17

2 Answers 2

Not clear exactly what you need.

If two providers merge into one channel with multiple interfaces on a Windows computer, use it Connectify Dispatch

Connectify Dispatch

or alternative software.

If you need to connect and two ISP at the workstation and you have to switch depending on the operating channel:

/1. delete default gateway:

route delete -p 0.0.0.0

/2. view network interface:

route print | find "0x"

/3. add route to ISP 1 and ISP 2

route add -p 0.0.0.0 MASK 0.0.0.0 <ip address NIC1> METRIC <priority ISP1> IF 0x<NIC1>
route add -p 0.0.0.0 MASK 0.0.0.0 <ip address NIC2> METRIC <priority ISP2> IF 0x<NIC2>
share|improve this answer

Make your two internet connections as two gateways.

Users can simply execute this command if any of the gateway is down.

route del default ;route add default gw <alternate gateway IP>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.