Dell-R720 server (Centos6.5) Dual Nic binding

Source: Internet
Author: User

Dell-R720 server (Centos6.5) Dual Nic binding

System Environment:

Operating System: Centos 6.5x64

Server: Dell R720

Procedure:

1. Download the NIC Driver from the DELL website

Bcom_LAN_14.1.0_LinuxR5S10_DKMS_A01.tar.gz (NIC Driver)

Dkms-2.2.0.3-1.noarch.rpm (dkms)

2. Install the driver

# Rpm-ivh dkms-2.2.0.3-1.noarch.rpm

# Tar zxvf Bcom_LAN_14.1.0_LinuxR5S10_DKMS_A01.tar.gz

# Cd Bcom_LAN_14.1.0_LinuxR5S10_DKMS_A01/NetXtremeII

# Rpm-ivh betxtreme-2-5.0.17-1.dkms.noarch.rpm

3. After the driver is installed, enter the following command to check whether the module is loaded. If not, manually load the module.

# Lsmod | grep bnx2 check whether to load

# Modprobe bnx2 manual Loading

# Lsmod | grep bnx2 check whether it is loaded again

4. If the server is not automatically loaded after the restart, modify the settings:

# Vi/etc/rc. local (added at the end)

Ifenslave bond0 em1 em2

5. Configure the NIC (back up the configuration information of each Nic first)

1) backup: # cp ifcfg-em1 ifcfg-em1.bak

# Cp ifcfg-em1 ifcfg-em2.bak

2) then modify the NIC Information

# Cp ifcfg-em1 ifcfg-bond0

# Cat ifcfg-bond0 (ip depends on the actual situation)

BOOTPROTO = none

DEVICE = bond0

ONBOOT = yes

IPADDR = 192.168.104.188

NETMASK = 255.255.255.0

GATEWAY = 192.168.104.1

USERCTL = no

TYPE = Ethernet

IPV6INIT = no

# Cat ifcfg-em1

BOOTPROTO = none

DEVICE = em1

ONBOOT = yes

MASTER = bond0

SLAVE = yes

USERCTL = no

TYPE = Ethernet

IPV6INIT = no

# Cat ifcfg-em2

BOOTPROTO = none

DEVICE = em2

ONBOOT = yes

MASTER = bond0

SLAVE = yes

USERCTL = no

TYPE = Ethernet

IPV6INIT = no

6. modify configuration information

# Add vi/etc/modprobe. d/disk. conf in the last line as follows:

Alias bond0 bonding

Options bond0 mode = 1 (0 indicates load, 1 indicates redundancy) miimon = 100 (check the link status every MS)

7. check whether there is a bonding module in the memory. If not, add the command

# Lsmod | grep bonding

# Modprobe bonding

8. Disable the NetworkManager service.

# Service NetworkManager stop

# Chkconfig NetworkManager off

9. Restart the network service

# Service network restart

Or: # ifconfig em1 up

# Ifconfig em2 up

# Ifconfig bond0 up

10. check whether it is successful

1) if ifconfig is successful, the displayed content is bond0 and the MAC addresses of em1 and em2 NICs are the same.

2) # cat/proc/net/bonding/bond0

Channel Bonding Driver: v3.6.0 (September 26,200 9)

Bonding Mode: fault-tolerance (active-backup)

Primary Slave: None

Currently Active Slave: eth0 // eth0 master mode

MII Status: up

MII Polling Interval (MS): 100

Up Delay (MS): 0

Down Delay (MS): 0

Slave Interface: em1

MII Status: up

Speed: 1000 Mbps

Duplex: full

Link Failure Count: 0

Permanent HW addr: 00: 0c: 29: c9: 6d: 18

Slave queue ID: 0

Slave Interface: em2

MII Status: up

Speed: 1000 Mbps

Duplex: full

Link Failure Count: 0

Permanent HW addr: 00: 0c: 29: c9: 6d: 22

Slave queue ID: 0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.