I'm trying to configure a two port LAG group using LACP, but for an unknown reason, I cannot ever get it to connect with the switch using FreeBSD 10.2.
I have two NICs, bce0 and bce1 that I am trying to setup LACP with.
I have done the following from the command line as root.
When I check lagg0 using
This is my switch configuration.
For whatever reason, the line protocols never come up on the the port channel or the individual links. They are clearly not communicating properly.
If I show the LACP neighbors, the switch does see the ports, but the port states are wrong.
I have a different machine running FreeNAS (FreeBSD 9.3 based) with a working port channel group. I have an identically configured machine to this one that behaves the same way, with no LACP connections.
This machine, which does not seem to connect LACP on FreeBSD, does work in a Linux LiveCD.
Thanks for any assistance.
I have two NICs, bce0 and bce1 that I am trying to setup LACP with.
I have done the following from the command line as root.
Code:
ifconfig bce0 up
ifconfig bce1 up
ifconfig lagg0 create
ifconfig lagg0 up laggproto lacp laggport bce0 laggport bce1
When I check lagg0 using
ifconfig lagg0
, the flags for each lagg(4) port are always blank. They're not active, collecting, or distributing.This is my switch configuration.
Code:
#sho run int Gi1/29
Building configuration...
Current configuration : 158 bytes
!
interface GigabitEthernet1/29
description firewall2 bce0
switchport trunk allowed vlan 3,9,21,90
switchport mode trunk
channel-group 3 mode active
end
#sho run int Gi1/30
Building configuration...
Current configuration : 158 bytes
!
interface GigabitEthernet1/30
description firewall2 bce1
switchport trunk allowed vlan 3,9,21,90
switchport mode trunk
channel-group 3 mode active
end
#sho run int Port-channel 3
Building configuration...
Current configuration : 137 bytes
!
interface Port-channel3
description bltn-firewall-02
switchport
switchport trunk allowed vlan 3,9,21,90
switchport mode trunk
end
For whatever reason, the line protocols never come up on the the port channel or the individual links. They are clearly not communicating properly.
Code:
#sho ip int Gi1/29
GigabitEthernet1/29 is up, line protocol is down
Inbound access list is not set
Outgoing access list is not set
#sho ip int Gi1/30
GigabitEthernet1/30 is up, line protocol is down
Inbound access list is not set
Outgoing access list is not set
#sho ip int Port-channel 3
Port-channel3 is down, line protocol is down
Inbound access list is not set
Outgoing access list is not set
If I show the LACP neighbors, the switch does see the ports, but the port states are wrong.
Code:
#sho 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 3 neighbors
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi1/29 SA 32768 90b1.1c15.d031 16s 0x0 0xCB 0x3 0x45
Gi1/30 SA 32768 90b1.1c15.d031 16s 0x0 0xCB 0x4 0x45
I have a different machine running FreeNAS (FreeBSD 9.3 based) with a working port channel group. I have an identically configured machine to this one that behaves the same way, with no LACP connections.
This machine, which does not seem to connect LACP on FreeBSD, does work in a Linux LiveCD.
Thanks for any assistance.