Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two lan ports, I am connected to two different ISP simultaneously.

I am aware that I can use only one ISP at a time. My problem is how to switch active ISP? I want to do this because sometimes one of the ISP becomes slow and I dont want to disconnect and reconnect because it will break my active connection.

share|improve this question
up vote 3 down vote accepted

There is no easy way to do this... if you change your default route, you will break all of your existing connections.

There is a section in the famous Linux Advanced Routing and Traffic Control HOWTO about routing for multiple upstream providers. But it's not light reading. Expect to spend a good amount (possibly many hours, depending on your current level of network understanding) of time reading to understand all of the relevant concepts, then another good while with configuration and testing.

share|improve this answer

Your Answer


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.