A route control method and device in a dhcpv6 PD scenario
A control method and routing technology, applied in multiplexing system selection devices, selection devices, advanced technologies, etc., can solve the problems of backbone network signaling impact, poor interoperability, high deployment costs, etc., to improve network utilization , Prevent malicious attacks, improve efficiency and performance greatly
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0115] The present invention provides a routing control method in a DHCPV6 PD scenario, deploying a DHCPV6 routing control system on the OLT, enabling relay routing forwarding, intercepting conventional protocol interaction messages for address allocation and lease renewal, and generating and dynamically maintaining user routing tables And establish a point-to-point route redistribution channel (such as BGP (Broader Gateway Protocol, Border Gateway Protocol), IP TUNNEL), redistribute this route to a specific target device in the backbone routing domain, and finally complete the downlink data from the target device to the OLT , the secondary route forwarding process from the OLT to the ONU.
[0116] This method has the following key steps:
[0117] (1) The stage of establishing the user routing table when the ONU first goes online to obtain the prefix and interface address
[0118] When the ONU first goes online to obtain the prefix and interface address, the user routing tabl...
Embodiment 2
[0135] The data structure design of the user routing table is as follows: figure 1 As shown, the main user node, the constituent elements include: ONU identifier DUID, life cycle T1, IPV6 gateway address life time T2, packet receiving interface VLAN, interface index RCV_IF, routing forwarding domain VRF, timeout period detection times TIME_COUNT, prefix identifier IA_ID. A prefix linked list is attached to each user's main node. The node PREFIX_NODE on the table stores the destination prefix and prefix length information of the route. A node NEXTHOP_NODE stores a next-hop gateway IPV6 address NEXTHOP.
Embodiment 3
[0137] see figure 2 , represents the DHCPV6 packet parsing and processing stage. When the user obtains the IPV6 address information for the first time, it will control the generation of the user routing table according to the DHCPV6 protocol packet.
[0138] S101: The Linux kernel system establishes a socket, monitors the DHCPV6 protocol interaction message (UDP port number is 547), and turns to S102 when the socket receives the protocol message;
[0139] In the RFC protocol standard, the DHCPV6 SERER port number is 547;
[0140] S102: Go to different branch processing procedures according to the transmission direction represented by the message type, if the message is an uplink message sent by DHCPV6CLIENT to DHCPV6SERVER, go to S103; if the message is a downlink message sent by DHCPV6SERVER to DHCPV6CLIENT, go to S107;
[0141] S103: Determine whether the user message is a RELEASE message, if so, it indicates that the user applies to release the address or goes offline, a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


