Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bonding nic and then multihoming via pppoe
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
psycco
n00b
n00b


Joined: 27 Jan 2006
Posts: 32

PostPosted: Tue Apr 17, 2007 7:50 am    Post subject: bonding nic and then multihoming via pppoe Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Tue Apr 17, 2007 10:07 am    Post subject: Reply with quote

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
View user's profile Send private message
psycco
n00b
n00b


Joined: 27 Jan 2006
Posts: 32

PostPosted: Tue Apr 17, 2007 8:01 pm    Post subject: Reply with quote

ok i would try it...sources are enough on the internet, i think.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum