Method for router to realize ipv6 bridge communication through double-bridge mode

The dual-bridge method realizes ipv6 bridge communication, bypassing the PDF allocation process, solves the problem that the router needs to allocate PDFs by the superior device when implementing ipv6 communication, and realizes the effect of ipv6 communication without pd allocation.

CN119449707AActive Publication Date: 2025-02-14MICRONET UNION TECH (CHENGDU) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411628346.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-02-14
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

In the prior art, when a router realizes IPv6 communication, it requires the superior device to allocate pd, otherwise it will not be able to assign IPv6 addresses to the site, resulting in the inability to perform IPv6 routing communication.

Method used

The IPV6 bridge communication is realized through the dual-bridge method, bypassing the PDF allocation process, allowing the router's LAN side sites to directly allocate addresses from the superior device, and forward IPV6 messages through the second-layer bridge without routing forwarding.

Benefits of technology

IPv6 communication can be realized without the need for the superior equipment to support PDF allocation, which reduces the complexity of IPv6 deployment and effectively saves social resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449707A_ABST
    Figure CN119449707A_ABST
Patent Text Reader

Abstract

The invention relates to a method for a router to realize ipv6 bridge communication in a double-bridge mode, and belongs to the field of communication, when a wide area network port or a wide area network port. N judges that the received message is an ipv6 message, the wide area network port or the wide area network port. N sends the ipv6 message to a bridge.ipv6 through the wide area network. Ipv6 port or the wide area network port. N through the wide area network. Ipv6 port. N and simultaneously sends the ipv6 message to an IP (Internet Protocol) stack; the bridge. Ipv6 judges whether to forward the message to a port of a local area network side by querying an mac table; and the local area network port forwards the received ipv6 message to the bridge.ipv6 through the local area network .ipv6 port or the local area network port .N through the local area network .ipv6 port .N, and the bridge.ipv6 forwards the received ipv6 message to the port of the wide area network side and forwards the received ipv6 message to the IP protocol stack at the same time. According to the invention, the ipv6 network can be operated without deploying a pd, so that the complexity of deploying the ipv6 is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication, and in particular to a method for a router to realize IPv6 bridge communication through a dual-bridge mode. Background Art

[0002] The current way for routers to implement IPv6 communication is to communicate through IPv6 routing forwarding, forwarding IPv6 packets on the WAN side to the LAN side, and forwarding IPv6 packets on the LAN side to the LAN side. Before IPv6 routing forwarding, the router's upper device (optical modem) assigns a PD to the router, and the router assigns an IPv6 address to the site on the LAN side according to the PD, and then the site and the router can perform routing communication according to the IPv6 address. However, the current IPv6 network is not mature enough, and there are the following problems: 1. The upper device does not assign a PD to the router, resulting in the router being unable to assign an address to the site, and thus unable to perform IPv6 routing communication; 2. The PD assigned by the upper device to the router is invalid, resulting in the site being able to assign an IPv6 address, but unable to perform IPv6 routing communication. Therefore, how to deal with these problems is currently what needs to be considered. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art, provide a method for a router to realize IPv6 bridge communication through a dual-bridge mode, and solve the shortcomings of the prior art.

[0004] The purpose of the present invention is achieved through the following technical scheme: a method for a router to realize IPv6 bridge communication through a dual bridge mode, the method comprising: IPv6 message from WAN side to LAN side: When WAN port or WAN port.N determines that the received message is IPv6 message, the WAN port sends the IPv6 message to bridge.ipv6 through WAN.ipv6 port or WAN port.N through WAN.ipv6 port.N, and sends it to IP protocol stack at the same time. Bridge.ipv6 determines whether to forward the message to the port on the LAN side by querying the MAC table; IPv6 packets from the LAN side to the WAN side: The LAN port forwards the received IPv6 packets to Bridge.IPv6 through the LAN.IPv6 port or LAN port.N through the LAN.IPv6 port.N, and Bridge.IPv6 forwards them to the port on the WAN side, and Bridge.IPv6 forwards them to the IP protocol stack.

[0005] The IPv6 message from the wide area network side to the local area network side specifically includes: WAN port or WAN port.N receives all the messages, and if it is an IPv6 message, the WAN port copies an IPv6 message to the WAN.ipv6 port, or the WAN port.N copies an IPv6 message to the WAN.ipv6 port.N, and the WAN.ipv6 port or WAN.ipv6 port.N sends the IPv6 message to bridge.ipv6. Bridge.ipv6 checks its own MAC table to see if there is a MAC table for the IPv6 message. If there is a MAC table, the IPv6 message is forwarded to the port where the MAC is located. If there is no MAC table, it is broadcast to all ports under bridge.ipv6. At the same time, the WAN port or WAN port.N sends the received IPv6 message to the IP protocol stack. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the bridge.IPv6 to avoid repeated sending of IPv6 messages from the WAN side to the LAN side.

[0006] The IPv6 message from the local area network side to the wide area network side includes: The LAN port sends the received ipv6 message to the LAN.ipv6 port, or the LAN port.N sends the received ipv6 message to the LAN.ipv6 port.N, the LAN.ipv6 port or the LAN.ipv6 port.N then forwards the ipv6 message to the bridge.ipv6, the bridge.ipv6 forwards it to the WAN.ipv6 port or the WAN.ipv6 port.N, the WAN.ipv6 port or the WAN.ipv6 port.N determines that if it is an ipv6 message, it will be sent normally to the WAN port or the WAN port.N; At the same time, the LAN port or LAN port.N forwards the received IPv6 message to the IP protocol stack through bridge.ipv6. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the WAN port to avoid repeated sending of IPv6 messages from the LAN side to the WAN side.

[0007] The method also includes a process of receiving and sending packets by a host on the wide area network side of an IPv6 message and a process of receiving and sending packets by a host on the local area network side of an IPv6 message; The WAN side host packet receiving and sending process of the ipv6 message includes: the WAN port or WAN port .N receives the ipv6 message normally, and then sends it to the IP protocol stack. The IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally. If it is not an ipv6 message for the local machine, it will be discarded; The LAN side host packet receiving and sending process of the ipv6 message includes: the LAN port normally receives the ipv6 message and forwards it to the LAN.ipv6 port, or the LAN port.N normally receives the ipv6 message and forwards it to the LAN.ipv6 port.N, then the LAN.ipv6 port or the LAN.ipv6 port.N sends the ipv6 message to the bridge.ipv6, the bridge.ipv6 sends the ipv6 message to the IP protocol stack, and the IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally, and if it is not an ipv6 message for the local machine, it will be discarded.

[0008] The method also includes a process in which a local area network side site obtains an IPv6 address, which includes: The LAN port or LAN port.N receives the DHCPV6 response message or RS response message from the downstream site, and forwards it to the LAN.IPV6 port or LAN.IPV6 port.N, and the LAN.IPV6 port or LAN.IPV6 port.N forwards it to the bridge.IPV6, and the bridge.IPV6 forwards the DHCPV6 response message or RS response message to the WAN.IPV6 port or WAN.IPV6 port.N, and the WAN.IPV6 port forwards the DHCPV6 response message or RS response message to the WAN port or WAN.IPV6 port.N, and the WAN port or WAN port.N then sends the IPv6 message to the upper-level device optical modem; The upper-level optical modem sends the DHCPv6 response message or RS response message to the WAN port or WAN port.N, the WAN port forwards it to the WAN.IPv6 port or WAN port.N, the WAN.IPv6 port or WAN.IPv6 port.N is forwarded to the LAN.IPv6 port or LAN.IPv6 port.N through bridge.IPv6, the LAN.IPv6 port is sent out through the LAN port or the LAN.IPv6 port.N is sent out through the LAN port. At this time, the site receives the DHCPv6 response message or RS response message.

[0009] The WAN.IPV6 port and WAN.IPV6 port.N only receive and send ipv6 messages, and when sending ipv6 messages, they are directly sent out from the interface of the WAN port and WAN port.N; The WAN.ipv6 port, WAN.ipv6 port.N, LAN.ipv6 port, LAN.ipv6 port.N and IP protocol stack are all bound to bridge.ipv6, and LAN.ipv6 port, LAN.ipv6 port.N and bridge.ipv6 only send and receive ipv6 messages.

[0010] The method also includes an IPv4 message forwarding process, which includes: WAN to LAN path: WAN port or WAN port.N receives the IPv4 message and sends it to the IP protocol stack, the IP protocol stack forwards it to bridge.ipv4, bridge.ipv4 forwards it to LAN port or LAN port.N, and the LAN port or LAN port.N forwards it to the corresponding site; LAN to WAN path: LAN port or LAN port.N receives IPv4 message and sends it to bridge.ipv4, bridge.ipv4 forwards it to IP protocol stack, and IP protocol stack forwards it to WAN port or WAN port.N.

[0011] If the WAN.ipv6 port and WAN.ipv6 port.N receive an ipv4 message, they are directly discarded; if the LAN.ipv6 port, LAN.ipv6 port.N and bridge.ipv6 receive an ipv4 message, they are directly discarded; The bridge.ipv4 only receives and sends ipv4-related messages; the bridge.ipv6 only receives and sends ipv6-related messages; The method disables the DHCPv6 function and the RA function of the dynamic host configuration protocol service program of the device, and disables the IPv6 routing forwarding function of the IP protocol stack.

[0012] The invention has the following advantages: a method for realizing IPv6 bridge communication by a router through a dual-bridge mode, which can better support IPv6 communication without replacing the upper-level device that does not support PD allocation, thereby effectively saving social resources; IPv6 can run the IPv6 network without deploying PD, thereby effectively reducing the complexity of IPv6 deployment. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a structural schematic diagram of the present invention. DETAILED DESCRIPTION

[0014] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application provided below in conjunction with the drawings is not intended to limit the scope of protection of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application. The present invention is further described below in conjunction with the drawings.

[0015] like Figure 1 As shown, the present invention specifically relates to a method for a router to realize IPv6 bridge communication through a dual-bridge mode, adding a WAN.IPv6 port to a WAN port, and adding a LAN.IPv6 port to a LAN side. When IPv6 communication is performed, the PD allocation process is bypassed, and the site on the LAN side of the router is directly allocated an address from the upper-level device, and directly communicates with the upper-level router optical modem. The router only performs layer 2 bridge forwarding on the IPv6 message, and does not perform routing forwarding; specifically, the following contents are included.

[0016] IPv6 message from WAN side to LAN side: When WAN port or WAN port.N determines that the received message is IPv6 message, the WAN port sends the IPv6 message to bridge.ipv6 through WAN.ipv6 port or WAN port.N through WAN.ipv6 port.N, and sends it to IP protocol stack at the same time. Bridge.ipv6 determines whether to forward the message to the port on the LAN side by querying the MAC table; IPv6 packets from the LAN side to the WAN side: The LAN port forwards the received IPv6 packets to Bridge.IPv6 through the LAN.IPv6 port or LAN port.N through the LAN.IPv6 port.N, and Bridge.IPv6 forwards them to the port on the WAN side, and Bridge.IPv6 forwards them to the IP protocol stack.

[0017] Furthermore, the IPv6 message from the WAN side to the LAN side specifically includes: The WAN port or WAN port.N receives all the messages, and if it is an IPv6 message, the WAN port copies an IPv6 message to the WAN.ipv6 port, or the WAN port.N copies an IPv6 message to the WAN.ipv6 port.N, and the WAN.ipv6 port or WAN.ipv6 port.N sends the IPv6 message to the bridge.ipv6, and the bridge.ipv6 checks its own MAC table to see if there is a MAC table for the IPv6 message. If there is a MAC table, the IPv6 message is forwarded to the port where the MAC is located. If there is no MAC table, it is broadcast to all the ports under the bridge.ipv6, including the WAN.ipv6 port, the WAN.ipv6 port.N, the LAN port.ipv6 port, the LAN port.ipv6 port.N, and the IP protocol stack; At the same time, the WAN port or WAN port.N sends the received IPv6 message to the IP protocol stack. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the bridge.IPv6 to avoid repeated sending of IPv6 messages from the WAN side to the LAN side.

[0018] Furthermore, the IPv6 message from the LAN side to the WAN side includes: The LAN port sends the received ipv6 message to the LAN.ipv6 port, or the LAN port.N sends the received ipv6 message to the LAN.ipv6 port.N, the LAN.ipv6 port or the LAN.ipv6 port.N then forwards the ipv6 message to the bridge.ipv6, the bridge.ipv6 forwards it to the WAN.ipv6 port or the WAN.ipv6 port.N, the WAN.ipv6 port or the WAN.ipv6 port.N determines that if it is an ipv6 message, it will be sent normally to the WAN port or the WAN port.N; At the same time, the LAN port or LAN port.N forwards the received IPv6 message to the IP protocol stack through bridge.ipv6. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the WAN port to avoid repeated sending of IPv6 messages from the LAN side to the WAN side.

[0019] Furthermore, the present invention also includes a process of receiving and sending packets by a host on a wide area network side of an IPv6 message and a process of receiving and sending packets by a host on a local area network side of an IPv6 message; The WAN side host packet receiving and sending process of the ipv6 message includes: the WAN port or WAN port.N receives the ipv6 message normally, and then sends it to the IP protocol stack. The IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally. If it is not an ipv6 message for the local machine, it will be discarded; Among them, the LAN side host sending and receiving packet process of the ipv6 message includes: the LAN port normally receives the ipv6 message and forwards it to the LAN.ipv6 port, or the LAN port.N normally receives the ipv6 message and forwards it to the LAN.ipv6 port.N, then the LAN.ipv6 port or the LAN.ipv6 port.N sends the ipv6 message to the bridge.ipv6, the bridge.ipv6 sends the ipv6 message to the IP protocol stack, the IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally, if it is not an ipv6 message for the local machine, it will be discarded.

[0020] Furthermore, the present invention also includes a process for a local area network side site to obtain an IPv6 address, which includes: The LAN port or LAN port.N receives the DHCPV6 response message or RS response message from the downstream site, and forwards it to the LAN.IPV6 port or LAN.IPV6 port.N, which then forwards it to the bridge.IPV6, which forwards the DHCPV6 response message or RS response message to the WAN.IPV6 port or WAN.IPV6 port.N, which forwards it to the bridge.IPV6, which forwards the DHCPV6 response message or RS response message to the WAN.IPV6 port or WAN.IPV6 port.N, which forwards the DHCPV6 response message or RS response message to the WAN port or WAN.IPV6 port.N, which then sends the IPV6 message to the upper-level optical modem; The upper-level optical modem sends the DHCPv6 response message or RS response message to the WAN port or WAN port.N, the WAN port forwards it to the WAN.IPv6 port or WAN port.N, the WAN.IPv6 port or WAN.IPv6 port.N is forwarded to the LAN.IPv6 port or LAN.IPv6 port.N through bridge.IPv6, the LAN.IPv6 port is sent out through the LAN port or the LAN.IPv6 port.N is sent out through the LAN port. At this time, the site receives the DHCPv6 response message or RS response message.

[0021] Among them, WAN.ipv6 port and WAN.ipv6 port.N only receive and send IPv6 packets, and when sending IPv6 packets, they are sent directly from the interface of WAN port and WAN port.N; WAN.ipv6 port, WAN.ipv6 port.N, LAN.ipv6 port, LAN.ipv6 port.N and IP protocol stack are all bound to bridge.ipv6, LAN.ipv6 port, LAN.ipv6 port.N and bridge.ipv6 only send and receive IPv6 packets; turn off the DHCPv6 function and RA function of the device's dynamic host configuration protocol service program (DHCPv4 function is not affected).

[0022] Furthermore, the present invention also includes an ipv4 message forwarding process, which includes: WAN to LAN path: WAN port or WAN port.N receives the IPv4 message and sends it to the IP protocol stack, the IP protocol stack forwards it to bridge.ipv4, bridge.ipv4 forwards it to LAN port or LAN port.N, and the LAN port or LAN port.N forwards it to the corresponding site; LAN to WAN path: LAN port or LAN port.N receives IPv4 message and sends it to bridge.ipv4, bridge.ipv4 forwards it to IP protocol stack, and IP protocol stack forwards it to WAN port or WAN port.N.

[0023] WAN port and WAN port.N processing: WAN port and WAN port.N will not forward IPv4 to WAN.IPv6 port and WAN.IPv6 port.N, and WAN.IPv6 port and WAN.IPv6 port.N will discard all IPv4 packets, so that IPv4 packets will not be forwarded from bridge.IPv6 to WAN port or WAN port.N through WAN.IPv6 or WAN.IPv6 port.N.

[0024] LAN.ipv6 port and LAN.ipv6 port.N processing: LAN port and LAN port.N will not forward ipv4 packets to LAN.ipv6 port LAN.ipv6 port.N, and LAN.ipv6 port and LAN.ipv6 port.N will discard all ipv4 packets, so that ipv4 packets will not be forwarded to bridge.ipv6 through LAN.ipv6 port and LAN.ipv6 port.N.

[0025] The LAN side of the present invention adds a LAN.ipv6 port. When an ipv6 message is received from the LAN port and transferred to the LAN.ipv6 port, the LAN.ipv6 port forwards it to bridge.ipv6 and does not copy it to bridge.ipv4. All LAN ports are bound to bridge.ipv4. The LAN port will only send ipv4 messages to bridge.ipv4 and will not send ipv6 messages to bridge.ipv4.

[0026] Multi-LAN port processing: Add LAN.ipv6Port.N sub-interface on the LAN side. When the ipv6 packet is received from LANPort.N, it is forwarded to LANLAN.ipv6Port.N, and LAN.ipv6Port.N is forwarded to bridge.ipv6 and not copied to bridge.ipv4.

[0027] Bind all LAN ports.N to bridge.ipv4. LAN port.N will only send ipv4 packets to bridge.ipv4, and will not send ipv6 packets to bridge.ipv4.

[0028] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used for various other combinations, modifications and improvements, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not deviate from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A method for implementing IPv6 bridge communication by a router through a dual bridge mode, characterized in that: The method comprises: IPv6 message from WAN side to LAN side: When WAN port or WAN port.N determines that the received message is IPv6 message, the WAN port sends the IPv6 message to bridge.ipv6 through WAN.ipv6 port or WAN port.N through WAN.ipv6 port.N, and sends it to IP protocol stack at the same time. Bridge.ipv6 determines whether to forward the message to the port on the LAN side by querying the MAC table; IPv6 packets from the LAN side to the WAN side: The LAN port forwards the received IPv6 packets to Bridge.IPv6 through the LAN.IPv6 port or LAN port.N through the LAN.IPv6 port.N, and Bridge.IPv6 forwards them to the port on the WAN side, and Bridge.IPv6 forwards them to the IP protocol stack.

2. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The IPv6 message from the wide area network side to the local area network side specifically includes: WAN port or WAN port.N receives all the messages, and if it is an IPv6 message, the WAN port copies an IPv6 message to the WAN.ipv6 port, or the WAN port.N copies an IPv6 message to the WAN.ipv6 port.N, and the WAN.ipv6 port or WAN.ipv6 port.N sends the IPv6 message to bridge.ipv6. Bridge.ipv6 checks its own MAC table to see if there is a MAC table for the IPv6 message. If there is a MAC table, the IPv6 message is forwarded to the port where the MAC is located. If there is no MAC table, it is broadcast to all ports under bridge.ipv6. At the same time, the WAN port or WAN port.N sends the received IPv6 message to the IP protocol stack. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the bridge.IPv6 to avoid repeated sending of IPv6 messages from the WAN side to the LAN side.

3. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The IPv6 message from the local area network side to the wide area network side includes: The LAN port sends the received ipv6 message to the LAN.ipv6 port, or the LAN port.N sends the received ipv6 message to the LAN.ipv6 port.N, the LAN.ipv6 port or the LAN.ipv6 port.N then forwards the ipv6 message to the bridge.ipv6, the bridge.ipv6 forwards it to the WAN.ipv6 port or the WAN.ipv6 port.N, the WAN.ipv6 port or the WAN.ipv6 port.N determines that if it is an ipv6 message, it will be sent normally to the WAN port or the WAN port.N; At the same time, the LAN port or LAN port.N forwards the received IPv6 message to the IP protocol stack through bridge.ipv6. At this time, the IP protocol stack turns off the IPv6 message forwarding function, so it will no longer forward the IPv6 message to the WAN port to avoid repeated sending of IPv6 messages from the LAN side to the WAN side.

4. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The method also includes a process of receiving and sending packets by a host on the wide area network side of an IPv6 message and a process of receiving and sending packets by a host on the local area network side of an IPv6 message; The WAN side host packet receiving and sending process of the ipv6 message includes: the WAN port or WAN port .N receives the ipv6 message normally, and then sends it to the IP protocol stack. The IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally. If it is not an ipv6 message for the local machine, it will be discarded; The LAN side host packet receiving and sending process of the ipv6 message includes: the LAN port normally receives the ipv6 message and forwards it to the LAN.ipv6 port, or the LAN port.N normally receives the ipv6 message and forwards it to the LAN.ipv6 port.N, then the LAN.ipv6 port or the LAN.ipv6 port.N sends the ipv6 message to the bridge.ipv6, the bridge.ipv6 sends the ipv6 message to the IP protocol stack, and the IP protocol stack determines that if it is an ipv6 message for the local machine, it will be processed normally, and if it is not an ipv6 message for the local machine, it will be discarded.

5. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The method also includes a process in which a local area network side site obtains an IPv6 address, which includes: The LAN port or LAN port.N receives the DHCPV6 response message or RS response message from the downstream site, and forwards it to the LAN.IPV6 port or LAN.IPV6 port.N, and the LAN.IPV6 port or LAN.IPV6 port.N forwards it to the bridge.IPV6, and the bridge.IPV6 forwards the DHCPV6 response message or RS response message to the WAN.IPV6 port or WAN.IPV6 port.N, and the WAN.IPV6 port forwards the DHCPV6 response message or RS response message to the WAN port or WAN.IPV6 port.N, and the WAN port or WAN port.N then sends the IPv6 message to the upper-level device optical modem; The upper-level optical modem sends the DHCPv6 response message or RS response message to the WAN port or WAN port.N, the WAN port forwards it to the WAN.IPv6 port or WAN port.N, the WAN.IPv6 port or WAN.IPv6 port.N is forwarded to the LAN.IPv6 port or LAN.IPv6 port.N through bridge.IPv6, the LAN.IPv6 port is sent out through the LAN port or the LAN.IPv6 port.N is sent out through the LAN port. At this time, the site receives the DHCPv6 response message or RS response message.

6. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The WAN.IPV6 port and WAN.IPV6 port.N only receive and send ipv6 messages, and when sending ipv6 messages, they are directly sent out from the interface of the WAN port and WAN port.N; The WAN.ipv6 port, WAN.ipv6 port.N, LAN.ipv6 port, LAN.ipv6 port.N and IP protocol stack are all bound to bridge.ipv6, and LAN.ipv6 port, LAN.ipv6 port.N and bridge.ipv6 only send and receive ipv6 messages.

7. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 1, characterized in that: The method also includes an IPv4 message forwarding process, which includes: WAN to LAN path: WAN port or WAN port.N receives the IPv4 message and sends it to the IP protocol stack, the IP protocol stack forwards it to bridge.ipv4, bridge.ipv4 forwards it to LAN port or LAN port.N, and the LAN port or LAN port.N forwards it to the corresponding site; LAN to WAN path: LAN port or LAN port.N receives IPv4 message and sends it to bridge.ipv4, bridge.ipv4 forwards it to IP protocol stack, and IP protocol stack forwards it to WAN port or WAN port.N.

8. The method for implementing IPv6 bridge communication by a router through a dual bridge mode according to claim 7, characterized in that: If the WAN.ipv6 port and WAN.ipv6 port.N receive an ipv4 message, they are directly discarded; if the LAN.ipv6 port, LAN.ipv6 port.N and bridge.ipv6 receive an ipv4 message, they are directly discarded; The bridge.ipv4 only receives and sends ipv4-related messages; the bridge.ipv6 only receives and sends ipv6-related messages; The method disables the DHCPv6 function and the RA function of the dynamic host configuration protocol service program of the device, and disables the IPv6 routing forwarding function of the IP protocol stack.

Citation Information

Patent Citations

  • Router and method for processing IPv6 packet thereof

    CN101841457A

  • Router and method for realizing IPv6 (Internet Protocol Version 6) message traversing on IPv4 (Internet Protocol Version 4) router

    CN102377654A

  • Method for achieving double-stack protocol bridge dialing

    CN103457823A

  • Enhanced network management system

    US20050055431A1

  • Ipv4-in-ipv6 DS lite data stream forwarding method, system, terminal and medium

    WO2020135479A1