Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for binding network card recognition sequence under Linux system

A network card and sequence technology, applied in the computer field, can solve problems such as crossover and reverse order of network ports of different network cards, and achieve the effect of wide application, simple and fast implementation, and strong practicability.

Inactive Publication Date: 2019-03-19
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 3. The order of the network ports of different network cards is reversed or crossed, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for binding network card recognition sequence under Linux system
  • Method for binding network card recognition sequence under Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 1 A method for binding network card identification order under a Linux system shown includes the following steps:

[0034] Step 1: Identify the physical devices corresponding to the network card names under the Linux system.

[0035] Step 2: Obtain the MAC address of each network port.

[0036] Step 3: Bind the MAC address and network port name.

[0037] Step 4: Make sure that the network port name corresponds to the device driver.

[0038] This embodiment provides a method for binding the identification sequence of the network card under the Linux system. By binding the MAC address of the network port of the network card and the name of the network port, it is avoided that the network card is installed, the driver is updated, or the program related to the network card is installed. The network port name change problem occurred.

Embodiment 2

[0040] Such as figure 2 A method for binding network card identification order under a Linux system shown includes the following steps:

[0041] Step 1: View the names of all network devices through the command: ifconfig -a.

[0042] Step 2: Connect the network ports of all network cards on the server to the switch in turn to check the connection status, and mark the name of each network port.

[0043] In step 2, only one network port can be connected at a time. After connecting, use the command: ethtool ethx (where x=0, 1, 2...) to check whether the network cable is connected. If the command shows ethx "Link detected: yes" It means that the ethx status is connected to the network cable. If "link detected: no", it means that the ethx network port is not connected.

[0044] Step 3: Obtain the MAC address of each device through the command ifconfig –a |grep –i hwaddr.

[0045] For example: "eth0 Link encap:Ethernet HWaddr A0:36:9F:54:F5:FE".

[0046] Step 4: Bind the MAC ad...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for binding network card recognition sequence under a Linux system. The method comprises the following steps: 1, recognizing physical equipment corresponding to networkcard names under the Linux system; 2, acquiring the MAC address of each network port; 3, binding the MAC addresses and network port names; and 4, ensuring that the network port names correspond to equipment drivers. By binding the MAC addresses and the network port names, the problem of change in the network port names during installing of network cards, driver updating or installing of relevantprograms of the network cards is solved.

Description

technical field [0001] The invention relates to the technical field of computers, and more specifically relates to a method for binding network card identification sequences under a Linux system. Background technique [0002] For the identified network card devices, the Linux system will assign a network port name to each network port of the network card. When we use the network card, we must first know which name corresponds to which physical device, so if the network card network port is used in the process of using If the name of the network card changes, it will affect the use of the network card. [0003] Network adapter (network card), as one of the basic sub-component systems of the server, is also the basic interface of the network environment. Its specifications are getting higher and higher, and the number of network ports of a device is also increasing. Mouth even more. [0004] When using the Linux system, after you install or update a certain network card driv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/12
CPCH04L41/0803H04L41/0813H04L2101/622
Inventor 彭笑笑
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products