Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2006 12:01:05 +1000 (EST)
From:      lukem.freebsd@cse.unsw.edu.au
To:        Antony Mawer <fbsd-net@mawer.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Plans to port OpenBSD trunk(4)?
Message-ID:  <Pine.LNX.4.64.0608041155400.5039@wagner.orchestra.cse.unsw.EDU.AU>
In-Reply-To: <44D18EAF.1010907@mawer.org>
References:  <44D18EAF.1010907@mawer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Aug 2006, Antony Mawer wrote:
> Is there any interest or plans underway to port the trunk(4) feature from 
> OpenBSD? OpenBSD's trunk(4) appears to be exactly what I'm looking for, but 
> there doesn't appear to be anything I can find on a port to FreeBSD.
>
>    http://www.openbsd.org/cgi-bin/man.cgi?query=trunk&sektion=4
>
> I've been tasked with setting up a system that will have 2x Intel Pro/1000 
> network adapters linked to an HP ProCurve 5300XL modular switch.
>
> I stumbled across ng_fec(4), but it refers explicitly to Cisco Fast 
> EtherChannel; some information suggests that this is supported by the HP 
> switch... would using Netgraph with ng_fec achieve the same end result? Has 
> anyone successfully used it as such?

You HP switch will probably support FEC trunking (the ones I have do), so 
using the ng_fec netgraph module is probably what you want to do. In fact, 
even if your switch uses something other than the FEC scheduler to 
distribute incoming packets, ng_fec will still work to distribute outgoing 
packets.

Here is the config I use (on a 5.x system)...

#!/bin/sh
ngctl mkpeer fec dummy fec
ngctl msg fec0: add_iface '"em0"'
ngctl msg fec0: add_iface '"em1"'
ngctl msg fec0: add_iface '"em2"'
ngctl msg fec0: add_iface '"em3"'
ifconfig fec0 192.168.1.1 255.255.255.0
#this next line should be implied by the previous, but...
ifconfig fec0 up

-- 
Luke



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