Hi,
last week, it was the first time for me setting up a lagg interface with a cisco switch and had this page from the handbook as a guide:
Link Aggregation and Failover
I had troubles getting everything to work because the lagg interface always showed "no carrier" as status and couldn´t get an address. After much googling, I found the reason for this is because you have make the laggports "up" before you create the lagg interface.
The rest went off without a hitch and it was so cool to see everything "just work". You really got double the perfomance and perfect failover!
If this had been explained in the handbook, it would have saved me half a day´s worth of troubleshooting.
Correct approach:
/etc/rc.conf:
I think it would make things much easier for other people in that situation, if this was explained on that page. How does that sound?
/Sebulon
last week, it was the first time for me setting up a lagg interface with a cisco switch and had this page from the handbook as a guide:
Link Aggregation and Failover
I had troubles getting everything to work because the lagg interface always showed "no carrier" as status and couldn´t get an address. After much googling, I found the reason for this is because you have make the laggports "up" before you create the lagg interface.
The rest went off without a hitch and it was so cool to see everything "just work". You really got double the perfomance and perfect failover!
If this had been explained in the handbook, it would have saved me half a day´s worth of troubleshooting.
Correct approach:
Code:
# ifconfig em0 up
# ifconfig em1 up
# ifconfig lagg0 create
# ifconfig lagg0 up laggproto lacp laggport em0 laggport em1
/etc/rc.conf:
Code:
ifconfig_em0="up"
ifconfig_em1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto lacp laggport em0 laggport em1 DHCP"
I think it would make things much easier for other people in that situation, if this was explained on that page. How does that sound?
/Sebulon