Bonding eth interfaces on iMX6sx sabre-sdb board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bonding eth interfaces on iMX6sx sabre-sdb board

1,340 Views
eugenekozlov
Contributor I

Hi,

I got 6sx sabre-sdb board. Distribution is build using Yocto project as defined in BSP documentation (fsl-yocto-L3.14.38_6ul-ga.tar.gz).

I’m trying  to bond eth0 and eth1 interfaces in active-backup mode.

Kernel (3.14.38) has been reconfigured to include bonding driver.

Driver is operational and can be shaped through /sys/class/net/bond0/bonding/.

But, when I’m manually enslave eth0 or eth1 interface using ifenslave, board hungs.

Following are the steps I’m using to initialize bond0 interface.

root@imx6sxsabresd:~# echo 1 > /sys/class/net/bond0/bonding/mode
root@imx6sxsabresd:~# ifconfig bond0 0.0.0.0 0.0.0.0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
8021q: adding VLAN 0 to HW filter on device bond0
root@imx6sxsabresd:~# echo 100 > /sys/class/net/bond0/bonding/miimon
bonding: bond0: Setting MII monitoring interval to 100.
root@imx6sxsabresd:~# ifenslave -f -v bond0 eth1
ifenslave.c:v1.1.0 (December 1, 2                           

At this point board is dead.

Also, I have tried to achieve same through configuring bond0 in /etc/network/interfaces.

Adding following will create bond0, but fail to enslave eth0 and eth1 (board is alive).

auto bond0

iface bond0 inet dhcp

                    bond-slaves eth0 eth1

                    bond-mode active-backup

                    bond-miimon 100

                    bond-primary eth0 eth1

Have anyone got eth0 and eth1 interfaces working in active-backup mode using bonding or team drivers?

Is there some obvious step(s) I have missed?

Any help is much appreciated .

  1. Thanks.
Labels (3)
0 Kudos
Reply
1 Reply

899 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eugene

it may be suggested to apply to Professional Services, as FSL BSPs do not support

this functionality, sorry.

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_PROFESSIONAL

Best regards

igor

0 Kudos
Reply