Portál AbcLinuxu, 10. května 2025 08:14

Dotaz: NIC bonding - bond0: duplicate address detected!

11.1.2008 08:31 toxin | skóre: 6
NIC bonding - bond0: duplicate address detected!
Přečteno: 2883×
Odpovědět | Admin
Ahoj. Mam dotaz ohledne teaming sitovych karet. Ten se mi podarilo bez problemu vytvorit. Problem je, ze vzdy kdyz nastartuji sitova rozhrani tak se mi ve /var/log/messagess objevuji tyto hlasky:
Jan 11 08:03:18 proxy kernel: bonding: bond0: Warning: the permanent HWaddr of eth0 - 00:1B:78:E4:91:3A - is still in use by bond0. Set the HWaddr of eth0 to a different address to avoid conflicts.
Jan 11 08:03:18 proxy kernel: bonding: bond0: releasing active interface eth0
Jan 11 08:03:18 proxy kernel: bonding: bond0: making interface eth1 the new active one.
Jan 11 08:03:19 proxy kernel: bonding: bond0: releasing active interface eth1
Jan 11 08:03:19 proxy kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Jan 11 08:03:19 proxy kernel: bonding: bond0: enslaving eth0 as a backup interface with a down link.
Jan 11 08:03:19 proxy kernel: bonding: bond0: enslaving eth1 as a backup interface with a down link.
Jan 11 08:03:21 proxy kernel: bonding: bond0: link status up for interface eth0, enabling it in 200 ms.
Jan 11 08:03:21 proxy kernel: bonding: bond0: link status definitely up for interface eth0.
Jan 11 08:03:21 proxy kernel: bonding: bond0: making interface eth0 the new active one.
Jan 11 08:03:21 proxy kernel: bonding: bond0: first active interface up!
Jan 11 08:03:21 proxy kernel: bonding: bond0: link status up for interface eth1, enabling it in 200 ms.
Jan 11 08:03:21 proxy kernel: bonding: bond0: link status definitely up for interface eth1.
Jan 11 08:03:22 proxy kernel: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Jan 11 08:03:22 proxy kernel: bond0: duplicate address detected!
Mam interfacy eth0, eth1 a ted bond0 nastaveny na failover. Je pravda, ze kdyz kouknu do ifconfigu tak maji vsechny interfacy stejnou HW adresu:
bond0     Link encap:Ethernet  HWaddr 00:1B:78:E4:91:3A
          inet addr:172.28.1.10  Bcast:172.28.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:78ff:fee4:913a/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:5877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6025 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:601253 (587.1 KiB)  TX bytes:802921 (784.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:1B:78:E4:91:3A
          inet6 addr: fe80::21b:78ff:fee4:913a/64 Scope:Link
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:5782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6019 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:593013 (579.1 KiB)  TX bytes:802429 (783.6 KiB)
          Interrupt:185 Memory:f8000000-f8011100

eth1      Link encap:Ethernet  HWaddr 00:1B:78:E4:91:3A
          inet6 addr: fe80::21b:78ff:fee4:913a/64 Scope:Link
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:95 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8240 (8.0 KiB)  TX bytes:492 (492.0 b)
          Interrupt:82 Memory:fa000000-fa011100
Neco je evidentne spatne :). Jinak ten bonding funguje, ale jak se zbavit hlasek v syslogu? Diky za napady :)...
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

11.1.2008 09:08 krizb
Rozbalit Rozbalit vše Re: NIC bonding - bond0: duplicate address detected!
Odpovědět | | Sbalit | Link | Blokovat | Admin
Ja bych hledal problem ve switchi - jak je nastaven a zda vůbec půjde nastavit tak aby to pro ten bonding vyhovovalo.
11.1.2008 09:23 toxin | skóre: 6
Rozbalit Rozbalit vše Re: NIC bonding - bond0: duplicate address detected!
Je tam Cisco Catalyst 2960-24TT (WS-C2960-24TT-L) tohle: http://www.cisco.com/en/US/products/ps6406/prod_bulletin0900aecd80322c22.html K nemu nemam bohuzel pristup. Nastavoval ho nekdo jiny. Takze podle Vas to neni problem primo toho linuxoveho stroje?
11.1.2008 22:08 Jan Šimák | skóre: 37 | Hradec Králové
Rozbalit Rozbalit vše Re: NIC bonding - bond0: duplicate address detected!
Odpovědět | | Sbalit | Link | Blokovat | Admin
Mrkni se sem:
http://www.linux-foundation.org/en/Net:Bonding#Configuration_with_sysconfig_support
Některé mody bondingu vyžadují určitá nastavení switche.
14.1.2008 13:28 toxin | skóre: 6
Rozbalit Rozbalit vše Re: NIC bonding - bond0: duplicate address detected!
Dobry dokument :). Podivam se na to a zkonzultuji to se spravcem switche. Diky.
14.1.2008 14:16 Dan Ohnesorg | skóre: 29 | blog: Danuv patentovy blog | Rudná u Prahy
Rozbalit Rozbalit vše Re: NIC bonding - bond0: duplicate address detected!
Odpovědět | | Sbalit | Link | Blokovat | Admin
To ze MAC je stejna je spravne a je to normalni. Bere ze vzdy MAC prvniho pridaneho slave, nebo se da tusim i zvolit nejaka uplne vlastni.
I'm an Igor, thur. We don't athk quethtionth. Really? Why not? I don't know, thur. I didn't athk. TP -- Making Money

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.