CN112152927B - Message forwarding method, system, network card and storage medium - Google Patents

Message forwarding method, system, network card and storage medium Download PDF

Info

Publication number
CN112152927B
CN112152927B CN201910562133.0A CN201910562133A CN112152927B CN 112152927 B CN112152927 B CN 112152927B CN 201910562133 A CN201910562133 A CN 201910562133A CN 112152927 B CN112152927 B CN 112152927B
Authority
CN
China
Prior art keywords
address
network card
mac address
message
destination
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.)
Active
Application number
CN201910562133.0A
Other languages
Chinese (zh)
Other versions
CN112152927A (en
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201910562133.0A priority Critical patent/CN112152927B/en
Publication of CN112152927A publication Critical patent/CN112152927A/en
Application granted granted Critical
Publication of CN112152927B publication Critical patent/CN112152927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2557Translation policies or rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The embodiment of the invention provides a message forwarding method, a message forwarding system, a network card and a storage medium, wherein the method can comprise the steps that a first network card determines a request message; the first network card sends a request message according to a routing protocol, wherein the routing protocol is used for indicating the first network card to send the request message through an external channel of the multi-network-card system; the second network card receives the request message according to a routing protocol, wherein the routing protocol is used for indicating the second network card to receive the request message through an external channel, and the second network card and the first network card both belong to a multi-network-card system. Therefore, the message transmitted among the network cards in the multi-network card system is forwarded through the external channel of the multi-network card system, the forwarding path of the message in the multi-network card system can be expanded, and the requirements that the message transmitted among the network cards in the multi-network card system passes through the outside of the multi-network card system are met.

Description

Message forwarding method, system, network card and storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and a system for forwarding a packet, a network card, and a storage medium.
Background
In practical applications, some hosts or servers, etc. may include multiple network cards to form a multi-network card system, such as a Central Processing Unit (CPU) system. The network cards in the multi-network card system communicate and can be realized by forwarding messages. How to realize the forwarding of messages between network cards in a multi-network card system is an important aspect of network card communication.
Disclosure of Invention
The embodiment of the invention aims to provide a message forwarding method, a message forwarding system, a network card and a storage medium, so as to expand the forwarding path of a message in a multi-network-card system. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a packet forwarding method, including:
the first network card determines a request message;
the first network card sends the request message according to a routing protocol, wherein the routing protocol is used for indicating the first network card to send the request message through an external channel of a multi-network-card system;
and the second network card receives the request message according to the routing protocol, wherein the routing protocol is used for indicating the second network card to receive the request message through the external channel, and the second network card and the first network card both belong to the multi-network-card system.
In an implementation, after the second network card receives the request message according to the routing protocol, the method further includes:
the second network card determines a response message aiming at the request message;
the second network card sends the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to send the response message through the external channel;
and the first network card receives the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to receive the response message through the external channel.
In an implementation, the determining, by the first network card, a request message includes:
the first network card determines a first message that a source MAC address is a first MAC address, a destination MAC address is a second MAC address, a source Internet protocol IP address is a first real IP address, and a destination IP address is a second virtual IP address; the first MAC address is a physical address of the first network card, the second MAC address is a physical address of the second network card, the first real IP address is an IP address of the first network card, and the second virtual IP address is an IP address which has a corresponding relationship with the second MAC address and is different from the IP addresses of the network cards in the multi-network-card system;
according to a preset NAT (network address translation) translation rule, translating the first message into a second message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as a first virtual IP address and a destination IP address as the second virtual IP address, and taking the second message as the request message; the NAT translation rule comprises a corresponding relation between the first real IP address and the first virtual IP address, and the first virtual IP address is an IP address which has a corresponding relation with the first MAC address and is different from the IP address of each network card in the multi-network-card system.
In an implementation example, the receiving, by the second network card, the request message according to the routing protocol includes:
the second network card receives the second message according to the routing protocol;
the second network card determining a response message for the request message, including:
according to the NAT conversion rule, converting the second message into a third message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as the first virtual IP address and a destination IP address as a second real IP address, wherein the NAT conversion rule comprises the corresponding relation between the second real IP address and the second virtual IP address, and the second real IP address is the IP address of the first network card;
determining a first response message aiming at the third message, wherein a source MAC address in the first response message is the second MAC address, a destination MAC address is the first MAC address, a source IP address is the second real IP address, and a destination IP address is the first virtual IP address;
according to the NAT conversion rule, converting the first response message into a second response message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first virtual IP address, and taking the second response message as the response message;
after the first network card receives the response message according to the routing protocol, the method further includes:
and according to the NAT conversion rule, the first network card converts the response message into a message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first real IP address.
In a second aspect, an embodiment of the present invention provides a packet forwarding system, including: a first network card and a second network card;
the first network card includes:
the first determining module is used for determining the request message;
the first sending module is used for sending the request message according to a routing protocol, wherein the routing protocol is used for indicating the first network card to send the request message through an external channel of the multi-network-card system;
the second network card includes:
and the first receiving module is used for receiving the request message according to the routing protocol, wherein the routing protocol is used for indicating the second network card to receive the request message through the external channel, and the second network card and the first network card both belong to the multi-network-card system.
In an implementation, the second network card further includes:
a second determining module, configured to determine a response packet for the request packet;
the second sending module is used for sending the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to send the response message through the external channel;
the first network card further comprises:
and the second receiving module is used for receiving the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to receive the response message through the external channel.
In an implementation embodiment, the first determining module is configured to determine that a source MAC address is a first MAC address, a destination MAC address is a second MAC address, a source internet protocol IP address is a first real IP address, and a destination IP address is a first packet of a second virtual IP address; the first MAC address is a physical address of the first network card, the second MAC address is a physical address of the second network card, the first real IP address is an IP address of the first network card, and the second virtual IP address is an IP address which has a corresponding relationship with the second MAC address and is different from the IP addresses of the network cards in the multi-network-card system;
converting the first message into a second message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as the first virtual IP address and a destination IP address as the second virtual IP address according to a preset NAT conversion rule, and taking the second message as the request message; the NAT translation rule comprises a corresponding relation between the first real IP address and the first virtual IP address, and the first virtual IP address is an IP address which has a corresponding relation with the first MAC address and is different from the IP address of each network card in the multi-network-card system.
In an implementable embodiment, the first receiving module is configured to receive the second packet according to the routing protocol;
the second determining module is configured to convert the second packet into a third packet with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as the first virtual IP address, and a destination IP address as the second real IP address according to the NAT conversion rule, where the NAT conversion rule includes a correspondence between the second real IP address and the second virtual IP address, and the second real IP address is an IP address of the first network card; determining a first response message aiming at the third message, wherein a source MAC address in the first response message is the second MAC address, a destination MAC address is the first MAC address, a source IP address is the second real IP address, and a destination IP address is the first virtual IP address; according to the NAT conversion rule, converting the first response message into a second response message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first virtual IP address, and taking the second response message as the response message;
the first network card further comprises:
and the conversion module is used for converting the response message into a message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first real IP address by the first network card according to the NAT conversion rule.
In a third aspect, an embodiment of the present invention provides a network card, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method steps of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the first aspect.
The message forwarding method, the message forwarding system, the network card and the storage medium provided by the embodiment of the invention can forward the message transmitted among the network cards in the multi-network card system through the external channel of the multi-network card system, can expand the forwarding path of the message in the multi-network card system, and meet the requirements of the message transmitted among the network cards in the multi-network card system and passing through the outside of the multi-network card system. Of course, it is not necessary for any product or method to achieve all of the above-described advantages at the same time for practicing the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of message forwarding according to an embodiment of the present invention;
FIG. 2 is a schematic routing path diagram of network address translation according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an external channel of the multi-NIC system according to an embodiment of the present invention;
fig. 4 is a flowchart of another packet forwarding method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a message format according to an embodiment of the present invention;
fig. 6a is a schematic diagram of another message format according to an embodiment of the present invention;
fig. 6b is a schematic diagram of another message format in the embodiment of the present invention;
fig. 6c is a schematic diagram of another message format according to an embodiment of the present invention;
fig. 6d is a schematic diagram of another message format in the embodiment of the present invention;
fig. 6e is a schematic diagram of another message format in the embodiment of the present invention;
fig. 6f is a schematic diagram of another message format in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a message forwarding system according to an embodiment of the present invention;
fig. 8 is another schematic structural diagram of a message forwarding system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network card according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, when a message is forwarded between network cards in a multi-network card system according to a Transmission Control Protocol/Internet Protocol (TCP/IP Protocol), the message is forwarded by a kernel, and thus, the message is transmitted inside the multi-network card system, which may limit a forwarding path of the message. In some cases, there is a need for transmitting messages between multiple network cards in a multiple network card system to pass through the outside of the multiple network card system, that is, a need for forwarding messages through an external channel of the multiple network card system, for example, whether a physical channel between network cards is normal needs to be tested, or the messages need to be recorded outside the multiple network card system.
In order to expand a forwarding path of a message in a multi-network card system and meet the requirement that the message transmitted between the multiple network cards in the multi-network card system passes through the outside of the multi-network card system, the embodiment of the invention provides a message forwarding method which can be used for forwarding the message between the multiple network cards in the multi-network card system.
An embodiment of the present invention provides a packet forwarding method, as shown in fig. 1, including:
s101, the first network card determines a request message.
Determining the request message may be understood as a process of packaging packets. The request message carries information such as a destination address, a source address and the like, and is forwarded according to the information such as the destination address, the source address and the like. The destination address may include a destination MAC address and a destination IP address, and the source address may include a source MAC address and a source IP address.
In order that the request message is not forwarded directly from the kernel to the second network card. In the embodiment of the present invention, the destination Address or the source Address in the message may be converted through Network Address Translation (NAT), and specifically, the conversion process will be described in detail below, which is not described herein again.
The NAT is a process of converting an IP address in an IP data header into another IP address, and is mostly used for realizing a function of a private network to access a public network, and this way of using a small number of public IP addresses to represent more private IP addresses will help slow down some application environments with limited public IP address allocation.
A routing path of the NAT system is shown in fig. 2, the network card realizes conversion between IP and virtual Internet Protocol (voip) in the communication process between the intranet and the extranet, for example, the network card 1 performs conversion between IP-1 and vIP-1 in the communication process between the intranet and the extranet, and the network card 2 performs conversion between IP-2 and vIP-2 in the communication process between the intranet and the extranet.
S102, the first network card sends a request message according to the routing protocol.
The routing protocol is used for indicating the first network card to send a request message through an external channel of the multi-network-card system.
S103, the second network card receives the request message according to the routing protocol.
The routing protocol is used for indicating the second network card to receive the request message through the external channel.
The second network card and the first network card belong to the multi-network-card system, namely the first network card and the second network card are located in the same multi-network-card system. The multi-network card system includes a plurality of network cards, such as a CPU system.
As shown in fig. 3, the external channel may be an external hardware ring network of the multi-network card system, and the first network card may be connected to the second network card through a short connection or an external network connection.
The routing protocol is used for indicating the first network card to send a message to the second network card through the external channel, receiving the message sent by the second network card through the external channel, sending the message to the first network card through the external channel by the second network card, and receiving the message sent by the first network card through the external channel.
The routing protocol may include a message forwarding rule, i.e., a relationship between a source MAC address, a source IP address, a destination MAC address, and a destination IP address, and a forwarding route. If the source MAC address is the first MAC address of the first network card, the message is sent out from the first network card, and if the source IP address is an IP address different from the IP addresses of the network cards in the multi-network-card system, the first network card sends the message through an external channel; when the target MAC address is a second MAC address of a second network card, the second network card receives the message, and when the target IP address is an IP address which is different from the IP addresses of the network cards in the multi-network-card system and has a corresponding relation with the second MAC address, the second network card receives the message through an external channel; when the source MAC address is a second MAC address of a second network card, the message is sent out from the second network card, and when the source IP address is an IP address different from the IP addresses of the network cards in the multi-network-card system, the second network card sends the message through an external channel; and when the destination IP address is an IP address which is different from the IP addresses of the network cards in the multi-network-card system and has a corresponding relation with the first MAC address of the first network card, the first network card receives the message through an external channel.
In the embodiment of the invention, the message transmitted among the network cards in the multi-network card system is forwarded through the external channel of the multi-network card system, so that when the message is forwarded among the network cards in the multi-network card system, the message is not directly forwarded through the inside of the multi-network card system, but is sent and received through the external channel, such as an external physical connection line, an external network connection line and the like. The forwarding path of the message in the multi-network card system can be expanded, and the requirements of the message transmitted among the network cards in the multi-network card system and passing through the outside of the multi-network card system are met.
In an implementation embodiment, after S103 the second network card receives the request message according to the routing protocol, as shown in fig. 4, the method may further include:
and S104, the second network card determines a response message aiming at the request message.
And S105, the second network card sends a response message according to the routing protocol.
And the routing protocol is used for indicating the second network card to send a response message through the external channel.
S106, the first network card receives the response message according to the routing protocol.
And the routing protocol is used for indicating the second network card to receive the response message through the external channel.
The second network card can also respond to the received request message, and sends out the response message to be received by the first network card.
If the external channel between the first network card and the second network card is verified to be communicated, the first network card can send a request message through the external channel, if the second network card can receive the request message and respond to the request message, a response message is sent through the external channel, and if the first network card can receive the response message sent by the second network card through the external channel, the external channel between the first network card and the second network card can be determined to be communicated.
In an implementation example, the S101 determining, by the first network card, the request message may include:
a11, the first network card determines a first message that a source MAC address is a first MAC address, a destination MAC address is a second MAC address, a source Internet protocol IP address is a first real IP address, and a destination IP address is a second virtual IP address.
The first MAC address is a physical address of the first network card, the second MAC address is a physical address of the second network card, the first real IP address is an IP address of the first network card, and the second virtual IP address is an IP address which has a corresponding relation with the second MAC address and is different from the IP addresses of the network cards in the multi-network-card system.
According to the routing protocol, the second virtual IP address is an IP address different from the IP address of each network card in the multi-network card system, and when the destination IP address is the second virtual IP address, the packet is not directly forwarded to other network cards through the inside of the multi-network card system, but is received through an external channel of the multi-network card system.
A12, according to the preset NAT conversion rule, converting the first message into a second message with a source MAC address as a first MAC address, a destination MAC address as a second MAC address, a source IP address as a first virtual IP address and a destination IP address as a second virtual IP address, and using the second message as a request message.
The NAT translation rule comprises a corresponding relation between a first real IP address and a first virtual IP address, wherein the first virtual IP address is an IP address which has a corresponding relation with a first MAC address and is different from the IP address of each network card in the multi-network-card system.
According to the routing protocol, the first virtual IP address is an IP address different from the IP addresses of the network cards in the multi-network card system, and when the source IP address is the first virtual IP address, the message is not directly sent out from the first network card through the inside of the multi-network card system, but is sent out through an external channel of the multi-network card system.
In order to send out a request message from the first network card through the external channel, and the second network card receives the request message from the external channel, or a response message is sent out from the second network card, the first network card receives a response message from the external channel. A routing protocol may be determined, and a message to be transmitted between the first network card and the second network card, such as a request message and a response message, is forwarded according to the routing protocol.
The routing protocol may include that a message with a source MAC address as a first MAC address is sent from a first network card, a message with a source MAC address as a second MAC address is sent from a second network card, and the message is sent via an external channel when a destination IP address is different from an IP address of each network card in the multi-network-card system. And when the destination IP address different from the IP address of each network card is in corresponding relation with the MAC address of the network card in the multi-network-card system, the network card corresponding to the MAC address receives the message through an external channel.
In order to enable the first network card and the second network card to forward the messages according to the routing protocol, the messages to be transmitted can be converted into the messages meeting the routing protocol in the packaging process.
The embodiment of the invention determines the NAT conversion rule by using the NAT technology, and converts the request message into the message which can be forwarded according to the determined routing protocol according to the NAT conversion rule.
In the embodiment of the present invention, after the conversion is performed according to the NAT conversion rule, the source MAC address of the request message is the first physical address of the first network card, that is, the first MAC address, and according to the routing protocol, the request message is sent from the first network card, and the source IP address is the first virtual IP address having a correspondence relationship with the first MAC address, so that the first network card sends the request message through the external channel.
Step S103: the receiving, by the second network card, the request message according to the routing protocol may include:
and the second network card receives a second message according to the routing protocol.
And if the destination IP address of the request message is a second virtual IP address corresponding to the second MAC address, and the destination MAC address is the second MAC address, namely the physical address of the second network card, the second network card can receive the request message through the external channel according to the routing protocol.
Step S104: the determining, by the second network card, a response message for the request message may include:
and A21, according to the NAT conversion rule, converting the second message into a third message with a source MAC address being a first MAC address, a destination MAC address being a second MAC address, a source IP address being a first virtual IP address and a destination IP address being a second real IP address.
The NAT translation rule comprises a corresponding relation between a second real IP address and a second virtual IP address, and the second real IP address is the IP address of the first network card.
The destination IP address of the second packet is the second virtual IP address, and the IP address is not the IP address of the second network card, so the second network card does not respond to the second virtual IP address. In order to make the second network card respond to the message, the received second message with the destination IP address as the second virtual IP address is converted into a third message with the destination IP address as the second real IP address through the NAT conversion rule. And the second real IP address is the IP address of the second network card, and the second network card responds after receiving the third message.
A22, determining a first response message for the third message.
In the first response message, the source MAC address is a second MAC address, the destination MAC address is a first MAC address, the source IP address is a second real IP address, and the destination IP address is a first virtual IP address.
And A23, according to the NAT conversion rule, converting the first response message into a second response message with a source MAC address as a second MAC address, a destination MAC address as a first MAC address, a source IP address as a second virtual IP address and a destination IP address as a first virtual IP address, and using the second response message as a response message.
The first virtual IP address is an IP address different from the IP address of each network card in the multi-network card system, and when the destination IP address is the first virtual IP address, the packet is not directly forwarded to other network cards through the inside of the multi-network card system, but is received through an external channel of the multi-network card system.
According to the routing protocol, the second virtual IP address is an IP address different from the IP addresses of the network cards in the multi-network card system, and when the source IP address is the second virtual IP address, the message is not directly sent out from the second network card through the inside of the multi-network card system, but is sent out through an external channel of the multi-network card system.
And the destination MAC address is the first MAC address, the first network card receives the response message.
After the step S106, the first network card receives the response message according to the routing protocol, the method may further include:
and according to the NAT conversion rule, the first network card converts the response message into a message with a source MAC address as a second MAC address, a destination MAC address as a first MAC address, a source IP address as a second virtual IP address and a destination IP address as a first real IP address.
The destination address of the response message is the first virtual IP address, and the IP address is not the IP address of the first network card.
And through the NAT conversion rule, the first network card converts the received response message with the destination IP address as the first virtual IP address into the message with the destination IP address as the first real IP address. The first real IP address is the IP address of the first network card, and the first network card can determine that the message is a response message of the request message sent by the first network card, so as to record that a message forwarding process including sending and receiving is completed completely.
The invention provides a specific embodiment by taking the ping process as an example.
ping is part of the TCP/IP Protocol, the network Control Message Protocol (ICMP). By utilizing the ping command, whether the network is connected or not can be checked, and the network fault can be well analyzed and judged. The application format is as follows: ping a blank IP address. When the network card is specified, the format is as follows: the ping space IP address space-I space network card name, the command can also be used by adding a plurality of parameters, and in an implementation mode, the ping message format is as shown in figure 5.
The request message may be a ping request packet, and the process of completing ping communication is as follows:
a1, the first network card and the second network card in the multi-network card system are eth1 and eth2, respectively.
The MAC address of eth1, namely the physical address is MAC-1, the MAC address of eth2, namely the physical address is MAC-2, the IP address of eth1 is IP-1, and the IP address of eth2 is IP-2, is configured.
Configuring a virtual IP address used in performing NAT translation: vIP-1 and vIP-2.
A2, configuring NAT conversion rule and network card isolation.
The NAT translation rules may include a correspondence of IP-1 to vIP-1 and a correspondence of IP-2 to vIP-2. According to NAT conversion rules, the message with the destination IP address of vIP-1 can be converted into the message with the destination IP address of vIP-1; correspondingly, a message with a destination IP address of vIP-1 can be converted into a message with a destination IP address of IP-1. The message with the destination IP address of vIP-2 can be converted into the message with the destination IP address of IP-2; correspondingly, a message with the destination IP address of vIP-2 can be converted into a message with the destination IP address of IP-2.
Isolating the network card: it can also be understood as determining a routing protocol, such as that a source MAC address, a source IP address, a destination MAC address, a destination IP address correspond to different network cards, and a message is forwarded through the corresponding network cards.
A3, establishing routes on eth1 and eth2, sending out the message from eth1 for route vIP-2, and sending out the message from eth2 for route vIP-1.
It can be understood as a routing protocol determination, and also as a message forwarding rule. And forwarding the message according to a routing protocol.
A4, forging two Address Resolution Protocol (ARP) table entries, establishing a corresponding relation between vIP-2 and MAC-2 on eth1, and establishing a corresponding relation between vIP-1 and MAC-1 on eth 2.
ARP is the TCP/IP protocol that obtains a physical address from an IP address. The local ARP table establishes a corresponding relation table of the IP address and the MAC address, and when a TCP/IP protocol packet is packaged, the MAC address information of the packet is directly filled according to the target IP address.
A5 pings vIP-2 on eth1, and the message whose destination is vIP-2 is determined by the route of A3 is sent from eth 1.
A6, eth1 searches ARP corresponding relation, and the MAC address of vIP-2 is forged to MAC-2 in step A4; the ping request packet may be completely built: the destination IP address is vIP-2, the destination MAC address is MAC-2, the source IP address is IP-1, the source MAC address is MAC-1, and the message format of the ping request packet is shown in fig. 6 a.
A7, performing NAT conversion according to NAT conversion rules for the ping request packet identified in a6, and converting into: the destination IP address is vIP-2, the destination MAC address is vMAC-2, the source IP address is vIP-1, and the source MAC address is MAC-1, because the source MAC address is MAC-1, the message is sent from eth1, and the format of the message is shown in fig. 6 b.
A8, the message shown in FIG. 6b is sent from eth1, and because the destination MAC is MAC-2, it is received by eth 2.
After receiving the message, A9 and eth2 convert the message into: the source IP address is vIP-1, the source MAC address is MAC-1, the destination IP address is IP-2, the destination MAC address is MAC-2, and the message format is shown in fig. 6 c.
A10 shows that the destination IP of the message shown in FIG. 6c is IP-2, so after receiving the message, eth2 determines that the message is a request packet to itself, and responds to vIP-1 ping packet.
A11, the message with the destination IP address of vIP-1 determined by the route of A3 is sent out from the eth2 network card.
A12.eth2 searches ARP corresponding relation, and the MAC address of vIP-1 is forged into MAC-1 in step 4; the ping response packet can be completely established: the destination IP address is vIP-1, the destination MAC address is MAC-1, the source IP address is IP-2, the source MAC address is MAC-2, and the message format is shown in fig. 6 d.
A13, performing NAT conversion on the ping response packet according to NAT conversion rules, wherein the conversion is: the destination IP address is vIP-1, the destination MAC address is MAC-1, the source IP address is vIP-2, and the source MAC address is MAC-2, because the source MAC address of the message is MAC-2, the message is sent from eth2, and the format of the message is shown in fig. 6 e.
A14, the message shown in FIG. 6e is sent from eth2, and because the destination MAC is MAC-1, it is received by eth 1.
After receiving the message, A15 and eth1 convert the message into: the source address is vIP-2, the source MAC is MAC-2, the destination IP address is IP-1, the destination MAC is MAC-1, and the message format is shown in FIG. 6 f.
A16, as shown in fig. 6f, the destination IP of the message is IP-1, so after receiving the message, eth1 determines that the message is a response packet to the ping request packet sent by itself, and records that a complete ping process is completed.
A17, a complete ping protocol is completed.
In the embodiment of the invention, after being converted by the configured NAT conversion rule, the ping request packet is sent out from eth1, is received by eth2 after being connected with an external physical line, is identified as a local request packet by eth2 after being received by eth2 and is converted by the NAT conversion rule, and then is sent out as a ping response packet of the ping request packet; the ping response packet is sent from eth2 after being converted by the NAT conversion rule, and is identified as the response of the ping request packet by eth1 after being converted by the NAT conversion rule, thereby completing a complete ping communication. Thus, it can be understood as a hard loop for implementing message forwarding, that is, when forwarding messages between network cards in a multi-network card system, the messages are not directly forwarded through the inside of the multi-network card system, but are sent and received through external channels, such as external physical connection, external network connection, and the like. Whether an external channel formed by external physical connecting lines between the eth1 and the eth2 is communicated or not can be detected.
Corresponding to the message forwarding method provided in the embodiment of the present invention, an embodiment of the present invention further provides a message forwarding system, as shown in fig. 7, which may include: a first network card 701 and a second network card 702;
the first network card 701 includes:
a first determining module 7011, configured to determine the request packet;
the first sending module 7012 is configured to send a request message according to a routing protocol, where the routing protocol is used to instruct the first network card to send the request message through an external channel of the multi-network-card system;
the second network card 702 includes:
the first receiving module 7021 is configured to receive the request message according to a routing protocol, where the routing protocol is used to instruct the second network card to receive the request message through an external channel, and the second network card and the first network card both belong to a multi-network-card system.
In the embodiment of the invention, the message transmitted among the network cards in the multi-network card system is forwarded through the external channel of the multi-network card system, so that the forwarding path of the message in the multi-network card system can be expanded, and the requirements of the message transmitted among the network cards in the multi-network card system and passing through the outside of the multi-network card system are met.
In one embodiment, as shown in fig. 8, the second network card 702 further includes:
a second determining module 7022, configured to determine a response packet for the request packet;
the second sending module 7023 is configured to send a response message according to a routing protocol, where the routing protocol is used to instruct the second network card to send the response message through an external channel;
the first network card 701 further includes:
the second receiving module 7013 is configured to receive the response message according to a routing protocol, where the routing protocol is used to instruct the second network card to receive the response message through an external channel.
In an implementation embodiment, the first determining module 7011 is configured to determine that a source MAC address is a first MAC address, a destination MAC address is a second MAC address, a source internet protocol IP address is a first real IP address, and a destination IP address is a first packet of a second virtual IP address; the first MAC address is a physical address of a first network card, the second MAC address is a physical address of a second network card, the first real IP address is an IP address of the first network card, and the second virtual IP address is an IP address which has a corresponding relation with the second MAC address and is different from the IP addresses of the network cards in the multi-network-card system;
according to a preset NAT conversion rule, converting the first message into a second message with a source MAC address as a first MAC address, a target MAC address as a second MAC address, a source IP address as a first virtual IP address and a target IP address as a second virtual IP address, and taking the second message as a request message; the NAT translation rule comprises a corresponding relation between a first real IP address and a first virtual IP address, wherein the first virtual IP address is an IP address which has a corresponding relation with a first MAC address and is different from the IP address of each network card in the multi-network-card system.
In an implementation embodiment, the first receiving module 7021 is configured to receive the second packet according to a routing protocol;
a second determining module 7022, configured to convert the second packet into a third packet with a source MAC address being a first MAC address, a destination MAC address being a second MAC address, a source IP address being a first virtual IP address, and a destination IP address being a second real IP address according to an NAT conversion rule, where the NAT conversion rule includes a correspondence between the second real IP address and the second virtual IP address, and the second real IP address is an IP address of the first network card; determining a first response message aiming at the third message, wherein a source MAC address in the first response message is a second MAC address, a destination MAC address is a first MAC address, a source IP address is a second real IP address, and a destination IP address is a first virtual IP address; according to NAT conversion rules, converting the first response message into a second response message with a source MAC address as a second MAC address, a destination MAC address as a first MAC address, a source IP address as a second virtual IP address and a destination IP address as a first virtual IP address, and taking the second response message as a response message;
the first network card 701 further includes:
and the conversion module is used for converting the response message into a message with a source MAC address as a second MAC address, a destination MAC address as a first MAC address, a source IP address as a second virtual IP address and a destination IP address as a first real IP address by the first network card according to the NAT conversion rule.
The message forwarding system provided by the embodiment of the invention is a system applying the message forwarding method, so that all the embodiments of the message forwarding method are suitable for the system and can achieve the same or similar beneficial effects.
Corresponding to the message forwarding method provided in the foregoing embodiment, an embodiment of the present invention further provides a network card, as shown in fig. 9, including a processor 901, a communication interface 902, a memory 903, and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904.
A memory 903 for storing computer programs;
the processor 901 is configured to implement the method steps of the message forwarding method in the foregoing embodiments when executing the program stored in the memory 903.
In the embodiment of the invention, the message transmitted among the network cards in the multi-network-card system is forwarded through the external channel of the multi-network-card system, so that the forwarding path of the message in the multi-network-card system can be expanded, and the requirements of the message transmitted among the network cards in the multi-network-card system and passing through the outside of the multi-network-card system are met.
The communication bus mentioned in the above network card may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the network card and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. The memory may also be implemented as at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Corresponding to the message forwarding method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the message forwarding method.
In the embodiment of the invention, the message transmitted among the network cards in the multi-network card system is forwarded through the external channel of the multi-network card system, so that the forwarding path of the message in the multi-network card system can be expanded, and the requirements of the message transmitted among the network cards in the multi-network card system and passing through the outside of the multi-network card system are met.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system, the network card and the storage medium embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A message forwarding method is characterized by comprising the following steps:
the first network card determines a request message, wherein the source MAC address of the request message is a first MAC address, the destination MAC address is a second MAC address, the source Internet protocol IP address is a first virtual IP address, and the destination IP address is a second virtual IP address, the first MAC address is a physical address of the first network card, the second MAC address is a physical address of the second network card, the first virtual IP address is in a corresponding relation with the first MAC address, an IP address which has a corresponding relation with the first real IP address of the first network card and is different from the real IP address of each network card in the multi-network card device, wherein the second virtual IP address has a corresponding relation with the second MAC address, an IP address which has a corresponding relation with a second real IP address of the second network card and is different from the real IP address of each network card in the multi-network card device;
the first network card sends the request message according to a routing protocol, wherein the routing protocol is used for indicating the first network card to send the request message through an external channel of the multi-network-card device;
the second network card receives the request message according to the routing protocol, wherein the routing protocol is used for indicating the second network card to receive the request message through the external channel, and the second network card and the first network card both belong to the multi-network-card device;
the routing protocol indicates that if the source MAC address of the message is the first MAC address and the source IP address is an IP address different from the real IP address of each network card in the multi-network card device, the first network card sends the message through the external channel; and if the destination MAC address of the message is the second MAC address, and the destination IP address is an IP address which is different from the real IP address of each network card in the multi-network card device and has a corresponding relation with the second MAC address, the second network card receives the message through the external channel.
2. The method of claim 1, wherein after the second network card receives the request message according to the routing protocol, the method further comprises:
the second network card determines a response message aiming at the request message;
the second network card sends the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to send the response message through the external channel;
and the first network card receives the response message according to the routing protocol, wherein the routing protocol is used for indicating the first network card to receive the response message through the external channel.
3. The method of claim 2, wherein the first network card determining a request message comprises:
the first network card determines a first message with a source MAC address as a first MAC address, a destination MAC address as a second MAC address, a source IP address as a first real IP address and a destination IP address as a second virtual IP address; wherein the first real IP address is the IP address of the first network card;
according to a preset NAT (network address translation) translation rule, translating the first message into a second message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as a first virtual IP address and a destination IP address as the second virtual IP address, and taking the second message as the request message; and the NAT conversion rule comprises the corresponding relation between the first real IP address and the first virtual IP address.
4. The method of claim 3, wherein the second network card receiving the request message according to the routing protocol comprises:
the second network card receives the second message according to the routing protocol;
the second network card determining a response message for the request message, including:
according to the NAT conversion rule, converting the second message into a third message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as the first virtual IP address and a destination IP address as a second real IP address, wherein the NAT conversion rule comprises a corresponding relation between the second real IP address and the second virtual IP address, and the second real IP address is the IP address of the second network card;
determining a first response message aiming at the third message, wherein a source MAC address in the first response message is the second MAC address, a destination MAC address is the first MAC address, a source IP address is the second real IP address, and a destination IP address is the first virtual IP address;
according to the NAT conversion rule, converting the first response message into a second response message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first virtual IP address, and taking the second response message as the response message;
after the first network card receives the response message according to the routing protocol, the method further includes:
and according to the NAT conversion rule, the first network card converts the response message into a message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first real IP address.
5. A message forwarding system, comprising: a first network card and a second network card;
the first network card includes:
a first determining module, configured to determine a request packet, where a source MAC address of the request packet is a first MAC address, a destination MAC address is a second MAC address, a source internet protocol IP address is a first virtual IP address, and a destination IP address is a second virtual IP address, the first MAC address is a physical address of the first network card, the second MAC address is a physical address of the second network card, the first virtual IP address is in a corresponding relation with the first MAC address, an IP address which has a corresponding relation with the first real IP address of the first network card and is different from the real IP address of each network card in the multi-network card device, wherein the second virtual IP address has a corresponding relation with the second MAC address, an IP address which has a corresponding relation with a second real IP address of the second network card and is different from the real IP address of each network card in the multi-network card device;
the first sending module is used for sending the request message according to a routing protocol, wherein the routing protocol is used for indicating the first network card to send the request message through an external channel of the multi-network-card device;
the second network card includes:
a first receiving module, configured to receive the request packet according to the routing protocol, where the routing protocol is used to instruct the second network card to receive the request packet through the external channel, and the second network card and the first network card both belong to the multi-network-card device;
the routing protocol indicates that if the source MAC address of the message is the first MAC address and the source IP address is an IP address different from the real IP address of each network card in the multi-network card device, the first network card sends the message through the external channel; and if the destination MAC address of the message is the second MAC address, and the destination IP address is an IP address which is different from the real IP address of each network card in the multi-network card device and has a corresponding relation with the second MAC address, the second network card receives the message through the external channel.
6. The system of claim 5, wherein the second network card further comprises:
a second determining module, configured to determine a response packet for the request packet;
the second sending module is used for sending the response message according to the routing protocol, and the routing protocol is used for indicating the second network card to send the response message through the external channel;
the first network card further comprises:
and the second receiving module is used for receiving the response message according to the routing protocol, and the routing protocol is used for indicating the first network card to receive the response message through the external channel.
7. The system according to claim 6, wherein the first determining module is configured to determine a first packet with a source MAC address being a first MAC address, a destination MAC address being a second MAC address, a source IP address being a first real IP address, and a destination IP address being a second virtual IP address; the first real IP address is the IP address of the first network card;
according to a preset NAT (network address translation) translation rule, translating the first message into a second message with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as a first virtual IP address and a destination IP address as the second virtual IP address, and taking the second message as the request message; and the NAT conversion rule comprises the corresponding relation between the first real IP address and the first virtual IP address.
8. The system of claim 7, wherein the first receiving module is configured to receive the second packet according to the routing protocol;
the second determining module is configured to convert the second packet into a third packet with a source MAC address as the first MAC address, a destination MAC address as the second MAC address, a source IP address as the first virtual IP address, and a destination IP address as a second real IP address according to the NAT conversion rule, where the NAT conversion rule includes a correspondence between the second real IP address and the second virtual IP address, and the second real IP address is an IP address of the second network card; determining a first response message aiming at the third message, wherein a source MAC address in the first response message is the second MAC address, a destination MAC address is the first MAC address, a source IP address is the second real IP address, and a destination IP address is the first virtual IP address; according to the NAT conversion rule, converting the first response message into a second response message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first virtual IP address, and taking the second response message as the response message;
the first network card further comprises:
and the conversion module is used for converting the response message into a message with a source MAC address as the second MAC address, a destination MAC address as the first MAC address, a source IP address as the second virtual IP address and a destination IP address as the first real IP address by the first network card according to the NAT conversion rule.
9. The network card is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-4.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN201910562133.0A 2019-06-26 2019-06-26 Message forwarding method, system, network card and storage medium Active CN112152927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910562133.0A CN112152927B (en) 2019-06-26 2019-06-26 Message forwarding method, system, network card and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910562133.0A CN112152927B (en) 2019-06-26 2019-06-26 Message forwarding method, system, network card and storage medium

Publications (2)

Publication Number Publication Date
CN112152927A CN112152927A (en) 2020-12-29
CN112152927B true CN112152927B (en) 2022-09-02

Family

ID=73869879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910562133.0A Active CN112152927B (en) 2019-06-26 2019-06-26 Message forwarding method, system, network card and storage medium

Country Status (1)

Country Link
CN (1) CN112152927B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595931B (en) * 2021-07-08 2024-01-16 杭州海康威视数字技术股份有限公司 Message processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163051A (en) * 2006-10-13 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network card transmission speed testing system and method
CN102196057A (en) * 2010-03-03 2011-09-21 腾讯科技(深圳)有限公司 Network address translation (NAT) type determination method and device
CN103812704A (en) * 2014-02-25 2014-05-21 国云科技股份有限公司 Public network IP (Internet Protocol) dynamic management method for virtual machine
CN104202195A (en) * 2014-09-10 2014-12-10 华为技术有限公司 Server unified communication method, baseboard management controller (BMC) and server
CN106160852A (en) * 2016-09-29 2016-11-23 武汉虹信通信技术有限责任公司 The network system of a kind of transmission equipment and remote upgrade method thereof
CN106953795A (en) * 2016-01-07 2017-07-14 中兴通讯股份有限公司 Configure the method and device of many network interface cards
CN109032866A (en) * 2018-07-25 2018-12-18 太仓市同维电子有限公司 A kind of multimachine test method of more network interface card test same network segment products

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1665236A (en) * 2004-03-01 2005-09-07 联想(北京)有限公司 A method for hardware address update of virtual equipment
US10587434B2 (en) * 2017-07-14 2020-03-10 Nicira, Inc. In-band management interface with user space datapath

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163051A (en) * 2006-10-13 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network card transmission speed testing system and method
CN102196057A (en) * 2010-03-03 2011-09-21 腾讯科技(深圳)有限公司 Network address translation (NAT) type determination method and device
CN103812704A (en) * 2014-02-25 2014-05-21 国云科技股份有限公司 Public network IP (Internet Protocol) dynamic management method for virtual machine
CN104202195A (en) * 2014-09-10 2014-12-10 华为技术有限公司 Server unified communication method, baseboard management controller (BMC) and server
CN106953795A (en) * 2016-01-07 2017-07-14 中兴通讯股份有限公司 Configure the method and device of many network interface cards
CN106160852A (en) * 2016-09-29 2016-11-23 武汉虹信通信技术有限责任公司 The network system of a kind of transmission equipment and remote upgrade method thereof
CN109032866A (en) * 2018-07-25 2018-12-18 太仓市同维电子有限公司 A kind of multimachine test method of more network interface card test same network segment products

Also Published As

Publication number Publication date
CN112152927A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN108449282B (en) Load balancing method and device
CN106572197B (en) Network address translation method, device and system
JP2004179812A (en) Address translation apparatus and address translation rule management system
US9654439B2 (en) Methods and gateways for processing DNS request
CN107317752B (en) Method and device for forwarding data message
WO2020108438A1 (en) Access system, method, and device.
WO2016130280A1 (en) Methods, systems, and computer readable media for facilitating the resolving of endpoint hostnames in test environments with firewalls, network address translators(nats), or clouds
CN109547350B (en) Route learning method and gateway equipment
US10142282B2 (en) Methods and gateways for processing DNS request
CN112532526B (en) Data forwarding method and device and network equipment
RU2019113321A (en) SYSTEMS AND METHODS FOR AUXILIARY NETWORK DETECTION FOR CLUSTER SYSTEMS BASED ON ZERO CONFIGURATION
CN107733930B (en) Method and system for forwarding Internet Protocol (IP) packets at multiple WAN network gateways
CN103095608B (en) A kind of agency retransmission method of DNS data bag
CN112152927B (en) Message forwarding method, system, network card and storage medium
JP4941117B2 (en) Server apparatus, network system, and network connection method used therefor
CN109246016B (en) Cross-VXLAN message processing method and device
CN114189492A (en) Network card pressure testing method and system based on network address translation technology
KR100716997B1 (en) Method and apparatus of translation bridge between ethernet and 1394A local links for consumer electronics devices
US10033690B2 (en) Communication method, wireless access point, wireless controller and communication system
WO2017166038A1 (en) Communication method and terminal
CN111654390B (en) Data transmission method, device, terminal equipment and storage medium
CN110661895A (en) Network address mapping method and network address mapping equipment of server
CN110650222B (en) Network access method and device
CN105763347A (en) Method for obtaining parameter, network equipment and system
CN113810288A (en) Message backhaul method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant