Server Nic multi-nic binding and vlan support

Source: Internet
Author: User
Tags hp server


Server Nic multi-nic binding and vlan supported versions: 1.0 principle: Use the 802.3ad protocol to bind multiple NICs. The 802.31p protocol is used to support multiple VLANs. Result: Through the netperf test, the traffic bound to the dual-nic can reach Gbps or above. With vlan support, the server can bind ip addresses of multiple VLANs.

Software environment: broadcom Nic windows 2003 windows 2008 Dotnet3.5 broadcom management software BACSintel Nic windows 2003 windows 2008 latest driver package hp Server latest driver package, hp NIC Management Tool linux centos 6.2 note: www.2cto.com 1) Be sure to determine the relationship between the switch port and the server Nic. 2) during configuration, the switch port is closed. After the server and the switch are all configured, the port is enabled again. Otherwise, the switch port may be blocked automatically. 3) The NIC ip address is lost during configuration. If it is a remote operation, the connection will be lost. Please make a plan. Procedure: 1. vswitch configuration multi Nic binding support for assuming port 3, 4 Do port-channel, the related configuration is as follows: snda-intel-lab-2960s-250 # sh running-config int port-channel 1 Building configuration... current configuration: 55 bytes! Interface Port-channel1switchport mode accessential D snda-intel-lab-2960s-250 # sh running-config int g0/3 Building configuration... www.2cto.com Current configuration: 137 bytes! Interface GigabitEthernet0/3 switchport mode accessspanning-tree portfastchannel-protocol lacpchannel-group 1 mode passiveend snda-intel-lab-2960s-250 # sh running-config int g0/4 Building configuration... Current configuration: 137 bytes! Interface GigabitEthernet0/4 switchport mode accessspanning-tree portfastchannel-protocol lacpchannel-group 1 mode passiveendvlan support, switch to server port for truak configuration using interface GigabitEthernet0/15 switchport mode trunk 2. software Installation for Windows System 1) download the latest NIC Driver Installation on the intel website. 2) The broadcom Nic downloads the latest driver from the broadcom website and the NIC Management tool. Currently, the management tools that can be downloaded only support windows server 2008, if you need to support windows server 2003, download the old version on the support page of dell IBM and other manufacturers. 3) The hp Server is installed with the latest NIC Driver and management tool. The hp setting method is similar to the broadcom setting. Multi-nic binding introduces the use of the broadcom management tool. Nic vlan describes the use of the hp Nic. Linux system does not need to install special software 3. Configure the NIC port to bind to the Windows system broadcom Nic to add a port group

Next step

Enter a name

Select 802.3ad www.2cto.com

Add the ENI to be bound

Configure vlan. Generally, No. skip this step.

Complete

Several minutes of Configuration

It takes several minutes for the network card to negotiate with the switch. After the network card is finished, you can see that the two network cards are working normally.

Select attributes for an intel Nic

Select group-combine this adapter with other adapters-New Group


Select Nic



 
The Ip address is successfully created and bound to the new group. Linux system [root @ lab] # cat/etc/sysconfig/network-scripts/ifcfg-bond0DEVICE = bond0BOOTPROTO = none www.2cto.com IPADDR = mask = 255.255.255.0GATEWAY = 172.16.1.1TYPE = "mode = 4 miimon = 100 "[root @ lab] # cat/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0BOOTPROTO = noneONBOOT = yesTYPE = EthernetMASTER = bond0SLAVE = yes [root @ lab] # cat/etc /sysconfig/network-scripts/ifcfg-eth1DEVICE = eth1ONBOOT = yesBOOTPROTO = noneTYPE = EthernetMASTER = bond0SLAVE = yes [root @ lab] # cat/etc/modprobe. d/bond0.confalias bond0 bonding4. configure the NIC to support vlan. For Windows systems, select the network connection attribute for the Intel NIC-nic Configuration

Click vlan

Create a new vlan and enter the vlan id name --- www.2cto.com

After a while, you can see two NICs in the Network Manager,

If you need to create multiple VLANs, you can also set them. The Broadcom Nic uses the hp Server as an example. dell ibm uses the broadcom management tool. The configuration process is similar to selecting the NIC for which the vlan needs to be configured. Click the vlan button.

Add a vlan100


Wait for configuration to take effect

After that, you can see that a network card, vlan100, is generated. If you need to generate multiple VLANs, you can repeat the operation:

Linux system configuration for vlan100 support [root @ lab] # cat ifcfg-eth1DEVICE = eth1HWADDR = E4: 1F: 13: B7: 8F: 56 ONBOOT = yesBOOTPROTO = noneTYPE = Ethernet [root @ lab] # cat ifcfg-eth1.100DEVICE = eth1.100 www.2cto.com ONBOOT = yesBOOTPROTO = noneTYPE = EthernetVLAN = yesIPADDR = *. *. *. * NETMASK = 255.255.255.0 Appendix 1: parameters in Linux and their meanings mode = <value> Allows you to specify the bonding policy. the <value> can be one of: balance-rr or 0-Sets a round-robin policy for fault tolerance and load balancing. transmissions are supported Ed and sent out sequentially on each bonded slave interface beginning with the first one available. active-backup or 1-Sets an active-backup policy for fault tolerance. transmissions are supported Ed and sent out via the first available bonded slave interface. another bonded slave interface is only used if the active bonded slave interface fails. balance-xor or 2-Sets an XOR (exclusive-or) policy for fault tolerance and load balancing. using this method, the interface matches up the incoming request's MAC address with the MAC address for one of the Server Load balancer instances. once this link is established, transmissions are sent out sequentially beginning with the first available interface. broadcast or 3-Sets a broadcast policy for fault tolerance. all transmissions are sent on all slave interfaces.802.3ad or 4-Sets an IEEE 802.3ad dynamic link aggregation policy. creates aggregation groups that share the same speed and duplex settings. transmits and replica es on all slaves in the active aggregator. requires a switch that is 802.3ad compliant. www.2cto.com balance-tlb or 5-Sets a Transmit Load Balancing (TLB) policy for fault tolerance and load balancing. the outgoing traffic is distributed according to the current load on each slave interface. incoming traffic is already ed by the current slave. if the processing ing slave fails, another slave takes over the MAC address of the failed slave. balance-alb or 6-Sets an Active Load Balancing (ALB) policy for fault tolerance and load balancing. includes transmit and receive load balancing for IPV4 traffic. receive load balancing is achieved through ARP negotiation. appendix 2: handling of binding failures in Linux: insmod/lib/modules/2.6.18-164. el5/kernel/net/ipv6/ipv6.ko disable = 1 insmod/lib/modules/2.6.18-164. el5/kernel/drivers/net/bonding. ko author xiaoli110

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.