CN102148880A - Dual-network interface card (NIC) bonding method in LINUX system of blade server - Google Patents

Dual-network interface card (NIC) bonding method in LINUX system of blade server Download PDF

Info

Publication number
CN102148880A
CN102148880A CN2011100656727A CN201110065672A CN102148880A CN 102148880 A CN102148880 A CN 102148880A CN 2011100656727 A CN2011100656727 A CN 2011100656727A CN 201110065672 A CN201110065672 A CN 201110065672A CN 102148880 A CN102148880 A CN 102148880A
Authority
CN
China
Prior art keywords
ifconfig
bond0
bonding
net
blade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100656727A
Other languages
Chinese (zh)
Inventor
任华进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2011100656727A priority Critical patent/CN102148880A/en
Publication of CN102148880A publication Critical patent/CN102148880A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a dual-network interface card (NIC) bonding method in a LINUX system of a blade server, belonging to the technical field of blade servers. The method is characterized in that a stable internet protocol (IP) in a ping network is utilized to judge whether links are smooth, and used for solving the problem that a switching module can not realize automatic switch caused by non-interruption of blade sensory links after external network cables are pulled up. Compared with the prior art, the method provided by the invention has the advantages of not only meeting requirements of a user for using the switching module, but also realizing the dual-NIC bonding function of a blade.

Description

The method of the following pair network card binding of a kind of blade server LINUX system
Technical field
The present invention relates to a kind of blade server technical field, the method for the following pair network card binding of specifically a kind of blade server LINUX system.
Background technology
But blade server is meant the server unit of a plurality of cassettes of plug-in mounting in the rack cabinet of calibrated altitude, be a kind of realization HAHD (High AvaiMabiMity High Density, high available high density) low-cost server platform is special applications industry and high density computing environment specialized designs.Blade server is just as " blade ", and each piece " blade " in fact is exactly a block system mainboard.
When blade chassis configuration double crossing over module, in order to realize the two network card binding functions of blade, adopt general binding method, because two network card binding programs judge by detecting network interface card link connection status whether link is unobstructed, if but this moment the netting twine at Switching Module rear portion is pulled out, blade and Switching Module still keep link UNICOM state and can not think that link is obstructed, thereby can not realize link switchover.
Summary of the invention
Technical assignment of the present invention provides a kind of demand that user's Switching Module uses that promptly can satisfy, and can satisfy the method for the following pair network card binding of a kind of blade server LINUX system of the realization of the two network card binding functions of blade again.
Technical assignment of the present invention is realized in the following manner, uses ping to net an interior stable ip and judges whether link is unobstructed;
Add following content in the general/etc/rc.d/rc.local file:
Modprobe bonding mode=6 arp_ip_target=address
echo0>/sys/class/net/bond0/bonding/miimon
echo100>/sys/class/net/bond0/bonding/arp_interval
ifconfig?bond0?192.168.100.1?netmask?255.255.255.0?up
echo+eth0>/sys/class/net/bond0/bonding/slaves
echo+eth1>/sys/class/net/bond0/bonding/slaves
ifconfig?eth0?up
ifconfig?eth1?up
ifconfig?bond0?down
ifconfig?eth0?down
ifconfig?eth1?down
ifconfig?bond0?up
ifconfig?eth0?up
ifconfig?eth1?up
Described address is a network address, as long as the main frame in this network is externally arranged in the network of Lian Jieing.
The method of the following pair network card binding of a kind of blade server LINUX system of the present invention, judge by the way of using ping to net an interior stable ip whether the network interface card link is unobstructed, can not make blade perception link down after having solved Switching Module externally netting twine pulling out and the problem that do not realize automaticallying switch.
The method of the following pair network card binding of a kind of blade server LINUX system of the present invention has the following advantages: promptly can satisfy the demand that user's Switching Module uses, can satisfy the realization of the two network card binding functions of blade again; Thereby, have good value for applications.
Embodiment
With reference to explaining below the method work of specific embodiment to the following pair network card binding of a kind of blade server LINUX system of the present invention.
Embodiment:
The method of the following pair network card binding of a kind of blade server LINUX system of the present invention is used ping to net an interior stable ip and is judged whether link is unobstructed;
Add following content in the general/etc/rc.d/rc.local file:
Modprobe bonding mode=6 arp_ip_target=address
echo0>/sys/class/net/bond0/bonding/miimon
echo100>/sys/class/net/bond0/bonding/arp_interval
ifconfig?bond0?192.168.100.1?netmask?255.255.255.0?up
echo+eth0>/sys/class/net/bond0/bonding/slaves
echo+eth1>/sys/class/net/bond0/bonding/slaves
ifconfig?eth0?up
ifconfig?eth1?up
ifconfig?bond0?down
ifconfig?eth0?down
ifconfig?eth1?down
ifconfig?bond0?up
ifconfig?eth0?up
ifconfig?eth1?up
Described address is a network address, as long as the main frame in this network is externally arranged in the network of Lian Jieing.
Except that the described technical characterictic of specification, be those skilled in the art oneself know technology.

Claims (1)

1. the method for the following pair network card binding of blade server LINUX system is characterized in that using ping to net an interior stable ip and judges whether link is unobstructed;
Add following content in the general/etc/rc.d/rc.local file:
Modprobe bonding mode=6 arp_ip_target=address
echo0>/sys/class/net/bond0/bonding/miimon
echo100>/sys/class/net/bond0/bonding/arp_interval
ifconfig?bond0?192.168.100.1?netmask?255.255.255.0?up
echo+eth0>/sys/class/net/bond0/bonding/slaves
echo+eth1>/sys/class/net/bond0/bonding/slaves
ifconfig?eth0?up
ifconfig?eth1?up
ifconfig?bond0?down
ifconfig?eth0?down
ifconfig?eth1?down
ifconfig?bond0?up
ifconfig?eth0?up
ifconfig?eth1?up
Described address is a network address, as long as the main frame in this network is externally arranged in the network of Lian Jieing.
CN2011100656727A 2011-03-18 2011-03-18 Dual-network interface card (NIC) bonding method in LINUX system of blade server Pending CN102148880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100656727A CN102148880A (en) 2011-03-18 2011-03-18 Dual-network interface card (NIC) bonding method in LINUX system of blade server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100656727A CN102148880A (en) 2011-03-18 2011-03-18 Dual-network interface card (NIC) bonding method in LINUX system of blade server

Publications (1)

Publication Number Publication Date
CN102148880A true CN102148880A (en) 2011-08-10

Family

ID=44422866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100656727A Pending CN102148880A (en) 2011-03-18 2011-03-18 Dual-network interface card (NIC) bonding method in LINUX system of blade server

Country Status (1)

Country Link
CN (1) CN102148880A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
CN104935515A (en) * 2015-06-02 2015-09-23 浪潮电子信息产业股份有限公司 FTP server and WEB server network configuration method in linux system
CN105162629A (en) * 2015-08-26 2015-12-16 浪潮电子信息产业股份有限公司 Method for achieving automatic binding of double network cards under LINUX system
US10057175B2 (en) 2013-11-25 2018-08-21 Huawei Technologies Co., Ltd. Method and device for transmitting network packet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
US10057175B2 (en) 2013-11-25 2018-08-21 Huawei Technologies Co., Ltd. Method and device for transmitting network packet
CN104935515A (en) * 2015-06-02 2015-09-23 浪潮电子信息产业股份有限公司 FTP server and WEB server network configuration method in linux system
CN105162629A (en) * 2015-08-26 2015-12-16 浪潮电子信息产业股份有限公司 Method for achieving automatic binding of double network cards under LINUX system

Similar Documents

Publication Publication Date Title
USD553631S1 (en) Computer network monitoring supermaps interface for a computer screen
USD553142S1 (en) Computer network monitoring dashboard interface for a computer screen
USD553637S1 (en) Computer network monitoring console-server level for a computer screen
USD562837S1 (en) Computer network monitoring applications interface for a computer screen
USD553144S1 (en) Computer network monitoring dashboard interface for a computer screen
USD553630S1 (en) Computer network monitoring data consolidator reports interface for a computer screen
USD553635S1 (en) Computer network monitoring console web interface-office level for a computer screen
WO2014113062A3 (en) Io virtualization system and method using offload processors
RU2012106126A (en) METHOD AND DEVICE FOR JOINT USE OF THE EXTERNAL DEVICE FUNCTION THROUGH A COMPLEX NETWORK
USD553628S1 (en) Computer network monitoring catalog master interface for a computer screen
USD553627S1 (en) Computer network monitoring supermaps interface for a computer screen
CN102148880A (en) Dual-network interface card (NIC) bonding method in LINUX system of blade server
US20200084304A1 (en) Auto-negotiation over extended backplane
USD553636S1 (en) Computer network monitoring console web interface-server level for a computer screen
CN102724093A (en) Advanced telecommunications computing architecture (ATCA) machine frame and intelligent platform management bus (IPMB) connection method thereof
USD553626S1 (en) Computer network monitoring web interface for a computer screen
CN104618246A (en) Network topology discovery method for XEN virtualization environment
CN104168200B (en) A kind of method and system that acl feature is realized based on Open vSwitch
CN103793003A (en) Exchange plate and blade server
US9313118B2 (en) Method and apparatus for intercepting multicast protocol packet and switch
JP2013084266A (en) Server and serial interface switching circuit thereof
USD562836S1 (en) Computer network monitoring data consolidator interface for a computer screen
CN103368993A (en) Virtual cloud host backup control device
JP5974911B2 (en) Communication system and network relay device
WO2014074541A3 (en) System and method for a pass thru mode in a virtual chassis system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110810