(a mesma pergunta foi feita no link )
Estamos enfrentando algum problema com a configuração de servidores:
Existem 2 servidores, cada um contendo 2 placas de rede que estão ligadas.
Cada servidor está conectado a dois switches Cisco (uma conexão de cada NIC para um switch separado).
A porta no comutador está configurada para ter a VLAN 1111. Também há interconexão entre comutadores (essa VLAN faz parte da interconexão).
Existe o seguinte erro no switch2 (Gi0 / 25 é onde o servidor está conectado, Gi0 / 30 é a interconexão)
*Jun 1 16:18:23.182: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/25 and port Gi0/30
*Jun 1 16:18:45.093: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/30 and port Gi0/25
*Jun 1 16:18:56.031: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/25 and port Gi0/30
*Jun 1 16:19:15.141: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/25 and port Gi0/30
*Jun 1 16:19:23.479: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/30 and port Gi0/25
*Jun 1 16:19:45.616: %SW_MATM-4-MACFLAP_NOTIF: Host 1cc1.de7a.04b6 in vlan 1111 is flapping between port Gi0/30 and port Gi0/25
ao verificar a configuração, você pode ver que ambos os switches aprenderam o endereço MAC 1cc1.de7a.04b6
NLS-PDC-SW2>show mac address-table vlan 1111
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1111 1cc1.de7a.046a DYNAMIC Gi0/26
1111 1cc1.de7a.04b6 DYNAMIC Gi0/25
Total Mac Addresses for this criterion: 23
NLS-PDC-SW1>show mac address-table vlan 1111
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1111 1cc1.de7a.04b6 DYNAMIC Gi0/25
Total Mac Addresses for this criterion: 24
NLS-PDC-SW1>
verificando o arquivo modprobe dos dois servidores, descobri que no server2 (que contém 1cc1.de7a.04b6)
alias bond0 bonding
options bond0 miimon=100
e no server1 (que contém 1cc1.de7a.046a)
alias bond0 bonding
options bond0 miimon=100 mode=1
Estou muito confuso com a configuração necessária.
Você pode por favor sugerir?
EDITAR
[admin@servera ~]$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:7a:04:6a
Slave Interface: eth3
MII Status: up
Link Failure Count: 1
Permanent HW addr: 98:4b:e1:0a:cb:20
[admin@serverb ~]$ cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:7a:04:b6
Slave Interface: eth3
MII Status: up
Link Failure Count: 1
Permanent HW addr: 98:4b:e1:01:49:ba