LAGG on netgraph + rc.d script
Rozhuk Ivan
rozhuk.im at gmail.com
Tue Jul 21 18:02:11 UTC 2015
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"
More information about the freebsd-net
mailing list