Hi,
I am trying to make NIC bonding work on my Raspberry Pi 2. It works like a charm with my Apple USB to Etheet Adapter and the WiFi Dongle from Detroit DIY Electronics, but not with the inteal eth0. Regardless if I want to combine eth0 + eth1, or eth0 + wlan0. eth1 + wlan0 works always.
Following the working /etc/network/interfaces file:
Code:
auto bond0 iface bond0 inet dhcp bond-slaves eth1 wlan0 bond-mode active-backup bond-primary eth1 bond-miimon 100 allow-hotplug wlan0 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Code:
cat /proc/net/bonding/bond0
The problem seems to be that eth0 always wants to have its own IP address and isn't forwarding it to its master bond0. I can see that by observing ifconfig while unplugging and recoecting the etheet cable. After reboot and after plugging the cable in again the IP of bond0 moves to eth0 and the inteet coection is gone. Removing the cable results in the fact that bond0 gets its old IP back.
When I run
Code:
sudo ip addr flush dev eth0
Code:
up /sbin/ip addr flush dev eth0
Does someone has an explanation for this strange behavior? I am debugging for 2 days now already and can't find the reason nor a work around.
Thanks a lot for your help.
Best.
- - , .
برچسب:
نویسنده: استخدام کار