Hello! Thu, Dec 06, 2012 at 03:14:06PM +0200, minotaur wrote:
Привет.
On Wed, Dec 05, 2012 at 01:24:17PM +0200, Dmitry Aksyonov wrote:
On Wed, Dec 05, 2012 at 12:48:51PM +0200, Alexander Shikoff wrote:
В случае когда через lacp ходит один vlan между роутерами и /30 и ip между ними при обычной L2 src/dst mac балансировке трафик будет через один порт ходить. Но я вижу что ходит с нормальной погрешностью балансинга через оба :) Дима, а LACP работает между двумя X350ми или с другой стороны другой вендор?
из того что есть сейчас:
X350 - Juniper EX4200, даже не LACP, а static, тут несколько вланов, один с Ip сильно толще других. X350 - какаято циска :) vlan с ip и /30.
пару-тройку лет назад у меня точно работали связки: X350 - Cisco 6509/WS-X6724-SFP X350 - Juniper EX3200 X350 - X350
может и еще какието, но уже забыл :) явных проблем с балансировкой не припоминаю.
интересно проверить X350 со свежей прошивкой и L2 как будет себя вести :)
Таки сломал ExtremeNetworks L3_L4 для x350, судя по всему, который действительно работал ранее (мы так же тестировали, т.к. свитч с L2 балансировкой не нужен сейчас, думаю, почти никому). Тестировал с такой схемой: Router - x350 - Linux сервер с 2-мя сетевыми картами 100Мбит/с. В качестве получателя трафика - торрент клиент (сейчас просто не располагаю временем делать что-то более серьезное для теста). Настройки на сервере не изменялись. В первом случае я использовал старый конфиг с новым XOSом. т.е. с enable sharing 3 grouping 3-4 algorithm address-based L3_L4 lacp в конфигурационном файле, но с XOS 15.2.2.7 sh ver Switch : 111111-11-11 11111-11111 Rev 3.0 BootROM: 1.0.3.1 IMG: 15.2.2.7 XGM2-2xf-1 : 222222-22-22 22222-22222 Rev 6.0 Image : ExtremeXOS version 15.2.2.7 v1522b7 by release-manager on Fri Oct 26 15:04:10 EDT 2012 #show sharing Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions ============================================================================== 3 3 LACP L3_L4 3 Y A 1 L3_L4 4 Y A 1 5 Static L2 5 - R 0 L2 6 - R 0 L2 7 - R 0 ============================================================================== Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based (L3_L4) Layer 3 address and Layer 4 port based Number of load sharing trunks: 2 #enable sharing 10 grouping 10-11 algorithm address-based ? <cr> Execute the command health-check link aggregation group handled by health-check application L2 Based on layer 2 MAC (default) lacp link aggregation group handled by LACP ba113a.15 # show ports 3-4 utilization Link Utilization Averages Thu Dec 6 17:20:54 2012 Port Link Rx Peak Rx Tx Peak Tx State bytes/sec bytes/sec bytes/sec bytes/sec ================================================================================ noctest A 24 24 8832804 10150875 noctest A 395761 406091 7756147 8388490 # disable ports 4 # disable sharing 3 Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, etc. etc.) # enable sharing 3 grouping 3-4 algorithm address-based ? <cr> Execute the command health-check link aggregation group handled by health-check application L2 Based on layer 2 MAC (default) lacp link aggregation group handled by LACP # enable sharing 3 grouping 3-4 algorithm address-based L2 lacp Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, etc. etc.) #enable ports 4 show sharing Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions ============================================================================== 3 3 LACP L2 3 Y A 0 L2 4 Y A 1 5 Static L2 5 - R 0 L2 6 - R 0 L2 7 - R 0 ============================================================================== Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based (L3_L4) Layer 3 address and Layer 4 port based Number of load sharing trunks: 2 # show ports 3-4 utilization Link Utilization Averages Thu Dec 6 17:31:16 2012 Port Link Rx Peak Rx Tx Peak Tx State bytes/sec bytes/sec bytes/sec bytes/sec ================================================================================ noctest A 0 24 124 148 noctest A 300512 381569 10404323 13127293 #sh ver Switch : 111111-11-11 11111-11111 Rev 3.0 BootROM: 1.0.3.1 IMG: 12.4.4.10 XGM2-2xf-1 : 222222-22-22 22222-22222 Rev 6.0 Image : ExtremeXOS version 12.4.4.10 v1244b10-patch1-5 by release-manager on Tue Jun 14 13:22:02 PDT 2011 BootROM : 1.0.3.1 show sharing Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions ============================================================================== 3 3 LACP L2 3 Y A 0 L2 4 Y A 0 5 Static L2 5 - R 0 L2 6 - R 0 L2 7 - R 0 ============================================================================== Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based (L3_L4) Layer 3 address and Layer 4 port based Number of load sharing trunks: 2 #show ports 3-4 utilization Link Utilization Averages Thu Dec 6 18:02:53 2012 Port Link Rx Peak Rx Tx Peak Tx State bytes/sec bytes/sec bytes/sec bytes/sec ================================================================================ noctest A 24 24 8849068 11832769 noctest A 288767 378138 124 149 #enable sharing 3 grouping 3-4 algorithm address-based L3_L4 lacp Warning: Any config on the master port is lost (STP, IGMP Filter, IGMP Static Group, MAC-Security, etc. etc.) show sharing Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions ============================================================================== 3 3 LACP L3_L4 3 Y A 0 L3_L4 4 Y A 1 5 Static L2 5 - R 0 L2 6 - R 0 L2 7 - R 0 ============================================================================== Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based (L3_L4) Layer 3 address and Layer 4 port based Number of load sharing trunks: 2 #show ports 3-4 utilization Link Utilization Averages Thu Dec 6 18:08:05 2012 Port Link Rx Peak Rx Tx Peak Tx State bytes/sec bytes/sec bytes/sec bytes/sec ================================================================================ noctest A 0 24 6048527 7278753 noctest A 335100 427008 7315259 9594534
Интересную особенность X350го показал сегодня Игорь. Проверил у себя тоже:
sw3-ki.3 # show sharing Load Sharing Monitor Config Current Agg Ld Share Ld Share Agg Link Link Up Master Master Control Algorithm Group Mbr State Transitions ============================================================================== 41 41 LACP L2 41 Y A 1 ============================================================================== Link State: A-Active, D-Disabled, R-Ready, NP-Port not present, L-Loopback Load Sharing Algorithm: (L2) Layer 2 address based (L3_L4) Layer 3 address and Layer 4 port based Number of load sharing trunks: 1 sw3-ki.4 # show forwarding configuration
L2 and L3 Forwarding table hash algorithm: Configured hash algorithm: crc32 Current hash algorithm: crc32
Hash criteria for IP unicast traffic for L2 load sharing and ECMP route sharing Sharing criteria: L3_L4
IP multicast: Group Table Compression: on
Switch Settings: Switching mode: store-and-forward
Fabric Flow Control: Fabric Flow Control: auto
Прикольный свитч, однако :)
-- Kind Regards, Alexander Shikoff AMS1-UANIC
-- Best regards, Igor Kremez Internet Data Center "ColoCALL"