Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2017 22:25:51 +0200
From:      Rainer Duffner <rainer@ultra-secure.de>
To:        freebsd-net@freebsd.org
Subject:   lagg interface doesn't work
Message-ID:  <F95A6802-8EC3-4027-8AA0-B38118F9A8D9@ultra-secure.de>

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

I=E2=80=99m trying to get a lagg(4) setup going.

This has previously been a linux host, which had to be replace on short =
notice.

I=E2=80=99ve rarely used lagg(4).


Basically, we have two trunk-ports with a bunch of clans that needs to =
go over two 10G interface (bxe(4)).

The switch is a Cisco switch, I don=E2=80=99t know the exact firmware =
revision - I don=E2=80=99t configure the switches here, this a cut and =
paste from the admin.

The previous Linux server used =E2=80=9Epassive=E2=80=9C mode - it seems =
FreeBSD does not do that?

***

Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software =
(cat4500e-UNIVERSALK9-M),

!

!

interface Port-channel121
description server-prod.front
switchport
switchport trunk allowed vlan 2000,2002,2004,2007,2012,2014
switchport mode trunk
mtu 9170
spanning-tree portfast trunk
end

!

!

interface TenGigabitEthernet1/1/15
description server-prod.front-1.1
switchport trunk allowed vlan 2000,2002,2004,2007,2012,2014
switchport mode trunk
mtu 9170
channel-group 121 mode active
spanning-tree portfast trunk
end

!

interface TenGigabitEthernet2/1/15
description server-prod.front-2.1
switchport trunk allowed vlan 2000,2002,2004,2007,2012,2014
switchport mode trunk
mtu 9170
channel-group 121 mode active
spanning-tree portfast trunk
end


On the FreeBSD-side (11.1-AMD64), I have:
(based on the excellent examples here: =
https://high5.nl/freebsd-lagg-vlan-ipfw-mini-howto)

ifconfig_bxe0=3D"up"
ifconfig_bxe1=3D"up"
cloned_interfaces=3D"lagg0 vlan2012 vlan2007 vlan2002 vlan2004"
#cloned_interfaces=3D"lagg0 vlan2004"
ifconfig_lagg0=3D"up laggproto lacp laggport bxe0 laggport bxe1"

ifconfig_vlan2004=3D"inet ip1 netmask 255.255.255.192 vlan 2004 vlandev =
lagg0"
ifconfig_vlan2012=3D"inet ip2 netmask 255.255.255.192 vlan 2012 vlandev =
lagg0 "
ifconfig_vlan2007=3D"inet ip3 netmask 255.255.255.240 vlan 2007 vlandev =
lagg0"
ifconfig_vlan2002=3D"inet ip4 netmask 255.255.255.192 vlan 2002 vlandev =
lagg0"


in sysctl.conf, I added:
net.link.lagg.lacp.default_strict_mode=3D0


Now, this works as long as I put one of the VLAN-interfaces into =
promiscuous mode.


When I stop tcpdump, I get messages like=20

***
Interface stopped  DISTRIBUTING, possible flapping
***

and it really stops doing anything.



Any ideas?


Regards,
Rainer





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F95A6802-8EC3-4027-8AA0-B38118F9A8D9>