CN111556176A - Data packet forwarding control system and method - Google Patents

Data packet forwarding control system and method Download PDF

Info

Publication number
CN111556176A
CN111556176A CN202010264617.XA CN202010264617A CN111556176A CN 111556176 A CN111556176 A CN 111556176A CN 202010264617 A CN202010264617 A CN 202010264617A CN 111556176 A CN111556176 A CN 111556176A
Authority
CN
China
Prior art keywords
packet
arp
port
external
service board
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.)
Granted
Application number
CN202010264617.XA
Other languages
Chinese (zh)
Other versions
CN111556176B (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.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies 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 Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202010264617.XA priority Critical patent/CN111556176B/en
Publication of CN111556176A publication Critical patent/CN111556176A/en
Application granted granted Critical
Publication of CN111556176B publication Critical patent/CN111556176B/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
    • 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/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The invention discloses a data packet forwarding control system and a method, wherein the system comprises: the system comprises a switching board card, a plurality of service board cards and an external host; the switch board card comprises: a CPU and a switching chip; the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip; the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card. The invention forwards the UDP data packet according to the UDP port number and forwards the ARP data packet according to the type of the ARP data packet, thereby reducing the quantity of the IP addresses required by the equipment, simplifying the external network resources required by the equipment and realizing that the equipment provides network service with a unified external IP address.

Description

Data packet forwarding control system and method
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a system and a method for controlling packet forwarding.
Background
A DSLAM (Digital Subscriber Line Access Multiplexer) is an office device (office device generally refers to a device provided by an office providing network Access) accessing various DSL/FXS systems, and supports various Access lines such as FXS, ADSL, VDSL, SHDSL, and the like in order to meet Access types of different users. The hardware resources required for each access line type are designed as independent corresponding board types (FXS board, ADSL board, VDSL board, SHDSL board, etc.), which are collectively referred to as service boards. A frame of the DSLAM device provides tens of slots, one slot supports insertion of a service board, and the service board provides network service through its own external IP and UDP (User datagram protocol, UDP provides a method for an application to send an encapsulated IP packet without establishing a connection).
Because the service board card has a software system which operates independently, each board card is generally configured with an external IP address, which causes the problem of large occupation of IP addresses of equipment; and the IP address allocation work is complicated and error is easy to occur.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a data packet forwarding control system and a data packet forwarding control method, and aims to solve the problems that in the prior art, equipment IP addresses occupy more, IP address allocation work is complicated, and errors are easy to occur.
In order to achieve the above object, the present invention provides a packet forwarding control system, including: the system comprises a switching board card, a plurality of service board cards and an external host;
the switch board card comprises: a CPU and a switching chip;
the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip;
the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card.
Optionally, in the system for controlling packet forwarding, the network port configurations of all the service boards use the same MAC address and IP address;
each service board card is correspondingly provided with a section of independent UDP port number, and services provided by different service board cards are distinguished through the UDP port numbers.
Optionally, in the packet forwarding control system, the switch chip forwards a UDP packet received by the external port according to a UDP port number, and forwards an ARP packet received by the external port according to a type of the ARP packet;
the ARP packet includes: an ARP request packet and an ARP reply packet;
the ARP request packet is used for inquiring the MAC address of a host with a specified IP address in a network;
the ARP reply packet is used for the host with the specified IP address to send the MAC address of the host to the sender of the ARP request packet.
In order to achieve the above object, the present invention further provides a data packet forwarding control method based on the data packet forwarding control system, where the data packet forwarding control method includes the following steps:
the exchange chip sends the ARP request packet sent by the external host to the service board card;
the exchange chip sends a plurality of ARP response packets sent by the service board cards to the external host;
the switching chip sends a plurality of ARP request packets sent by a plurality of service board cards to the external host;
the switching chip redirects the ARP response packet received by the external port and then sends the ARP response packet to all the service board cards through the CPU;
the switching chip redirects a UDP data packet sent by the external host according to a pre-allocated UDP port number and then sends the UDP data packet to a corresponding service board card;
and the switching chip sends all UDP data packets sent by the service board card to the external host.
Optionally, the method for controlling forwarding of a data packet, where the switching chip sends an ARP request packet sent by the external host to the service board, specifically includes:
the ARP request packet is a broadcast packet, and the external port of the exchange chip unconditionally forwards the ARP request packet to all the forwarding ports when receiving the ARP request packet;
and all the forwarding ports correspondingly forward the ARP request packet to all the service board cards.
Optionally, the method for controlling packet forwarding, where the switch chip sends a plurality of ARP reply packets sent by a plurality of service boards to the external host, specifically includes:
a plurality of ARP response packets sent by the plurality of service board cards take the MAC address of the external host as a destination MAC address, and send the plurality of ARP response packets to the switching chip;
the exchange chip sends a plurality of ARP response packets to the external port according to a destination MAC address;
the external port sends a plurality of ARP response packets to the external host;
and the MAC addresses of all the service board cards are the same, and the MAC addresses of the responders carried by all the ARP response packets are the same.
Optionally, the method for controlling packet forwarding, where the switch chip sends a plurality of ARP request packets sent by a plurality of service boards to the external host, specifically includes:
the ARP request packet is a broadcast packet, and all the forwarding ports of the switching chip unconditionally forward the ARP request packet to the external port when receiving the ARP request packet sent by the service board card;
and the external port forwards the ARP request packet to the external host.
Optionally, the method for controlling forwarding of a data packet, where the switch chip redirects an ARP reply packet received by the external port and sends the redirected ARP reply packet to all service boards through the CPU, specifically includes:
the ARP response packet sent by the external host takes the MAC address of the service board card sending the ARP request as a target MAC address, and sends the ARP response packet to the switching chip;
the switching chip redirects the received ARP response packet to the CPU, the CPU copies the content of the ARP response packet and sends an ARP response packet to each service board card respectively, and the ARP response packet is used for ensuring that the service board card which has sent the ARP request receives the ARP response.
Optionally, the method for controlling packet forwarding, where the switch chip redirects a UDP packet sent by the external host according to a pre-assigned UDP port number and sends the UDP packet to a corresponding service board, specifically includes:
the UDP data packet sent by the external host takes the MAC address of the service board card as a destination MAC address and is sent to the switching chip;
pre-allocating the range of UDP port numbers used by the service board cards on each slot, redirecting the UDP data packets received by the external ports of the exchange chip to the corresponding forwarding ports according to the UDP port numbers;
and the forwarding port sends the UDP data packet to a service board card connected with the forwarding port.
Optionally, the method for controlling forwarding of a data packet, where the switch chip sends the UDP data packets sent by all the service boards to the external host, specifically includes:
all UDP data packets sent by the service board cards take the MAC address of the external host as a destination MAC address, and the UDP data packets are sent to the switching chip;
the exchange chip sends the UDP data packet to the external port according to the destination MAC address;
and the external port sends the UDP data packet to the external host.
In the present invention, a UDP packet sent by the external host uses an MAC address of a service board as a destination MAC address, and the forwarding port sends the UDP packet to a service board connected to the forwarding port, and the system includes: the system comprises a switching board card, a plurality of service board cards and an external host; the switch board card comprises: a CPU and a switching chip; the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip; the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card. The invention forwards the UDP data packet according to the UDP port number and forwards the ARP data packet according to the type of the ARP data packet, thereby reducing the quantity of the IP addresses required by the equipment, simplifying the external network resources required by the equipment and realizing that the equipment provides network service with a unified external IP address.
Drawings
Fig. 1 is a schematic diagram of a packet forwarding control system according to a preferred embodiment of the present invention.
Fig. 2 is a flow chart of a preferred embodiment of the packet forwarding control method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the packet forwarding control system according to the preferred embodiment of the present invention includes: the system comprises a switching board card, a plurality of service board cards and an external host; the switch board card comprises: a CPU and a switching chip; the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip; the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card.
The service board card provides network service for outside by using its external IP address and UDP port number, and the service model which is usually easy to realize is that a plurality of service board cards correspond to a plurality of corresponding external IP addresses and uniform UDP port numbers to form a large-capacity service system to provide network service; the invention provides a network service solution scheme that DSLAM equipment of a plurality of service board cards uses a uniform external IP address and a plurality of UDP ports, and distinguishes services provided by different service board cards through UDP port numbers instead of the traditional method that different board cards are distinguished through IP addresses; both the network service provider and the network service user can easily set the used UDP port number, thereby avoiding setting different external IP addresses which are difficult to manage on the board card software system.
In an IP network, one MAC address may correspond to multiple IP addresses, but one IP address may correspond to only one MAC address, so MAC addresses of boards using the same external IP address must be the same. Therefore, the MAC addresses of all the service board cards are the same, so that a universal network switch or a switching chip cannot be used for carrying out two-layer forwarding according to the target MAC address of the data packet (the two-layer forwarding is to forward the data packet according to the target MAC address in the data packet, and the MAC addresses of all the service board cards are the same in the foregoing, so that the target MAC addresses in the data packets sent to different service board cards are the same, and the switch or the switching chip does not know which service board card the data packet is forwarded to) so as to send the data packet to the service board cards; in the above description, each service board distinguishes the data packet by the UDP port number (each service board has an independent UDP port number, and the services provided by different service boards are distinguished by the UDP port number), so the invention designs a board system for forwarding the data packet based on the UDP port number, which provides a communication network port to the outside and also provides a forwarding port for each service board, which is called as a switch board, to undertake the forwarding work of the UDP data packet between the service board and the outside of the device.
The service board needs to establish IP communication with an external IP address, and needs to acquire an MAC address of the other party in advance, so that the two parties need to keep ARP protocol communication normal (ARP is a communication protocol for acquiring the MAC address of the other party through the IP address of the other party), and an ARP packet (i.e., an ARP protocol packet) does not have a UDP port number, so that the switch board needs to additionally design and support forwarding of the ARP packet.
Further, the exchange chip forwards the UDP data packet received by the external port according to the UDP port number, and forwards the ARP data packet received by the external port according to the type of the ARP data packet; the ARP packet includes: an ARP request packet and an ARP reply packet; the ARP request packet is used for inquiring the MAC address of a host with a specified IP address in a network; the ARP reply packet is used for the host with the specified IP address to send the MAC address of the host to the sender of the ARP request packet.
As shown in fig. 1, the switch board mainly includes a CPU and a switch chip, an internal port is provided for communication between the CPU and the switch chip, the switch board provides an external port and a forwarding port through the switch chip, the external port is used as a network port for providing network service for DSLAM equipment, each forwarding port is connected to a network port of a service board, and the network ports of all the service boards are configured to use the same MAC address and IP address.
Because the switching chip is required to forward the data packet (the data packet includes a UDP data packet and an ARP data packet) according to the UDP port number and the ARP type, a switching chip capable of supporting a packet redirection function is adopted, where the redirection function means that the switching chip can forward the data packet to a designated port according to the content of the IP header or the UDP header of the data packet, and no longer forward the data packet to the port according to the destination MAC address.
For example, assume that the service board in slot 1 uses UDP port number range 10000-; the external port receives the data packet with the UDP port number range of 10000-; and the external port receives the data packet with the UDP port number range of 20000-plus 29999 and forwards the data packet to the service board card on the slot 2.
For the ARP data packet, only an ARP response packet needs to be identified and forwarded, and an ARP request packet does not need to be specially forwarded; therefore, the external port receives the ARP data packet, the ARP type is distinguished as an ARP response packet according to data in the ARP data packet, the ARP response packet sent by the service board card takes the MAC address of the external host as a target MAC address, and the switching chip sends the ARP response packet to the external port according to the target MAC address.
Further, based on the system for controlling forwarding of data packets described in the present invention, a preferred embodiment of the present invention further provides a method for controlling forwarding of data packets, where, as shown in fig. 1 and fig. 2, the method for controlling forwarding of data packets includes the following steps:
and step S10, the switch chip sends the ARP request packet sent by the external host to the service board.
Specifically, the ARP request packet is a broadcast packet, and the external port of the switch chip unconditionally forwards the ARP request packet to all the forwarding ports when receiving the ARP request packet; and all the forwarding ports correspondingly forward the ARP request packet to all the service board cards.
The ARP data packets are only two, one is an ARP request packet which is used for inquiring the MAC address of a host with a specified IP address in the network, the target MAC of the ARP request packet is a broadcast MAC, and all hosts can receive the broadcast MAC; the other is an ARP reply packet, in which a host for specifying an IP address sends its MAC address to a sender of an ARP request packet, and the destination MAC of the ARP reply packet is the MAC address of the sender of the ARP request packet.
The external port of the exchange chip receives the ARP request packet and forwards the ARP request packet to all forwarding ports unconditionally, and all service board cards can receive the ARP request packet.
Step S20, the switch chip sends a plurality of ARP reply packets sent by the plurality of service boards to the external host.
Specifically, a plurality of ARP reply packets sent by the plurality of service boards take the MAC address of the external host as a destination MAC address, and send the plurality of ARP reply packets to the switch chip; the exchange chip sends a plurality of ARP response packets to the external port according to a destination MAC address; the external port sends a plurality of ARP response packets to the external host; and the MAC addresses of all the service board cards are the same, and the MAC addresses of the responders carried by all the ARP response packets are the same.
That is to say, the ARP reply packet sent by the service board takes the MAC address of the external host as the destination MAC address, the switch chip sends the ARP reply packet to the external port according to the destination MAC address, where there are multiple service boards, that is, there are multiple ARP reply packets sent to the external host, and since the MAC addresses of the service boards are the same and the MAC addresses of the responders carried by all the ARP reply packets are also the same, there is no conflict between the multiple reply packets.
Step S30, the switch chip sends the ARP request packets sent by the service boards to the external host.
Specifically, the ARP request packet is a broadcast packet, and all the forwarding ports of the switch chip unconditionally forward the ARP request packet to the external port when receiving the ARP request packet sent by the service board; and the external port forwards the ARP request packet to the external host.
That is, any forwarding port of the switch chip receives the ARP request packet and forwards the ARP request packet to the external port unconditionally.
Step S40, the switch chip redirects the ARP reply packet received by the external port and sends the redirected ARP reply packet to all the service boards through the CPU.
Specifically, the ARP reply packet sent by the external host takes the MAC address of the service board sending the ARP request as the destination MAC address, and sends the ARP reply packet to the switch chip; the switching chip redirects the received ARP response packet to the CPU, the CPU copies the content of the ARP response packet and sends an ARP response packet to each service board card respectively, and the ARP response packet is used for ensuring that the service board card which has sent the ARP request receives the ARP response.
For example, an ARP reply packet sent by the external host is sent to the switch chip with the MAC address of the service board n as the destination MAC address, but the switch chip cannot ensure that the ARP reply packet is forwarded to the forwarding port n, because the switch chip has multiple forwarding ports for forwarding communication with the MAC address of the service board, the ARP reply packet is forwarded from one of the forwarding ports. The invention redirects the ARP response packet received by the external port of the exchange chip to the CPU, and the CPU copies the content of the data packet and sends one copy to each service board card; the method and the system ensure that the service board n which sends the ARP request can receive the ARP response, the service board which does not send the ARP request also receives the ARP response and cannot influence the normal operation of the IP network, and a general CPU can be competent for forwarding work due to the small number of ARP protocol packets.
Step S50, the switch chip redirects the UDP packet sent by the external host according to the pre-assigned UDP port number and sends the redirected UDP packet to the corresponding service board.
Specifically, the UDP packet sent by the external host takes an MAC address of a service board as a destination MAC address, and sends the UDP packet to the switch chip; pre-allocating the range of UDP port numbers used by the service board cards on each slot, redirecting the UDP data packets received by the external ports of the exchange chip to the corresponding forwarding ports according to the UDP port numbers; and the forwarding port sends the UDP data packet to a service board card connected with the forwarding port.
For example, a UDP packet sent by the external host is sent to the switch chip by using the MAC address corresponding to the service board n as the destination MAC address, but the switch chip cannot ensure that the UDP packet is forwarded to the forwarding port n, because the switch chip has a plurality of forwarding ports for forwarding communication with the MAC address of the service board, the UDP packet is forwarded from one of the forwarding ports. The invention pre-allocates the range of UDP port number used by the board card on each slot, redirects the UDP data packet received by the external port of the exchange chip to the corresponding forwarding port according to the UDP port number; for example, the traffic board in slot 1 uses UDP port number range 10000- "19999", and the traffic board in slot 2 uses UDP port number range 20000- "29999".
Step S60, the switch chip sends the UDP data packets sent by all the service boards to the external host.
Specifically, all UDP packets sent by the service board take the MAC address of the external host as a destination MAC address, and send the UDP packets to the switch chip; the exchange chip sends the UDP data packet to the external port according to the destination MAC address; and the external port sends the UDP data packet to the external host.
That is, the UDP packet sent by the service board takes the MAC address of the external host as the destination MAC address, and the switch chip sends the packet to the external port according to the destination MAC address.
To sum up, the present invention provides a system and a method for controlling packet forwarding, where the system includes: the system comprises a switching board card, a plurality of service board cards and an external host; the switch board card comprises: a CPU and a switching chip; the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip; the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card. The invention forwards the UDP data packet according to the UDP port number and forwards the ARP data packet according to the type of the ARP data packet, thereby reducing the quantity of the IP addresses required by the equipment, simplifying the external network resources required by the equipment and realizing that the equipment provides network service with a unified external IP address.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A packet forwarding control system, comprising: the system comprises a switching board card, a plurality of service board cards and an external host;
the switch board card comprises: a CPU and a switching chip;
the CPU is connected with the switching chip through an internal port, and the switching board card provides an external port connected with the external host and a plurality of forwarding ports corresponding to the connection of the plurality of service board cards through the switching chip;
the external port is used as a network port for providing network service for DSLAM equipment, and each forwarding port is connected with a network port of one service board card.
2. The system according to claim 1, wherein the network port configurations of all the service boards use the same MAC address and IP address;
each service board card is correspondingly provided with a section of independent UDP port number, and services provided by different service board cards are distinguished through the UDP port numbers.
3. The packet forwarding control system according to claim 1, wherein the switch chip forwards the UDP packet received by the external port according to a UDP port number, and forwards the ARP packet received by the external port according to a type of the ARP packet;
the ARP packet includes: an ARP request packet and an ARP reply packet;
the ARP request packet is used for inquiring the MAC address of a host with a specified IP address in a network;
the ARP reply packet is used for the host with the specified IP address to send the MAC address of the host to the sender of the ARP request packet.
4. A packet forwarding control method based on the packet forwarding control system according to any one of claims 1 to 3, wherein the packet forwarding control method comprises:
the exchange chip sends the ARP request packet sent by the external host to the service board card;
the exchange chip sends a plurality of ARP response packets sent by the service board cards to the external host;
the switching chip sends a plurality of ARP request packets sent by a plurality of service board cards to the external host;
the switching chip redirects the ARP response packet received by the external port and then sends the ARP response packet to all the service board cards through the CPU;
the switching chip redirects a UDP data packet sent by the external host according to a pre-allocated UDP port number and then sends the UDP data packet to a corresponding service board card;
and the switching chip sends all UDP data packets sent by the service board card to the external host.
5. The method according to claim 4, wherein the sending, by the switch chip, the ARP request packet sent by the external host to the service board specifically includes:
the ARP request packet is a broadcast packet, and the external port of the exchange chip unconditionally forwards the ARP request packet to all the forwarding ports when receiving the ARP request packet;
and all the forwarding ports correspondingly forward the ARP request packet to all the service board cards.
6. The method according to claim 4, wherein the sending, by the switch chip, the ARP reply packets sent by the service boards to the external host specifically includes:
a plurality of ARP response packets sent by the plurality of service board cards take the MAC address of the external host as a destination MAC address, and send the plurality of ARP response packets to the switching chip;
the exchange chip sends a plurality of ARP response packets to the external port according to a destination MAC address;
the external port sends a plurality of ARP response packets to the external host;
and the MAC addresses of all the service board cards are the same, and the MAC addresses of the responders carried by all the ARP response packets are the same.
7. The method according to claim 4, wherein the sending, by the switch chip, the ARP request packets sent by the service boards to the external host specifically includes:
the ARP request packet is a broadcast packet, and all the forwarding ports of the switching chip unconditionally forward the ARP request packet to the external port when receiving the ARP request packet sent by the service board card;
and the external port forwards the ARP request packet to the external host.
8. The method according to claim 4, wherein the switch chip redirects the ARP reply packet received by the external port and sends the redirected ARP reply packet to all the service boards through the CPU, and specifically includes:
the ARP response packet sent by the external host takes the MAC address of the service board card sending the ARP request as a target MAC address, and sends the ARP response packet to the switching chip;
the switching chip redirects the received ARP response packet to the CPU, the CPU copies the content of the ARP response packet and sends an ARP response packet to each service board card respectively, and the ARP response packet is used for ensuring that the service board card which has sent the ARP request receives the ARP response.
9. The method according to claim 4, wherein the switch chip redirects the UDP packet sent by the external host according to a pre-assigned UDP port number and sends the UDP packet to the corresponding service board, specifically including:
the UDP data packet sent by the external host takes the MAC address of the service board card as a destination MAC address and is sent to the switching chip;
pre-allocating the range of UDP port numbers used by the service board cards on each slot, redirecting the UDP data packets received by the external ports of the exchange chip to the corresponding forwarding ports according to the UDP port numbers;
and the forwarding port sends the UDP data packet to a service board card connected with the forwarding port.
10. The method according to claim 4, wherein the sending, by the switch chip, the UDP packet sent by all the service boards to the external host specifically includes:
all UDP data packets sent by the service board cards take the MAC address of the external host as a destination MAC address, and the UDP data packets are sent to the switching chip;
the exchange chip sends the UDP data packet to the external port according to the destination MAC address;
and the external port sends the UDP data packet to the external host.
CN202010264617.XA 2020-04-07 2020-04-07 Data packet forwarding control system and method Active CN111556176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010264617.XA CN111556176B (en) 2020-04-07 2020-04-07 Data packet forwarding control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010264617.XA CN111556176B (en) 2020-04-07 2020-04-07 Data packet forwarding control system and method

Publications (2)

Publication Number Publication Date
CN111556176A true CN111556176A (en) 2020-08-18
CN111556176B CN111556176B (en) 2022-06-14

Family

ID=72004253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010264617.XA Active CN111556176B (en) 2020-04-07 2020-04-07 Data packet forwarding control system and method

Country Status (1)

Country Link
CN (1) CN111556176B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116235469A (en) * 2020-11-03 2023-06-06 华为技术有限公司 Network chip and network device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069993A1 (en) * 2001-09-05 2003-04-10 Sumsung Electronics Co., Ltd. Apparatus and method for allocating IP addresses to network interface card
US20060120361A1 (en) * 2004-12-03 2006-06-08 Utstarcom, Inc. Method and system for providing packet data services
CN102025848A (en) * 2009-09-18 2011-04-20 鸿富锦精密工业(深圳)有限公司 Gateway and method for processing packets by using gateway
US20130195109A1 (en) * 2011-08-22 2013-08-01 Keiko Ogawa Network gateway apparatus
CN107018093A (en) * 2017-04-12 2017-08-04 深圳市风云实业有限公司 A kind of communication between plates apparatus and method in distributed apparatus
CN108173753A (en) * 2017-12-28 2018-06-15 迈普通信技术股份有限公司 Message forwarding method, switching card, service card and distribution switch
CN108471390A (en) * 2018-03-20 2018-08-31 深圳市风云实业有限公司 The reorientation method of service message straddle processing system and service message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069993A1 (en) * 2001-09-05 2003-04-10 Sumsung Electronics Co., Ltd. Apparatus and method for allocating IP addresses to network interface card
US20060120361A1 (en) * 2004-12-03 2006-06-08 Utstarcom, Inc. Method and system for providing packet data services
CN102025848A (en) * 2009-09-18 2011-04-20 鸿富锦精密工业(深圳)有限公司 Gateway and method for processing packets by using gateway
US20130195109A1 (en) * 2011-08-22 2013-08-01 Keiko Ogawa Network gateway apparatus
CN107018093A (en) * 2017-04-12 2017-08-04 深圳市风云实业有限公司 A kind of communication between plates apparatus and method in distributed apparatus
CN108173753A (en) * 2017-12-28 2018-06-15 迈普通信技术股份有限公司 Message forwarding method, switching card, service card and distribution switch
CN108471390A (en) * 2018-03-20 2018-08-31 深圳市风云实业有限公司 The reorientation method of service message straddle processing system and service message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116235469A (en) * 2020-11-03 2023-06-06 华为技术有限公司 Network chip and network device

Also Published As

Publication number Publication date
CN111556176B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US8838771B2 (en) Enabling VoIP calls to be initiated when a call server is unavailable
US8014409B1 (en) Virtual router identifier that spans multiple interfaces in a routing device
EP2214383B1 (en) Automatically releasing resources reserved for subscriber devices within a broadband access network
US20130058256A1 (en) Port mapping method and apparatus, and communication system
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
EP2169877B1 (en) Processing method and device for qinq termination configuration
US8543706B2 (en) Communication module for connecting application program to virtual private network
JP2019526983A (en) Separation of control plane function and transfer plane function of broadband remote access server
US8706908B2 (en) System, method and apparatus for media access control (MAC) address proxying
CN109156046B (en) Home gateway and method for forwarding service thereof
WO2020038325A1 (en) Network access method, wireless customer premise equipment, and access device
CN102025792A (en) Router and IP address setting method thereof
EP2232778A1 (en) Apparatus and method for concurrently accessing multiple wireless networks
EP2466796B1 (en) User access method, system and access server, access device
US20080298273A1 (en) Method For Establishing a Communication Relationship in at Least One Communication Network
US7995566B2 (en) Method for ensuring VLAN integrity for voice over internet protocol telephones
US7062565B1 (en) Service selection gateway (SSG) allowing access to services operating using changing set of access addresses
CN111556176B (en) Data packet forwarding control system and method
WO2022143161A1 (en) Method for configuring ipv6 addresses and routing device
WO2005117346A1 (en) A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol
KR100566837B1 (en) An intelligent network access device and a network access method
CN113765799A (en) Method for transmitting and receiving container message, storage medium and container communication system
US10693673B2 (en) Method and apparatus for routing data to cellular network
US10382363B2 (en) Chassis switches, network interface cards, and methods for management of packet forwarding
US8194689B2 (en) Method for bring-up of voice over internet protocol telephones

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