Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 19:20:44 +0300
From:      dima <_pppp@mail.ru>
To:        Marc G.Fournier <scrappy@hub.org>
Cc:        net@freebsd.org
Subject:   Re[2]: High ping latency using two ethernet under FreeBSD 4.11 ...
Message-ID:  <E1DBEmi-000O2W-00._pppp-mail-ru@f30.mail.ru>
In-Reply-To: <20050315120119.I92893@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, 15 Mar 2005, dima wrote:
> 
>>> I'm plugging everything into a Cisco 2924 ... is there some way, either on
>>> the FreeBSD side, or Cisco, of 'cleaning this up'?
>>
>> Try ng_fec. It works ok with 2950, not sure about 2924 though.
> 
> man page is a bit short ... what exactly is ng_fec, and how does it affect 
> things?

ng_fec is the NetGraph module which implements Cisco FastEtherChannel technology.
This actually means you have 1 virtual interface fec0 representing 2 or more physical interfaces.
The load balancing scheme can be assigned by a Catalyst, but low-end models like 2950 and 3550
can only balance traffic based on the least significant bit(s) of MAC-address.

> 
> For instance, do I start configuring an 'ifconfig fec0' device instead of 
> my usual fxp0?  or, does everything pretty much stay the same except 
> running that extra daemon/command?

Here comes the basic setup employed at my site:

$ cat /etc/rc.local
/sbin/ifconfig bge0 media 100BaseTX mediaopt full-duplex up
/sbin/ifconfig bge1 media 100BaseTX mediaopt full-duplex up
/usr/sbin/ngctl -f /var/fec0.conf
/sbin/ifconfig fec0 inet x.x.x.x netmask 255.255.255.224 up
/sbin/route add default x.x.x.x
$ cat /var/fec0.conf
mkpeer fec dummy fec
msg fec0: add_iface "bge0"
msg fec0: add_iface "bge1"
msg fec0: set_mode_inet

> 
> any docs other then the man pages that I should read through?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DBEmi-000O2W-00._pppp-mail-ru>