View previous topic :: View next topic |
Author |
Message |
psycco n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 32
|
Posted: Tue Apr 17, 2007 7:50 am Post subject: bonding nic and then multihoming via pppoe |
|
|
hello gentoo users,
i'm working on my final paper for a certification as "fachinformatiker" (german word) and i have a big problem.
here is the story:
a part of my work is to set up a pppoe connection from a nic to a modem and then to set up another pppoe connection to another modem (2 x sdsl). the nic's in the same server. this is not the problem i think. but the problem is: how can i bundle these two nic's? both nic's have to be used and if one connection go down only the remaining connection should be used. but if the connection is up again, it should be used again
i found the package: ifenslave to bond two nic's.
and rp-pppoe to make a connection via pppoe. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mudrii l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Tue Apr 17, 2007 10:07 am Post subject: |
|
|
I think is possible to create a script and put it in cron, that check ppp0 connection every 5 min and if is down connect to ppp1
until ppp0 is up and drop the ppp1 to ppp0. or run both pppX and check if is up if is down just reroute to the diff default gw.
Another way to use iptables for load balancing _________________ www.gentoo.ro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
psycco n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2006 Posts: 32
|
Posted: Tue Apr 17, 2007 8:01 pm Post subject: |
|
|
ok i would try it...sources are enough on the internet, i think. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|