On Wed, 16 Dec 2020 15:04:36 +1000, David Gwynne <[email protected]>
wrote:
> By default LACP only sends packets every 30 seconds. Did you run
> tcpdump for long enough to make sure you saw at least one? If you get
> rid of "-D in" do you see the LACP packets that OpenBSD is
> transmitting?
You were right, I didn't wait long enough. (I didn't know about the
"every 30 seconds"). But I tried again and I never saw them with -D in,
and with -D out I saw the one from OpenBSD.
> Alternatively your switch is configured with a static aggregation,
> ie, what the "loadbalance" in trunk(4) does.
You were right again. As I didn't see the LACP packets, I looked more
carefully and yeah it appeared it was not configured as a LACP trunk. I
deleted the trunk and recreated it (it was immutable) and now aggr0 is
active. Yay!
I thought that since trunk0 in lacp mode was working, it meant the
switch was correctly configured.
Out of curiosity, I tried the commands from sthen, and indeed now they
show something:
TL-SG3216#show lacp internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in active mode P - Device is in passive mode
Channel group 1
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi1/0/2 SA Up 32768 0x1 0x345 0x2 0x4d
Gi1/0/4 SA Up 32768 0x1 0x345 0x4 0x4d
Gi1/0/6 SA Up 32768 0x1 0x345 0x6 0x4d
TL-SG3216#show lacp neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in active mode P - Device is in passive mode
Channel group 1
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Key Key Number State
Gi1/0/2 SP 0 0000.0000.0000 0 0 0 0
Gi1/0/4 SP 0 0000.0000.0000 0 0 0 0
Gi1/0/6 SP 0 0000.0000.0000 0 0 0 0
Thank you very much!
Daniel