Accepted Solution

Nic bonding in Netapp

[ Edited ]



I have two 10G ports and I need to configure as NIC bond like in linux.


Each port is connected to two different switches (Two different hardware vendor).


Both ports has to communicate with single IP and should load balance the traffic like round robin.


OS: ontap 8.1.4 7 mode


Please help for this setup and also let me is any configuration is needed in switching side



Re: Nic bonding in Netapp

You can configure ifgroup on those two ports and you can use both the physical ports with single ip address.


But in this case you ports are connected to different switchs, so you need to configure vPC on switch side.


if switchports are configured in vPC (virtual port channel)

It’s not that simple. Switches must be configured in vPC cluster, you need extra ISL connections as well as additional heartbit one.


I’m not networking specialist so I guess you better discuss it with your network guys. If anything, using vPC mean spending 4 to 6 additional ports only to interconnect switches together.



Re: Nic bonding in Netapp



What you want to do is 802.3ad / 802.1AZ link aggregation...


On the NetApp side it's IFGRPs: ifgrp create [ single | multi | lacp ] ifgrp_name [ -b {rr|mac|ip|port} ] [ interface_list ]


Now, what you want is load-balancing, round-robin: ifgrp create lacp My20gIfGrp  -b rr e1a e2a



BUT, the switch(es) have to support that and be configured also!


You didn't mention, which switches you use, but you did mention different HW vendors.

It's tricky enough to do this with a single switch vendor, it's impossible with different switch vendors!


Just to mention:

With Cisco Nexus and a single switch, it would be configuring a "port channel (PC)".

With Cisco Nexus and two compatible (probably same) switches, it would be configuring a "virtual port channel (vPC)".


I could tell you, how to configure a vPC, but since you didn't mention Cisco Nexus, and DID mention 2 different vendors, it would be pointless.


What you CAN do:

No load-balancing, just failover.


ifgrp create single My10gIfGrp  e1a e2a


In this case, there's no switch configuration necessary, apart from the usual port speed and stuff.



Sorry to disappoint you, but hope that helps (maybe you find 2 switches from the same vendor...)




Re: Nic bonding in Netapp

Hi Sebastian,


My switches wont support portchannel so now i will opt for failover. I am trying below command and i am getting error.


ifgrp create single grp10g c0a c0b
vif: Error: not allowed for a private interface


Please help





Re: Nic bonding in Netapp

Please, display output of 'ifconfig -a' command

Re: Nic bonding in Netapp



Below is the ifconfig -a


e0a: flags=0x270c866<BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
 ether 00:a0:98:3f:b3:88 (auto-unknown-down) flowcontrol full
e0b: flags=0x2f4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
 inet netmask 0xffffff00 broadcast
 ether 00:a0:98:3f:b3:89 (auto-1000t-fd-up) flowcontrol full
 ether 90:e2:ba:36:5b:8c (auto-10g_sr-fd-up) flowcontrol full
 ether 90:e2:ba:36:5b:8d (auto-10g_sr-fd-up) flowcontrol full
 inet netmask 0xffffff00 broadcast
 ether 00:a0:98:3f:b3:8a (auto-10g_twinax-fd-down) flowcontrol full
 inet netmask 0xffffff00 broadcast
 ether 00:a0:98:3f:b3:8b (auto-10g_twinax-fd-down) flowcontrol full
 ether 00:a0:98:3f:b3:8c (auto-unknown-down) flowcontrol full
 inet netmask 0xfffffc00 broadcast noddns
 ether 00:a0:98:3f:b3:8d (auto-100tx-fd-up) flowcontrol full
lo: flags=0x1b48049<UP,LOOPBACK,RUNNING,MULTICAST,TCPCKSUM> mtu 8160
 inet netmask 0xff000000 broadcast
 ether 00:00:00:00:00:00 (RNIC Provider)
losk: flags=0x40a400c9<UP,LOOPBACK,RUNNING> mtu 9188
 inet netmask 0xff000000 broadcast

Re: Nic bonding in Netapp

Your system has used interfaces c0a and c0b for ACP connection. You cannot use with LACP or other port channel capabilities.

Re: Nic bonding in Netapp

That's correct - c0a and c0b are used for HA Pair interconnect; they cannot be used for anything else.

Re: Nic bonding in Netapp

Thanks a lot for your replies but c0a and c0b is not connected I thought these links are 10G for switching connectivity and any way i have opted another slot for failover.

Re: Nic bonding in Netapp

Only ports marked e.., like e0b, e1a (extension card in first slot), and so on can be used for Ethernet connections!


The c.. ports speak iWarp (Infiniband over Ethernet), which you can see when you watch your 3200 system boot (only in your case it seems to use the backplane instead, because you seem to have 2 controllers in 1 chassis)


Hopefully you have other ports you can use... (starting with an "e"!, Not marked "PRIVATE"- like e0P and the c.. ports), like e1a and e1b...