SUSE11 dual Nic binding

Source: Internet
Author: User
SUSE11 dual Nic binding problem-General Linux technology-Linux technology and application information, the following is a detailed description. 1) Check the bonding Nic configuration file. The two Enis configured with bonding must be activated first, that is, view
Whether the physical Nic exists in the/etc/sysconfig/network/directory.
Ifcfg-eth-id-xx: xx File (where xx will be replaced by the MAC address of the device ),
Each file corresponds to a network card. if it does not exist, run yast to generate the network card configuration file.
Ifcfg-eth-id-xx: xx. you only need to generate a configuration file.
For example
Linux3:/etc/sysconfig/network # ls-al ifcfg-eth-id-00 \: 19 \: c6 \: 9a \: 7b \: 9 *
-Rw-r -- 1 root 215 Nov 29 ifcfg-eth-id-00: 19: c6: 9a: 7b: 9a
-Rw-r -- 1 root 216 Nov 29 ifcfg-eth-id-00: 19: c6: 9a: 7b: 9b
Linux3:/etc/sysconfig/network #


1. add the configuration to the NIC driver
In/etc/sysconfig/kernel
Add the MODULES_LOADED_ON_BOOT parameter to the driver of the Eni, for example
MODULES_LOADED_ON_BOOT = "tg3 e1000"
Note: In most cases, you do not need to configure this step. only some NICs cannot be bound due to the slow initial drive during startup, and the binding fails because some slave devices are not bound, configuration is required.
2. create the Nic configuration file to bind
/Etc/sysconfig/network/ifcfg-eth *, where * is a number, such as a ifcfg-eth0, a ifcfg-eth1, and so on.
The content of each file is as follows:
BOOTPROTO = 'none'
STARTMODE = 'off'
3. create a bond0 configuration file
/Etc/sysconfig/network/ifcfg-bond0
The content is as follows:
BOOTPROTO = 'static'
BROADCAST = '1970. 168.1.255'
IPADDR = '192. 168.1.1'
NETMASK = '2017. 255.255.0'
NETWORK = '1970. 168.1.0'
STARTMODE = 'onboot'
BONDING_MASTER = 'yes'
BONDING_MODULE_OPTS = 'mode = 1 miimon = 100 use_carrier = 1'
# Where mode = 1 is active-backup mode, mode = 0 is balance_rr mode
BONDING_SLAVE0 = 'eth0'
BONDING_SLAVE1 = 'eth1'
4. for active-backup mode, you must add the parameters of the master device to the BONDING_MODULE_OPTS parameter. for example:
BONDING_MODULE_OPTS = 'mode = 1 miimon = 100 use_carrier = 1 primary = eth0'
5. restart the networkf service
Rcnetwork restart

The problem is as follows:
1. this is the case of my extracted Nic binding. is the configuration procedure correct?
2. do I have to generate the ifcfg-eth-id-xx: xx file mentioned above? What is the generation process using yast?
Related Article

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.