+

CN119449707A - A method for router to realize IPv6 bridge communication through dual bridge mode - Google Patents

A method for router to realize IPv6 bridge communication through dual bridge mode Download PDF

Info

Publication number
CN119449707A
CN119449707A CN202411628346.6A CN202411628346A CN119449707A CN 119449707 A CN119449707 A CN 119449707A CN 202411628346 A CN202411628346 A CN 202411628346A CN 119449707 A CN119449707 A CN 119449707A
Authority
CN
China
Prior art keywords
area network
ipv6
port
wide area
message
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
CN202411628346.6A
Other languages
Chinese (zh)
Other versions
CN119449707B (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.)
Microgrid Union Technology Chengdu Co ltd
Original Assignee
Microgrid Union Technology Chengdu 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 Microgrid Union Technology Chengdu Co ltd filed Critical Microgrid Union Technology Chengdu Co ltd
Priority to CN202411628346.6A priority Critical patent/CN119449707B/en
Publication of CN119449707A publication Critical patent/CN119449707A/en
Application granted granted Critical
Publication of CN119449707B publication Critical patent/CN119449707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • 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
    • 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/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • 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/659Internet protocol version 6 [IPv6] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for realizing ipv6 bridge communication by a router in a double-bridge mode, which belongs to the communication field, wherein when a wide area network port or a wide area network port N judges that an ipv6 message is received, the wide area network port transmits the ipv6 message to a bridge ipv6 through the wide area network port or the wide area network port N, and simultaneously transmits the ipv6 message to an IP protocol stack, the bridge ipv6 judges whether to transmit the message to a port on a local area network side by inquiring a mac table, and the local area network port transmits the received ipv6 message to the bridge ipv6 through the local area network port or the local area network port N through the local area network port ipv6, and the bridge ipv6 is transmitted to the port on the wide area network side and simultaneously transmitted to the IP protocol stack. According to the invention, the ipv6 network can be operated without deploying pd, so that the complexity of ipv6 deployment is effectively reduced.

Description

Method for router to realize ipv6 bridge communication in double-bridge mode
Technical Field
The invention relates to the field of communication, in particular to a method for realizing ipv6 bridge communication by a router in a double-bridge mode.
Background
The communication mode of the current router for realizing the ipv6 is to communicate through an ipv6 route forwarding mode, forward an ipv6 message on a wide area network side to a local area network side, and forward the ipv6 message on the local area network side to the local area network side. Before carrying out ipv6 route forwarding, the superior device (optical cat) of the router distributes pd to the router, the router distributes an ipv6 address to a site on the local area network side according to the pd, and then the site and the router can carry out route communication according to the ipv6 address. However, the prior ipv6 network is not mature, and has the problems that 1, the superior device does not allocate pd to the router, so that the router cannot allocate an address to a site, and thus ip v6 routing communication cannot be performed, and 2, the superior device does not allocate pd to the router, so that although the site can allocate an ip v6 address, ip v6 routing communication cannot be performed. Therefore, how to do this is currently a consideration.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method for realizing ipv6 bridge communication by a router in a double-bridge mode, and solves the defects in the prior art.
The invention aims at realizing the technical scheme that the method for realizing the ipv6 bridge communication by the router through the double-bridge mode comprises the following steps:
When the wide area network port or the wide area network port N judges that the received message is the ipv6 message, the wide area network port transmits the ipv6 message to the bridge ipv6 and simultaneously transmits the bridge ipv6 to the IP protocol stack through the wide area network port or the wide area network port N, and the bridge ipv6 judges whether to transmit the message to the port of the local area network side by inquiring the mac table;
The ipv6 message is forwarded from the lan side to the wan side, where the lan port passes through the lan ipv6 port or the lan port, where the lan port passes through the lan ipv6 port, and the received ipv6 message is forwarded to the bridge ipv6, and the bridge ipv6 is forwarded to the port of the wan side, and at the same time, the bridge ipv6 is forwarded to the IP protocol stack.
The ipv6 message specifically includes, from a wide area network side to a local area network side:
The method comprises the steps that a wide area network port or a wide area network port.N receives all messages, whether a mac table of the messages of the ipv6 exists in a mac table of the bridge.ipv 6 is judged, if the mac table exists, the ipv6 message is transferred to the port where the mac exists, and if the mac table does not exist, the mac table is broadcast to all ports below the bridge.ipv6;
And meanwhile, the wide area network port or the wide area network port N sends the received ipv6 message to an IP protocol stack, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the bridge ipv6 any more, and repeated sending of the ipv6 message from the wide area network side to the local area network side is avoided.
The ipv6 message from the local area network side to the wide area network side includes:
the local area network port sends the received ipv6 message to the local area network port ipv6 or the local area network port iv sends the received ipv6 message to the local area network port ipv 6N, the local area network port ipv6 or the local area network port ipv 6N forwards the ipv6 message to the bridge ipv6, and the bridge ipv6 forwards the ipv6 message to the wide area network port ipv6 or the wide area network port ipv 6N, the wide area network port ipv6 or the wide area network port ipv6, and if the received ipv6 message is judged by the local area network port iv, the received ipv6 message is normally sent to the wide area network port or the wide area network port iv;
Meanwhile, the local area network port or the local area network port N forwards the received ipv6 message to the IP protocol stack through the bridge ipv6, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the wide area network port any more, and repeated sending from the local area network side to the wide area network side ipv6 message is avoided.
The method also comprises a wide area network side host receiving and transmitting process of the ipv6 message and a local area network side host receiving and transmitting process of the ipv6 message;
The process of receiving and transmitting packets by the host at the wide area network side of the ipv6 message comprises that a wide area network port or a wide area network port, wherein the N normally receives the ipv6 message and then sends the ipv6 message to an IP protocol stack, and the IP protocol stack judges whether the ipv6 message is sent to the host or not and discards the ipv6 message if the ipv6 message is not sent to the host;
The local area network side host receiving and transmitting process of the ipv6 message comprises that a local area network port normally receives the ipv6 message and forwards the ipv6 message to a local area network ipv6 port, or the local area network port N normally receives the ipv6 message and forwards the ipv6 message to the local area network ipv6 port N, then the local area network ipv6 port or the local area network ipv6 port N sends the ipv6 message to a bridge ipv6, the bridge ipv6 sends the ipv6 message to an IP protocol stack, and the IP protocol stack judges that the ipv6 message is normally processed if the ipv6 message is sent to the local machine, and discards the ipv6 message if the ipv6 message is not sent to the local machine.
The method also comprises a process of acquiring the ipv6 address by the local area network side station, and the process comprises the following steps:
The local area network port or the local area network port.N receives dhcpv response messages or rs response messages of the hung stations and forwards the received response messages or rs response messages to the local area network.Ipv 6 port or the local area network.Ipv 6 port.N, the local area network.Ipv 6 port or the local area network.Ipv 6 port.N forwards the dhcpv response messages or rs response messages to the wide area network.Ipv 6 port or the wide area network.Ipv 6 port.N, and the wide area network.Ipv 6 port forwards dhcpv response messages or rs response messages to the wide area network port or the wide area network.Ipv 6 port.N forwards dhcpv response messages or rs response messages to the wide area network.N, and the wide area network port or the wide area network port.N further sends the Ipv6 messages to the superordinate equipment light cat;
the upper-level equipment optical modem transmits dhcpv response messages or rs response messages to the wide area network port or the wide area network port, the wide area network port transmits the information to the wide area network port or the ipv6 port, the wide area network port transmits the information to the ipv6 port or the wide area network port, the ipv6 port transmits the information to the local area network port or the ipv6 port through the local area network port, and the site receives dhcpv response messages or rs response messages.
The wide area network port, the ipv6 port, the N only receives and transmits the ipv6 message, and when transmitting the ipv6 message, the ipv6 message is directly transmitted from the wide area network port and the interface of the wide area network port, the N;
The wide area network, the ipv6 port, the local area network, the ipv6 port, the N and the IP protocol stack are all bound to the bridge, the ipv6 port, the local area network, the ipv6 port, the N and the bridge, the ipv6 only receive and transmit the ipv6 message.
The method also comprises an ipv4 message forwarding process, which comprises:
The wide area network to local area network path is that a wide area network port or a wide area network port.N receives an ipv4 message and sends the ipv4 message to an IP protocol stack, the IP protocol stack forwards the ipv4 to the bridge, the bridge transfers the ipv4 to the local area network port or the local area network port N, and the local area network port or the local area network port N is transferred to a corresponding site;
And the local area network to wide area network path is that a local area network port or a local area network port.N receives an ipv4 message and sends the ipv4 message to the bridge.ipv 4, the bridge.ipv 4 forwards the message to an IP protocol stack, and the IP protocol stack forwards the message to the wide area network port or the wide area network port.N.
The Wide Area Network (WAN) port (IPv 6) and the Wide Area Network (WAN) port (IPv 6) are directly discarded if the IPv4 message is received, and the Local Area Network (LAN) port (IPv 6), the Local Area Network (LAN) port (IPv 6) N and the bridge (bridge) port (IPv 6) are directly discarded if the IPv4 message is received;
The bridge is used for receiving and sending only messages related to the ipv4 by the ipv4, and the bridge is used for receiving and sending only messages related to the ipv6 by the ipv 6;
the method closes dhcpv function and RA function of the dynamic host configuration protocol service program of the equipment, and closes ipv6 route forwarding function of the IP protocol stack.
The method for realizing the ipv6 bridge communication by the router through the double-bridge mode has the advantages that the ipv6 communication can be well supported without replacement for the superior equipment which does not support pd allocation, social resources are effectively saved, the ipv6 network can be operated without pd deployment, and the complexity of ipv6 deployment is effectively reduced.
Drawings
Fig. 1 is a schematic structural view of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Accordingly, the following detailed description of the embodiments of the application, as presented in conjunction with the accompanying drawings, is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application. The application is further described below with reference to the accompanying drawings.
As shown in FIG. 1, the present invention specifically relates to a method for implementing ipv6 bridge communication by a router in a dual-bridge manner, in which a wide area network ipv6 port is added to a wide area network port, and a local area network ipv6 port is added to a local area network side, when performing ipv6 communication, a pd allocation process is bypassed, so that a site on the router local area network side directly allocates an address from a superior device and directly communicates with a superior router modem, and the router only performs two-layer bridge forwarding and no route forwarding on an ipv6 message, and specifically includes the following.
When the wide area network port or the wide area network port N judges that the received message is the ipv6 message, the wide area network port transmits the ipv6 message to the bridge ipv6 and simultaneously transmits the bridge ipv6 to the IP protocol stack through the wide area network port or the wide area network port N, and the bridge ipv6 judges whether to transmit the message to the port of the local area network side by inquiring the mac table;
The ipv6 message is forwarded from the lan side to the wan side, where the lan port passes through the lan ipv6 port or the lan port, where the lan port passes through the lan ipv6 port, and the received ipv6 message is forwarded to the bridge ipv6, and the bridge ipv6 is forwarded to the port of the wan side, and at the same time, the bridge ipv6 is forwarded to the IP protocol stack.
Further, the ipv6 packet specifically includes, from the wide area network side to the local area network side:
The method comprises the steps that a wide area network port or a wide area network port N receives all messages, whether the message of the ipv6 exists in a mac table of the bridge, the mac table of the bridge or the ipv6 is inquired, if the mac table exists, the ipv6 message is transferred to the port where the mac exists, and if the mac table does not exist, the message is broadcast to ports below all bridge ipv6, wherein the ports concretely comprise the wide area network ipv6 port, the local area network port, the ipv6 port, the IP 6 stack port and the IP protocol stack.
And meanwhile, the wide area network port or the wide area network port N sends the received ipv6 message to an IP protocol stack, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the bridge ipv6 any more, and repeated sending of the ipv6 message from the wide area network side to the local area network side is avoided.
Further, the ipv6 packet from the local area network side to the wide area network side includes:
the local area network port sends the received ipv6 message to the local area network port ipv6 or the local area network port iv sends the received ipv6 message to the local area network port ipv 6N, the local area network port ipv6 or the local area network port ipv 6N forwards the ipv6 message to the bridge ipv6, and the bridge ipv6 forwards the ipv6 message to the wide area network port ipv6 or the wide area network port ipv 6N, the wide area network port ipv6 or the wide area network port ipv6, and if the received ipv6 message is judged by the local area network port iv, the received ipv6 message is normally sent to the wide area network port or the wide area network port iv;
Meanwhile, the local area network port or the local area network port N forwards the received ipv6 message to the IP protocol stack through the bridge ipv6, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the wide area network port any more, and repeated sending from the local area network side to the wide area network side ipv6 message is avoided.
Further, the invention also comprises a process of receiving and transmitting packets by the host at the wide area network side of the ipv6 message and a process of receiving and transmitting packets by the host at the local area network side of the ipv6 message;
The process of receiving and transmitting packets by the host at the wide area network side of the ipv6 message comprises that the wide area network port or the wide area network port normally receives the ipv6 message, then sends the ipv6 message into an IP protocol stack, and the IP protocol stack judges whether the ipv6 message is for the local machine or not and discards the ipv6 message if the ipv6 message is not for the local machine;
The local area network side host receiving and transmitting process of the ipv6 message comprises that a local area network port normally receives the ipv6 message and forwards the ipv6 message to a local area network ipv6 port, or the local area network port N normally receives the ipv6 message and forwards the ipv6 message to the local area network ipv6 port N, then the local area network ipv6 port or the local area network ipv6 port N sends the ipv6 message to a bridge ipv6, the bridge ipv6 sends the ipv6 message to an IP protocol stack, and the IP protocol stack judges that the ipv6 message is normally processed if the ipv6 message is sent to the local machine, and discards the ipv6 message if the ipv6 message is not sent to the local machine.
Further, the invention also includes a process of acquiring the ipv6 address by the lan-side site, which includes:
The local area network port or the local area network port.N receives dhcpv response messages or rs response messages of the hung stations and forwards the received response messages or rs response messages to the local area network.Ipv 6 port or the local area network.Ipv 6 port.N, the local area network.Ipv 6 port or the local area network.Ipv 6 port.N forwards the dhcpv response messages or rs response messages to the wide area network.Ipv 6 port or the wide area network.Ipv 6 port.N, and the wide area network.Ipv 6 port forwards dhcpv response messages or rs response messages to the wide area network port or the wide area network.Ipv 6 port.N forwards dhcpv response messages or rs response messages to the wide area network.N, and the wide area network port or the wide area network port.N further sends the Ipv6 messages to the superordinate equipment light cat;
the upper-level equipment optical modem transmits dhcpv response messages or rs response messages to the wide area network port or the wide area network port, the wide area network port transmits the information to the wide area network port or the ipv6 port, the wide area network port transmits the information to the ipv6 port or the wide area network port, the ipv6 port transmits the information to the local area network port or the ipv6 port through the local area network port, and the site receives dhcpv response messages or rs response messages.
The wide area network, the ipv6 port and the wide area network, the ipv6 port, the N only receive and transmit the ipv6 message, and when the ipv6 message is transmitted, the ipv6 message is directly transmitted from the interfaces of the wide area network port and the wide area network port, the wide area network, the ipv6 port, the local area network, the ipv6 port, the N and the IP protocol stack are all bound to the bridge, the ipv6, the local area network, the ipv6 port, the N and the bridge, the ipv6 message is only transmitted, and a dhcpv function and an RA function of a dynamic host configuration protocol service program of the closing device are not affected (dhcpv function).
Further, the invention also includes an ipv4 message forwarding process, which includes:
The wide area network to local area network path is that a wide area network port or a wide area network port.N receives an ipv4 message and sends the ipv4 message to an IP protocol stack, the IP protocol stack forwards the ipv4 to the bridge, the bridge transfers the ipv4 to the local area network port or the local area network port N, and the local area network port or the local area network port N is transferred to a corresponding site;
And the local area network to wide area network path is that a local area network port or a local area network port.N receives an ipv4 message and sends the ipv4 message to the bridge.ipv 4, the bridge.ipv 4 forwards the message to an IP protocol stack, and the IP protocol stack forwards the message to the wide area network port or the wide area network port.N.
The wide area network port and the wide area network port.N process that the wide area network port and the wide area network port.N do not transfer the ipv4 to the wide area network port.ipv 6 port and the wide area network port.N, and the wide area network port.ipv 6 port and the wide area network port.N discard all the ipv4 messages, so that the ipv4 messages do not pass through the wide area network port or the wide area network port.N from the bridge ipv 6.
The method comprises the steps of processing an ipv6 port and an ipv6 port by the aid of the lan port and the lan port, wherein the ipv6 port and the lan port are used for not transferring an ipv4 message to the lan port, the ipv6 port, the lan port, the ipv6 port and the lan port, the ipv6 port, the lan port, the ipv4 message can be discarded, and therefore the ipv4 message cannot pass through the lan port, the ipv6 port and the lan port, the ipv6 port, and the ipv6 message is transferred to the bridge.
The invention adds the LAN-IPV 6 port, when receiving the IPV6 message from the LAN port, it transfers it to the LAN-IPV 6 port, the LAN-IPV 6 port transfers it to the bridge-IPV 6, and does not copy it to the bridge-IPV 4. All local area network ports are bound to the bridge ipv4, and only the local area network ports send ipv4 messages to the bridge ipv4 and do not send ipv6 messages to the bridge ipv4.
Multi-lan port processing:
And adding a local area network port IV sub-interface on the local area network side, and when an IV message is received from the local area network port IV and is transferred to the local area network port IV, the local area network port IV is transferred to the bridge IV 6, and the bridge IV is not copied.
All local area network ports are bound to the bridge ipv4, and only the ipv4 message is sent to the bridge ipv4 by the local area network ports, and the ipv6 message is not sent to the bridge ipv4.
The foregoing is merely a preferred embodiment of the invention, and it is to be understood that the invention is not limited to the form disclosed herein but is not to be construed as excluding other embodiments, but is capable of numerous other combinations, modifications and adaptations, and of being modified within the scope of the inventive concept described herein, by the foregoing teachings or by the skilled person or knowledge of the relevant art. And that modifications and variations which do not depart from the spirit and scope of the invention are intended to be within the scope of the appended claims.

Claims (8)

1. A method for realizing ipv6 bridge communication by a router in a double-bridge mode is characterized by comprising the following steps:
When the wide area network port or the wide area network port N judges that the received message is the ipv6 message, the wide area network port transmits the ipv6 message to the bridge ipv6 and simultaneously transmits the bridge ipv6 to the IP protocol stack through the wide area network port or the wide area network port N, and the bridge ipv6 judges whether to transmit the message to the port of the local area network side by inquiring the mac table;
The ipv6 message is forwarded from the lan side to the wan side, where the lan port passes through the lan ipv6 port or the lan port, where the lan port passes through the lan ipv6 port, and the received ipv6 message is forwarded to the bridge ipv6, and the bridge ipv6 is forwarded to the port of the wan side, and at the same time, the bridge ipv6 is forwarded to the IP protocol stack.
2. The method for implementing ipv6 bridge communication by a router according to claim 1, wherein the ipv6 packet from the wide area network side to the local area network side specifically includes:
The method comprises the steps that a wide area network port or a wide area network port.N receives all messages, whether a mac table of the messages of the ipv6 exists in a mac table of the bridge.ipv 6 is judged, if the mac table exists, the ipv6 message is transferred to the port where the mac exists, and if the mac table does not exist, the mac table is broadcast to all ports below the bridge.ipv6;
And meanwhile, the wide area network port or the wide area network port N sends the received ipv6 message to an IP protocol stack, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the bridge ipv6 any more, and repeated sending of the ipv6 message from the wide area network side to the local area network side is avoided.
3. The method for implementing ipv6 bridge communication by a router according to claim 1, wherein the ipv6 packet from the local area network side to the wide area network side includes:
the local area network port sends the received ipv6 message to the local area network port ipv6 or the local area network port iv sends the received ipv6 message to the local area network port ipv 6N, the local area network port ipv6 or the local area network port ipv 6N forwards the ipv6 message to the bridge ipv6, and the bridge ipv6 forwards the ipv6 message to the wide area network port ipv6 or the wide area network port ipv 6N, the wide area network port ipv6 or the wide area network port ipv6, and if the received ipv6 message is judged by the local area network port iv, the received ipv6 message is normally sent to the wide area network port or the wide area network port iv;
Meanwhile, the local area network port or the local area network port N forwards the received ipv6 message to the IP protocol stack through the bridge ipv6, and at the moment, the IP protocol stack closes the ipv6 message forwarding function, so that the ipv6 message is not forwarded to the wide area network port any more, and repeated sending from the local area network side to the wide area network side ipv6 message is avoided.
4. The method for realizing the ipv6 bridge communication by the router according to claim 1, wherein the method further comprises a packet receiving and transmitting process of the ipv6 message by the host on the wide area network side and a packet receiving and transmitting process of the ipv6 message by the host on the local area network side;
The process of receiving and transmitting packets by the host at the wide area network side of the ipv6 message comprises that a wide area network port or a wide area network port, wherein the N normally receives the ipv6 message and then sends the ipv6 message to an IP protocol stack, and the IP protocol stack judges whether the ipv6 message is sent to the host or not and discards the ipv6 message if the ipv6 message is not sent to the host;
The local area network side host receiving and transmitting process of the ipv6 message comprises that a local area network port normally receives the ipv6 message and forwards the ipv6 message to a local area network ipv6 port, or the local area network port N normally receives the ipv6 message and forwards the ipv6 message to the local area network ipv6 port N, then the local area network ipv6 port or the local area network ipv6 port N sends the ipv6 message to a bridge ipv6, the bridge ipv6 sends the ipv6 message to an IP protocol stack, and the IP protocol stack judges that the ipv6 message is normally processed if the ipv6 message is sent to the local machine, and discards the ipv6 message if the ipv6 message is not sent to the local machine.
5. The method for implementing ipv6 bridge communication by using a router according to claim 1, wherein the method further includes an ipv6 address acquisition process by a lan-side station, the method comprising:
The local area network port or the local area network port.N receives dhcpv response messages or rs response messages of the hung stations and forwards the received response messages or rs response messages to the local area network.Ipv 6 port or the local area network.Ipv 6 port.N, the local area network.Ipv 6 port or the local area network.Ipv 6 port.N forwards the dhcpv response messages or rs response messages to the wide area network.Ipv 6 port or the wide area network.Ipv 6 port.N, and the wide area network.Ipv 6 port forwards dhcpv response messages or rs response messages to the wide area network port or the wide area network.Ipv 6 port.N forwards dhcpv response messages or rs response messages to the wide area network.N, and the wide area network port or the wide area network port.N further sends the Ipv6 messages to the superordinate equipment light cat;
the upper-level equipment optical modem transmits dhcpv response messages or rs response messages to the wide area network port or the wide area network port, the wide area network port transmits the information to the wide area network port or the ipv6 port, the wide area network port transmits the information to the ipv6 port or the wide area network port, the ipv6 port transmits the information to the local area network port or the ipv6 port through the local area network port, and the site receives dhcpv response messages or rs response messages.
6. The method for implementing ipv6 bridge communication by a router according to claim 1, wherein the ipv6 port and the wan 6 port are configured to receive and send only ipv6 messages, and send the ipv6 messages directly from the interfaces of the wan port and the wan port;
The wide area network, the ipv6 port, the local area network, the ipv6 port, the N and the IP protocol stack are all bound to the bridge, the ipv6 port, the local area network, the ipv6 port, the N and the bridge, the ipv6 only receive and transmit the ipv6 message.
7. The method for implementing ipv6 bridge communication by using a router according to claim 1, wherein the method further comprises an ipv4 packet forwarding process, which includes:
The wide area network to local area network path is that a wide area network port or a wide area network port.N receives an ipv4 message and sends the ipv4 message to an IP protocol stack, the IP protocol stack forwards the ipv4 to the bridge, the bridge transfers the ipv4 to the local area network port or the local area network port N, and the local area network port or the local area network port N is transferred to a corresponding site;
And the local area network to wide area network path is that a local area network port or a local area network port.N receives an ipv4 message and sends the ipv4 message to the bridge.ipv 4, the bridge.ipv 4 forwards the message to an IP protocol stack, and the IP protocol stack forwards the message to the wide area network port or the wide area network port.N.
8. The method for implementing ipv6 bridge communication by a router according to claim 7, wherein the wide area network, ipv6 port and wide area network, ipv6 port, N are directly discarded if an ipv4 packet is received, and the local area network, ipv6 port, N and bridge, ipv6 are directly discarded if an ipv4 packet is received;
The bridge is used for receiving and sending only messages related to the ipv4 by the ipv4, and the bridge is used for receiving and sending only messages related to the ipv6 by the ipv 6;
the method closes dhcpv function and RA function of the dynamic host configuration protocol service program of the equipment, and closes ipv6 route forwarding function of the IP protocol stack.
CN202411628346.6A 2024-11-14 2024-11-14 A method for router to realize IPv6 bridge communication through dual bridge mode Active CN119449707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411628346.6A CN119449707B (en) 2024-11-14 2024-11-14 A method for router to realize IPv6 bridge communication through dual bridge mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411628346.6A CN119449707B (en) 2024-11-14 2024-11-14 A method for router to realize IPv6 bridge communication through dual bridge mode

Publications (2)

Publication Number Publication Date
CN119449707A true CN119449707A (en) 2025-02-14
CN119449707B CN119449707B (en) 2025-09-30

Family

ID=94530746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411628346.6A Active CN119449707B (en) 2024-11-14 2024-11-14 A method for router to realize IPv6 bridge communication through dual bridge mode

Country Status (1)

Country Link
CN (1) CN119449707B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055431A1 (en) * 2003-09-04 2005-03-10 Sbc Knowledge Ventures, Lp Enhanced network management system
CN101841457A (en) * 2009-03-19 2010-09-22 鸿富锦精密工业(深圳)有限公司 Router and method for processing IPv6 packet thereof
CN102377654A (en) * 2010-08-17 2012-03-14 国基电子(上海)有限公司 Router and method for realizing IPv6 (Internet Protocol Version 6) message traversing on IPv4 (Internet Protocol Version 4) router
CN103457823A (en) * 2013-09-27 2013-12-18 上海市共进通信技术有限公司 Method for achieving double-stack protocol bridge dialing
WO2020135479A1 (en) * 2018-12-25 2020-07-02 深圳市中兴微电子技术有限公司 Ipv4-in-ipv6 ds lite data stream forwarding method, system, terminal and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055431A1 (en) * 2003-09-04 2005-03-10 Sbc Knowledge Ventures, Lp Enhanced network management system
CN101841457A (en) * 2009-03-19 2010-09-22 鸿富锦精密工业(深圳)有限公司 Router and method for processing IPv6 packet thereof
CN102377654A (en) * 2010-08-17 2012-03-14 国基电子(上海)有限公司 Router and method for realizing IPv6 (Internet Protocol Version 6) message traversing on IPv4 (Internet Protocol Version 4) router
CN103457823A (en) * 2013-09-27 2013-12-18 上海市共进通信技术有限公司 Method for achieving double-stack protocol bridge dialing
WO2020135479A1 (en) * 2018-12-25 2020-07-02 深圳市中兴微电子技术有限公司 Ipv4-in-ipv6 ds lite data stream forwarding method, system, terminal and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王腾: "基于嵌入式Linux的家庭网关Web访问系统设计与实现", 《中国优秀硕士学位论文全文数据库》, 15 July 2013 (2013-07-15) *

Also Published As

Publication number Publication date
CN119449707B (en) 2025-09-30

Similar Documents

Publication Publication Date Title
JP3943859B2 (en) Mobile communication system, mobile communication method, and mobile station
US7400646B2 (en) Multicast routing method and an apparatus for routing a multicast packet
US7860094B2 (en) Multicast routing method and apparatus for routing multicast packet
US8139501B2 (en) Relay device, wireless communication system and multicast relay method
US7016353B2 (en) Method and system for dynamically assigning IP addresses in wireless networks
JP3616333B2 (en) Personal Access Communication System (PACS) Internet augmented radio port controller (RPCU)
US20060256768A1 (en) Method and system for transferring data in a communications network using redundant communication paths
US20080107060A1 (en) Relay device, wireless communication system and multicast relay method
JP2000125277A (en) Multicast communication device and multicast communicating method
EP1699169A1 (en) Wireless base station, wireless mobile device, and wireless access network for reducing signalling traffic
JP4035026B2 (en) Access network and IP mobility control method
CN114697300A (en) Data multicast implementation method of high-timeliness communication system
CN113949434A (en) Data forwarding and addressing method and device for 5G core network and satellite communication baseband system
CN119449708B (en) A method for router to realize IPv6 bridge communication through hybrid bridge mode
CN119449707A (en) A method for router to realize IPv6 bridge communication through dual bridge mode
WO2021120285A1 (en) Profinet protocol-based access method in industrial sdn
CN115333992A (en) Link resource optimization method based on standard PRP protocol
JP2000078161A (en) Communication resource reservation method in IP network
JPH09162920A (en) Switching hub
JPH08274805A (en) Bridge circuit
JP2000278657A (en) Multicast method
WO2007048305A1 (en) Method for restraining source port, message forwarding and processing equipment and bridge-connection forwarding system
JPH11234268A (en) Frame duplication method and apparatus

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载