Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 am an Ubuntu Server user. I have two ethernet cards which I want to use as eth0(WAN) and eth1(LAN). However, I have three gateways, each with a different subnet. Like this:


I want to marge these three IPs on eth0(WAN) and how to set my eth1(LAN) gateway? I want this for my office because of if one or two gateways are down another is on so I never disconnect from internet. im not understanding bridge-utils. i want details example about this that how its work? Please help!!

share|improve this question

I'm trying to figure bridge-utils myself, and came across your post. Dear people from the future, here is what I have figured out so far:

To bridge multiple interfaces I believe you just do something like:

brctl addbr br0
brctl addif eth0
brctl addif eth1
brctl addif eth2

then you configure the address of br0

Now as to the original question here:

  • from what you are asking I believe it is not really bridging. I think you just want to set multiple default gateways? This is more to do with routing rather than bridging.

Some bridging links:

share|improve this answer

use apt-get install bridge-utils or read the info on the how to set it up ubuntu server 11.04 pages

share|improve this answer
It would be good to have an answer here. – enedene Jul 12 '11 at 9:43

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.