Solved

NPAR and Linux's NIC Bonding

Posted on 2013-05-21
1
643 Views
Last Modified: 2014-08-06
Hi Guys,

We have blade servers with 2 x physical NIC ports. After I enabled NPAR , I get 4 virtual ports per each physical ports (Broadcom) totalling 8 virtual ports.
Servers are running RHEL6 and I would like to create NIC bonding using virtual ports.

Here are some pointers I got so far -
You can not use virtual ports from the same physical port in the same bond.
You can't not use bonding mode 4 (802.3ad LACP) because that requires entire physical port to work.
For Windows OS, SLB(Smart Load Balancing) mode is used for same setup.

I want to know which mode I should use for Linux Servers.

Remarks: I don't want Active/Backup or Round-robin.

Thanks in advance,
0
Comment
Question by:netlynker
1 Comment
 
LVL 20

Accepted Solution

by:
Daniel McAllister earned 500 total points
ID: 39188551
NPAR is an acronym used by several vendors for different technologies. What you describe appears to be the VMware version, where you are creating virtual NIC interfaces for use by VM client Operating Systems.

If that is the case, then you'll want your Linux client to be assigned two virtual ports, making sure that they are mapped to (the 2) physically different NICs.

Once the assignment is done in VMware, the Linux client just sees 2 separate NICs and can load balance however you desire -- however, know that, as you pointed out, there will be limitations due to the fact that the virtual NIC in the client will have no visibility to the physical NIC's queues, and so schemes like alb or tlb will not balance on the correct criteria.

Linux bonding drivers have 7 modes:
 0 is round-robin (which you've ruled out)
 1 is active-backup (which you've ruled out)
 2 is xor balanced (probably too similar to round robin, although you are promised to use the same interface to the same "other device" based on mac addresses
 3 is broadcast and can cause issues with some switches
 4 is 803.3ad (which you've ruled out -- probably because your local switch and/or VM host can't support it)
 5 is tlb (transmit load balance) -- probably your best option
 6 is alb (adaptive load balance) -- which also requires a suitable switch and/or VM host capability that probably is not present

Personally, I use tlb -- or mode 5, as it doesn't assume anything about the switch -- or, in this case, the VM host.

I hope this helps.

Dan
IT4SOHO
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
disks not visible after OS upgrade linux 5 106
Truecrypt and swap 6 104
Missing Apache mod_DBD packages in Centos 7 2 66
FTP output from Wireshak 6 74
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now