Hi all,
I just noticed that my two nics that are bonded via mode 0 are showing
the same mac addy in ifconfig.
Is this normal because of the nature of my bond?
In syslog I keep getting;
kernel: pbond0: received packet with own address as source address
Some guidance is appreciated before I dive in and troubleshoot.
If I don't list the mac addy in my ifcfg-th# files, only one of the 2
nic comes up during boot.
If I turn off bonding, then each nic shows its correct mac addy.
This leads me to believe that since my switch isn't config'd for
bonding when in mode 0, that the mac addy must be duplicated amongst
all members of the bond in order for packets to be distributed; ie the
bond to work in round robin fashion.
uname;
2.6.18-128.7.1.el5xen
/etc/modprode.conf
alias eth0 tg3
alias eth1 tg3
alias eth2 forcedeth
alias eth3 forcedeth
alias scsi_hostadapter2 mptsas
alias scsi_hostadapter mptspi
alias scsi_hostadapter1 mptfc
alias scsi_hostadapter2 mptsas
alias bond0 bonding
options bond0 miimon=80 mode=0
alias peth0 tg3
/etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
USERCTL=no
HWADDR=00:23:8B:CE:9C:5C
ONBOOT=yes
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
/etc/sysconfig/network-scripts/ifcfg-eth1
# Broadcom Corporation NetXtreme BCM5715 Gigabit Ethernet
DEVICE=eth1
BOOTPROTO=none
USERCTL=no
HWADDR=00:23:8B:CE:9C:5D
ONBOOT=yes
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=10.0.70.11
NETMASK=255.255.0.0
NETWORK=10.0.0.0
BROADCAST=10.0.255.255
GATEWAY=10.0.10.1
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
TYPE=Ethernet
ifconfig output;
bond0 Link encap:Ethernet HWaddr 00:23:8B:CE:9C:5C
inet addr:10.0.70.11 Bcast:10.0.255.255 Mask:255.255.0.0
inet6 addr: fe80::223:8bff:fece:9c5c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10714 errors:0 dropped:0 overruns:0 frame:0
TX packets:386 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1157674 (1.1 MiB) TX bytes:37307 (36.4 KiB)
eth0 Link encap:Ethernet HWaddr 00:23:8B:CE:9C:5C
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5618 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:694966 (678.6 KiB) TX bytes:20541 (20.0 KiB)
Interrupt:21
eth1 Link encap:Ethernet HWaddr 00:23:8B:CE:9C:5C
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:5570 errors:0 dropped:0 overruns:0 frame:0
TX packets:191 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:685771 (669.6 KiB) TX bytes:19584 (19.1 KiB)
Interrupt:22
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2111 errors:0 dropped:0 overruns:0 frame:0
TX packets:2111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5464730 (5.2 MiB) TX bytes:5464730 (5.2 MiB)
pbond0 Link encap:Ethernet HWaddr 00:23:8B:CE:9C:5C
inet6 addr: fe80::223:8bff:fece:9c5c/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:11188 errors:0 dropped:0 overruns:0 frame:0
TX packets:383 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1380737 (1.3 MiB) TX bytes:40125 (39.1 KiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:
255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)