Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 21:02:05 +0300
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   LAGG on netgraph + rc.d script
Message-ID:  <20150721210205.77c36149@rimwks>

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


if_lagg together with two multicast igb at more than 100 megabits led
to 100% CPU interrupts one of the igb.
The problem is not reproduced on other systems without igb adapters.
So I gathered on lagg netgraph and with him there is no problem.


Manual on russian: http://netlab.dhis.org/wiki/ru:software:freebsd:lagg_on_netgraph


ng_lagg script
http://netlab.linkpc.net/download/software/FreeBSD/ng_lagg/ng_lagg.sh

Example
Create: ng_lagg.sh start xxxLAGG em0 em1 igb0
Destroy: ng_lagg.sh stop ngeth0
Add network adapter: ng_lagg.sh if_add xxxLAGG igb1
Remove network adapter: ng_lagg.sh if_del em0


rc.d script
http://netlab.linkpc.net/download/software/FreeBSD/ng_lagg/ng_lagg

Example:
ng_lagg_enable="YES"
ng_lagg_interfaces="lagg0 xyzlagg"
ng_lagg_lagg0="em0 em1"
ng_lagg_xyzlagg="xl0 igb1"
ifconfig_lagg0="inet 192.168.11.77 netmask 255.255.255.0"
ifconfig_xyzlagg="inet 192.168.22.77 netmask 255.255.255.0"

vlans_lagg0="vlan1234"
create_args_vlan1234="vlan 1234"
ifconfig_vlan1234="inet 192.168.0.77 netmask 255.255.255.0"




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