Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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:

  1. 192.168.20.12
  2. 52.100.50.10
  3. 10.10.1.3

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
add comment

2 Answers

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:

https://help.ubuntu.com/11.10/serverguide/C/network-configuration.html#bridging http://manpages.ubuntu.com/manpages/oneiric/man5/bridge-utils-interfaces.5.html

share|improve this answer
add comment

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
1  
It would be good to have an answer here. –  enedene Jul 12 '11 at 9:43
add comment

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.