On Thu, Feb 01, 2007 at 10:08:10PM -0800, [EMAIL PROTECTED] wrote:
| I've read the manpage and Googled but to no avail - could trunk(4) be
| used to aggregate interfaces on separate networks?  For example, say I
| have a pair of internet connections and I'd like to set up a failover
| or roundrobin between the two... would trunk(4) be able to handle this
| or would another method be preferable?  If trunk(4) isn't able to
| handle this, what would?

I'm not sure (aka, I've never done it (and wouldn't, but read on for
more on that)), but it seems to me that trunking two gif(4) tunnels
together would/could/should work in theory. You set up two tunnels to
a certain destination somewhere on the internet, trunk these two and
then use the tunnel destination as your next hop for routing.

This is probably one of the worst ideas on this list in some time
(that isn't an obvious flame). You shouldn't. Your two internet
connections are layer three, they have their own IP address and
gateway. Trunking is a layer two protocol. It makes little sense
(perhaps it does for certain specialized setups, I doubt this is what
you want/have).

The proper multihoming solution you should be looking at for your
multihoming purposes is bgpd(8). Talk to your ISP(s) and ask for a
little bit of fixed IP space, set up two (or theoretically more) bgp
sessions where you learn a default gateway and send your little piece
of space and you should be good for failover. Most consumer ISP's
aren't very keen on this sort of thing, for obvious reasons (their
clients are largely stupid when it comes to IP and routing), expect to
search long and hard for one that will help you and then expect to pay
a premium for this sort of service.

There's other solutions, but the one you're thinking of isn't a very
good (generic) failover/roundrobin one. Unless you're curious, testing
or just interested in your internet connection breaking in fascinating
ways, dont.

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to