Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2007 23:48:43 +0700
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        net@freebsd.org
Subject:   using lagg(4) with something other than IFT_ETHER
Message-ID:  <20071202164843.GA3681@grosbein.pp.ru>

next in thread | raw e-mail | index | archive | help
Hi!

There is a code in src/net/if_lagg.c, lagg_port_create():

/* XXX Disallow non-ethernet interfaces (this should be any of 802) */                               
   if (ifp->if_type != IFT_ETHER)
       return (EPROTONOSUPPORT);

This prevents to aggregate bridges made with if_bridge(4),
their if_type is IFT_BRIDGE. Why?

My goal is to combine two distinct low-speed multihop internet channels
beetween two FreeBSD 6.2 boxes. I alredy have two gif(4) tunnels,
one per channel. I'd like to combine them to have more bandwidth.
First I've found that lagg(4) cannot combine gif(4) tunnels directly,
so I expected it would combine two if_bridge(4) interfaces but it wouldn't.
I was in hope to "convert" gif(4) to ethernet-like using if_bridge(4)...

Eugene Grosbein




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071202164843.GA3681>