Jump to content
Калькуляторы

Freebsd lagg проблемы с распределением трафика

Имеется несколько Nas серверов разных конфигураций с системой Freebsd 10.1 и Freebsd 9.2 на всех собрано по 2 lagg интерфейса, первый лаг смотрит в cisco 3750, и везде наблюдается одна и та же проблема с балансировкой трафика между интерфейсами.

rc.conf

ifconfig_igb0="up"
ifconfig_igb1="up"
ifconfig_igb2="up"
ifconfig_igb3="up"

ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 xx.xx.xx.xx netmask xx.xx.xx.xx"
ifconfig_lagg1="laggproto lacp laggport igb2 laggport igb3 xx.xx.xx.xx netmask xx.xx.xx.xx"

defaultrouter="xx.xx.xx.xx"

cloned_interfaces="lagg0 lagg1 vlan.."

 

cisco 3750

port-channel load-balance src-dst-ip

 

график интерфейсов в lagg0:

nag.jpg

Edited by nearia

Share this post


Link to post
Share on other sites

Имеется несколько Nas серверов разных конфигураций с системой Freebsd 10.1 и Freebsd 9.2 на всех собрано по 2 lagg интерфейса, первый лаг смотрит в cisco 3750, и везде наблюдается одна и та же проблема с балансировкой трафика между интерфейсами.

rc.conf

ifconfig_igb0="up"
ifconfig_igb1="up"
ifconfig_igb2="up"
ifconfig_igb3="up"

ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 xx.xx.xx.xx netmask xx.xx.xx.xx"
ifconfig_lagg1="laggproto lacp laggport igb2 laggport igb3 xx.xx.xx.xx netmask xx.xx.xx.xx"

defaultrouter="xx.xx.xx.xx"

cloned_interfaces="lagg0 lagg1 vlan.."

 

cisco 3750

port-channel load-balance src-dst-ip

 

график интерфейсов в lagg0:

nag.jpg

 

Попробуйте этот Алгоритм.

port-channel load-balance src-dst-mac

Share this post


Link to post
Share on other sites

ifconfig_lagg0="laggproto lacp laggport em1 laggport em0 lagghash l2,l3,l4 up"

на ifconfig сейчас можете увидеть как у вас балансируется.

Share this post


Link to post
Share on other sites

на ifconfig сейчас можете увидеть как у вас балансируется.

lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>

ether a4:5d:36:fc:f9:a4

inet xx.xx.xx.xx netmask 0xffffffe0 broadcast xx.xx.xx.xx

media: Ethernet autoselect

status: active

laggproto lacp lagghash l2,l3,l4

laggport: igb1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>

laggport: igb0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>

 

Попробуйте этот Алгоритм.

port-channel load-balance src-dst-mac

Не получится сменить , так как 3750 имеет соединения с другими свичами и там всё нормально, а применить другой тип балансировки на 1 порт не получается , только глобально, к слову 3750 на этом порту видит маки только сетевых карт подключенного к ней сервера (igb0,igb1).

Share this post


Link to post
Share on other sites

ifconfig_lagg1="laggproto lacp laggport igb2 laggport igb3 xx.xx.xx.xx netmask xx.xx.xx.xx"

Этот интерфейс смотрит в zyxel с клиентами, на нём с балансировкой всё нормально. На zyxel'е создан trunk и включен lacp.

Share this post


Link to post
Share on other sites

Включил дебаг. Не могу разобраться в полученной информации.

Dec  9 06:15:50 nas202 kernel: igb2: lacp_sm_rx_record_pdu
Dec  9 06:15:50 nas202 kernel: igb3: lacpdu receive
Dec  9 06:15:50 nas202 kernel: actor=(FFFF,50-67-F0-72-96-27,0009,0001,000A)
Dec  9 06:15:50 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:50 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A6,00EB,8000,0004)
Dec  9 06:15:50 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:50 nas202 kernel: maxdelay=32768
Dec  9 06:15:50 nas202 kernel: igb3: lacp_sm_rx_update_selected
Dec  9 06:15:50 nas202 kernel: igb3: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:15:50 nas202 kernel: igb3: lacp_sm_rx_update_ntt
Dec  9 06:15:50 nas202 kernel: igb3: lacp_sm_rx_record_pdu
Dec  9 06:15:50 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:50 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:50 nas202 kernel: igb0: lacpdu receive
Dec  9 06:15:50 nas202 kernel: actor=(8000,00-19-2F-64-E2-00,000B,8000,0012)
Dec  9 06:15:50 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:50 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0001)
Dec  9 06:15:50 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:50 nas202 kernel: maxdelay=32768
Dec  9 06:15:50 nas202 kernel: igb0: lacp_sm_rx_update_selected
Dec  9 06:15:50 nas202 kernel: igb0: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:15:50 nas202 kernel: igb0: lacp_sm_rx_update_ntt
Dec  9 06:15:50 nas202 kernel: igb0: lacp_sm_rx_record_pdu
Dec  9 06:15:50 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:50 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:51 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:51 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:51 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:51 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:52 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:52 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:52 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:52 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:53 nas202 kernel: igb1: lacpdu receive
Dec  9 06:15:53 nas202 kernel: actor=(8000,00-19-2F-64-E2-00,000B,8000,0015)
Dec  9 06:15:53 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:53 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0002)
Dec  9 06:15:53 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:15:53 nas202 kernel: maxdelay=32768
Dec  9 06:15:53 nas202 kernel: igb1: lacp_sm_rx_update_selected
Dec  9 06:15:53 nas202 kernel: igb1: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:15:53 nas202 kernel: igb1: lacp_sm_rx_update_ntt
Dec  9 06:15:53 nas202 kernel: igb1: lacp_sm_rx_record_pdu
Dec  9 06:15:53 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:53 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:53 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:53 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:54 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:54 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:54 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:54 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:55 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:55 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:55 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:55 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:56 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:56 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:56 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:56 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:57 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:57 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:57 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:57 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:58 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:58 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:58 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:58 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:59 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:59 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:59 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:15:59 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:00 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:00 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:00 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:00 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:01 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:01 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:01 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:01 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:02 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:02 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:02 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:02 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:03 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:03 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:03 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:03 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:04 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:04 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:04 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:04 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:05 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:05 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:05 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:05 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:06 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:06 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:06 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:06 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:07 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:07 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:07 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:07 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:08 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:08 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:08 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:08 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:09 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:09 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:09 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:09 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:10 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:10 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:10 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:10 nas202 kernel: igb1: lacpdu transmit
Dec  9 06:16:10 nas202 kernel: actor=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0002)
Dec  9 06:16:10 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:10 nas202 kernel: partner=(8000,00-19-2F-64-E2-00,000B,8000,0015)
Dec  9 06:16:10 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:10 nas202 kernel: maxdelay=0
Dec  9 06:16:10 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:10 nas202 kernel: igb0: lacpdu transmit
Dec  9 06:16:10 nas202 kernel: actor=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0001)
Dec  9 06:16:10 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:10 nas202 kernel: partner=(8000,00-19-2F-64-E2-00,000B,8000,0012)
Dec  9 06:16:10 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:10 nas202 kernel: maxdelay=0
Dec  9 06:16:11 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:11 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:11 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:11 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:12 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:12 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:12 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:12 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:13 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:13 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:13 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:13 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:14 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:14 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:14 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:14 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:15 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:15 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:15 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:15 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:16 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:16 nas202 kernel: igb3: lacpdu transmit
Dec  9 06:16:16 nas202 kernel: actor=(8000,A4-5D-36-FC-F9-A6,00EB,8000,0004)
Dec  9 06:16:16 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:16 nas202 kernel: partner=(FFFF,50-67-F0-72-96-27,0009,0001,000A)
Dec  9 06:16:16 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:16 nas202 kernel: maxdelay=0
Dec  9 06:16:16 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:16 nas202 kernel: igb2: lacpdu transmit
Dec  9 06:16:16 nas202 kernel: actor=(8000,A4-5D-36-FC-F9-A6,00EB,8000,0003)
Dec  9 06:16:16 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:16 nas202 kernel: partner=(FFFF,50-67-F0-72-96-27,0009,0001,0002)
Dec  9 06:16:16 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:16 nas202 kernel: maxdelay=0
Dec  9 06:16:16 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:16 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:17 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:17 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:17 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:17 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:18 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:18 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:18 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:18 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:19 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:19 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:19 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:19 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:19 nas202 kernel: igb2: lacpdu receive
Dec  9 06:16:19 nas202 kernel: actor=(FFFF,50-67-F0-72-96-27,0009,0001,0002)
Dec  9 06:16:19 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:19 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A6,00EB,8000,0003)
Dec  9 06:16:19 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:19 nas202 kernel: maxdelay=32768
Dec  9 06:16:19 nas202 kernel: igb2: lacp_sm_rx_update_selected
Dec  9 06:16:19 nas202 kernel: igb2: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:16:19 nas202 kernel: igb2: lacp_sm_rx_update_ntt
Dec  9 06:16:19 nas202 kernel: igb2: lacp_sm_rx_record_pdu
Dec  9 06:16:19 nas202 kernel: igb3: lacpdu receive
Dec  9 06:16:19 nas202 kernel: actor=(FFFF,50-67-F0-72-96-27,0009,0001,000A)
Dec  9 06:16:19 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:19 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A6,00EB,8000,0004)
Dec  9 06:16:19 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:19 nas202 kernel: maxdelay=32768
Dec  9 06:16:19 nas202 kernel: igb3: lacp_sm_rx_update_selected
Dec  9 06:16:19 nas202 kernel: igb3: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:16:19 nas202 kernel: igb3: lacp_sm_rx_update_ntt
Dec  9 06:16:19 nas202 kernel: igb3: lacp_sm_rx_record_pdu
Dec  9 06:16:20 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:20 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:20 nas202 kernel: igb0: lacpdu receive
Dec  9 06:16:20 nas202 kernel: actor=(8000,00-19-2F-64-E2-00,000B,8000,0012)
Dec  9 06:16:20 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:20 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0001)
Dec  9 06:16:20 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:20 nas202 kernel: maxdelay=32768
Dec  9 06:16:20 nas202 kernel: igb0: lacp_sm_rx_update_selected
Dec  9 06:16:20 nas202 kernel: igb0: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:16:20 nas202 kernel: igb0: lacp_sm_rx_update_ntt
Dec  9 06:16:20 nas202 kernel: igb0: lacp_sm_rx_record_pdu
Dec  9 06:16:20 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:20 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:21 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:21 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:21 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:21 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:22 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:22 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:22 nas202 kernel: igb1: lacpdu receive
Dec  9 06:16:22 nas202 kernel: actor=(8000,00-19-2F-64-E2-00,000B,8000,0015)
Dec  9 06:16:22 nas202 kernel: actor.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:22 nas202 kernel: partner=(8000,A4-5D-36-FC-F9-A4,00CB,8000,0002)
Dec  9 06:16:22 nas202 kernel: partner.state=3d<ACTIVITY,AGGREGATION,SYNC,COLLECTING,DISTRIBUTING>
Dec  9 06:16:22 nas202 kernel: maxdelay=32768
Dec  9 06:16:22 nas202 kernel: igb1: lacp_sm_rx_update_selected
Dec  9 06:16:22 nas202 kernel: igb1: lacp_sm_rx_update_selected_from_peerinfo
Dec  9 06:16:22 nas202 kernel: igb1: lacp_sm_rx_update_ntt
Dec  9 06:16:22 nas202 kernel: igb1: lacp_sm_rx_record_pdu
Dec  9 06:16:22 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:22 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:23 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:23 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:23 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:23 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:24 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:24 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:24 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:24 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:25 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:25 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:25 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:25 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:26 nas202 kernel: igb3: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:26 nas202 kernel: igb2: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:26 nas202 kernel: igb1: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1
Dec  9 06:16:26 nas202 kernel: igb0: lacp_sm_mux: state= 0x4, selected= 0x2, p_sync= 0x1, p_collecting= 0x1

Share this post


Link to post
Share on other sites

А это только на 10ке проблема ? У меня на 9.2 так:

 

 

igb2: 20.04 Mb/s 76.73 Mb/s 96.77 Mb/s

igb3: 28.03 Mb/s 64.59 Mb/s 92.62 Mb/s

igb4: 55.10 Mb/s 33.55 Mb/s 88.65 Mb/s

igb5: 87.76 Mb/s 13.22 Mb/s 100.98 Mb/s

 

lagg0: 48.06 Mb/s 141.38 Mb/s 189.44 Mb/s

lagg21: 142.81 Mb/s 46.77 Mb/s 189.58 Mb/s

 

uname -rsm

FreeBSD 9.2-STABLE amd64

 

 

4500E-#sh etherchannel load-balance

EtherChannel Load-Balancing Configuration:

src-dst-ip

Share this post


Link to post
Share on other sites

Имеется несколько Nas серверов разных конфигураций с системой Freebsd 10.1 и Freebsd 9.2 на всех собрано по 2 lagg интерфейса, первый лаг смотрит в cisco 3750, и везде наблюдается одна и та же проблема с балансировкой трафика между интерфейсами.

 

http://dadv.livejournal.com/139170.html#lagg

http://dadv.livejournal.com/161010.html

Edited by dadv

Share this post


Link to post
Share on other sites

net.link.lagg.0.flowid_shift=0

net.link.lagg.1.flowid_shift=0

 

flowid_shift это решение другой проблемы, топик-стартеру это не поможет.

Share this post


Link to post
Share on other sites

net.link.lagg.0.flowid_shift=0

net.link.lagg.1.flowid_shift=0

 

flowid_shift это решение другой проблемы, топик-стартеру это не поможет.

 

Как вариант.

Сам планирую переезд на 10.1, в которых буду использовать lagg. Потому решение сабжа интересно.

Share this post


Link to post
Share on other sites

При много благодарен всем кто принял участие в обсуждении проблемы, особенно dadv, трафик появился на обоих интерфейсах. Спасибо!

Share this post


Link to post
Share on other sites

При много благодарен всем кто принял участие в обсуждении проблемы, особенно dadv, трафик появился на обоих интерфейсах. Спасибо!

 

Рад слышать. Что исправляли ?

Share this post


Link to post
Share on other sites

Я смотрю у вас похожая ситуация, если поможете буду благодарен. out делится а с in чтото непонятное происходит

post-130343-080521000 1456496053_thumb.png

Edited by axynamatata

Share this post


Link to post
Share on other sites

С этим с производителю свич чипа.

Они тупо по хэшу от мака льют в один порт, раундробина не умеют, поэтому от одного клиента больше гига не получить.

Share this post


Link to post
Share on other sites

Извините что потревожил, все заработало после выбора алгаритма ip_source, с остальными работать не хотело

 

Не забывайте идти на офф форум Длинка и в ветке вашего коммутатора открывать жалобу-баг репорт.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.