CN101753460B - Method and device for processing internet protocol version 6(IPV6) routing prefix - Google Patents

Method and device for processing internet protocol version 6(IPV6) routing prefix Download PDF

Info

Publication number
CN101753460B
CN101753460B CN2010100007303A CN201010000730A CN101753460B CN 101753460 B CN101753460 B CN 101753460B CN 2010100007303 A CN2010100007303 A CN 2010100007303A CN 201010000730 A CN201010000730 A CN 201010000730A CN 101753460 B CN101753460 B CN 101753460B
Authority
CN
China
Prior art keywords
route prefix
trunking
ipv6
information
ipv6 route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2010100007303A
Other languages
Chinese (zh)
Other versions
CN101753460A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2010100007303A priority Critical patent/CN101753460B/en
Publication of CN101753460A publication Critical patent/CN101753460A/en
Application granted granted Critical
Publication of CN101753460B publication Critical patent/CN101753460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for processing an internet protocol version 6 (IPV6) routing prefix. The method is characterized in that trunk equipment acquires network disposition information of user equipment, and the network disposition information is the classification information of the user equipment; the trunk equipment sends the network disposition information to a dynamic host configuration protocol version (DHCPV6) server; the trunk equipment receives an IPV6 routing prefix from the DHCPV6 server; and the trunk equipment memories the IPV6 routing prefix. In the invention, the IPV6 routing prefix has simple disposition and wider application.

Description

A kind of processing method of IPV6 route prefix and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of processing method and device of IPV6 route prefix.
Background technology
Fast development along with the internet; The deficiency of IPV4 (Internet Protocol version 4, internet protocol version 4) is obvious day by day, to the problems of IPV4; Released its alternative IPV6 (Internet Protocol Version 6, internet protocol version 6) agreement.Compare with IPV4, the IPV6 agreement can provide more function, for example; Sufficient address space is provided, and the network configuration of stratification supports that the address disposes automatically; Numerous users can obtain enough addresses through the IPV6 network, thereby satisfies ever-increasing user's request.
The IPV6 address is divided into two parts, i.e. subnet prefix and interface identifier.Wherein, subnet prefix is used for route selection, and interface identifier is used to identify a network interface, and subnet prefix and interface identifier are formed an effective globally unique unicast address altogether, a kind of IPv6 unicast address form as shown in Figure 1.
Concrete, the address configuration mode of IPV6 is divided into state auto configuration mode and stateless auto configuration mode.
(1) state disposes automatically; Through DHCPV6 (Dynamic Host Configuration Protocol for IPv6; The DHCP of support IPv6) SERVER (server) provides IPV6 the address, and this mode lower network keeper can carry out tight control to the node in the network.
(2) stateless disposes automatically, and send announcement through using router to the node that can realize the automatic configuration of stateless, thereby obtain route prefix and other subnet information, and together with the effective IPV6 of the automatic structure of the interface identifier of this locality address.
As can be seen from Figure 1, no matter be that state disposes automatically or stateless disposes automatically, all need obtain route prefix and can generate effective I PV6 address, use this IPV6 accessed Internet then.And the dual mode that the route prefix of IPv6 address can pass through ND (Neighbor Discovery, neighbours find) agreement and provides obtains.
(1) router solicitation; The user initiatively sends ND RS (Router Solicitation; Router solicitation) message is asked route prefix, and ND NA (Neighbor Advertisement, the neighbor advertisement) message of responding through router obtains route prefix information.
(2) router advertisement, router according to ND route prefix list item regularly downstream network issue route prefix information, make downstream user can obtain route prefix normally.
In sum, IPv6 provides a kind of simple automatic distributor system, thereby route prefix is distributed to the user.But; Carry out initial route prefix at router and divide timing; Have no information can represent which type of route prefix the user needs; Promptly dispose for the edge network of IPv6, can only select the manual configuration routing iinformation guarantee edge device can be normally downwards the user issue routing iinformation, thereby make the user of extension down can accomplish the layoutprocedure of stateless address automatically.And for the IPV6 network design of complicacy, the manual configuration routing iinformation is very complicated, thereby makes and originally can use a large amount of IPV6 address user to receive great application limitations.
In the prior art, the deployment way of IPv6 address route prefix comprises:
Scheme one: the user realizes that through the mode of DHCPV6 state address disposes automatically and the configuration of route prefix; Be that the user dynamically obtains the IPV6 address through the mode of DHCPV6; And use the IPv6 address that DHCPV6SERVER provides and the distribution of route prefix, thereby can realize distributing based on each user's addresses and route prefix.
Scheme two: trunking analog DHCP V6 CLIENT (client) realizes obtaining automatically and the configuration distributing process of route prefix.As shown in Figure 2, the upstream Interface that trunking (switch) connects gateway is DHCPV6 CLIENT, and downstream interface connects the user, and upstream Interface belongs to identical VLAN (Virtual Local Area Network, VLAN) with downstream interface.Wherein, Upstream Interface dynamically obtains interface IP address through DHCPV6; This interface also can get access to route prefix simultaneously; And trunking is issued to the route prefix that gets access in the ND list item, automatically route prefix is handed down to descending user by the ND agreement, thereby realizes the automatic deployment of user's route prefix.
Scheme three: trunking is realized obtaining automatically of route prefix and configuration distributing process through the mode of authentication.As shown in Figure 3; Trunking is PPPOE (PPP Over Ethernet carries ppp protocol on Ethernet) CLIENT, and the upstream Interface of trunking connects certificate server; Downstream interface connects the user, and upstream Interface and downstream interface do not belong to same VLAN.Trunking carries the user profile on the trunking to the PPPOE SERVER that is used for authentication through the PPPOE verification process; And on PPPOE SERVER, set up user message table; After authentification of user passes through, dynamically obtain the IPV6 address through DHCPV6SERVER.Wherein, be to connect and the network site when dynamically obtaining the address, thereby can distribute different route prefix for different users through network that user message table is distinguished the user.
But; The defective of scheme one is: the user must use DHCPV6 state auto configuration mode can obtain IPV6 address and route prefix automatically; And in present IPv6 network environment; Most of user is the stateless user of configuration automatically, thereby causes scheme one to have bigger use limitation.
The defective of scheme two is: because the upstream Interface of trunking can only obtain a DHCPV6 address dynamically; Therefore the route prefix that obtains also is unique (being the network segment under the corresponding IPV6 address); Thereby make the trunking complete machine can only issue a route prefix; Be the division that complete machine is only supported a VLAN, can't realize multi-VLAN multi-user's complicated applications, also have very big application limitations.
The defective of scheme three is: trunking must carry out the PPPOE authentication; Otherwise trunking can't carry user profile to certificate server; Also just can't distinguish the user and carry out issuing of route prefix; The realization that is scheme three must be used with the PPPOE authentication, the very big application limitations of same existence.
Summary of the invention
The invention provides a kind of processing method and device of IPV6 route prefix, to realize the automatic deployment of IPV6 route prefix.
The invention provides a kind of processing method of Internet protocol IP V6 route prefix, be applied to comprise in the system of trunking, the dynamic host configuration protocol DHCP V6 server of supporting IPv6 and at least one subscriber equipment, said method comprising the steps of:
Said trunking obtains the network design information of said subscriber equipment, vlan information that said network design information is trunking or trunking bridge mac address information;
Said trunking generates first relay messages according to said network design information, and first relay messages that will carry said network design information sends to said DHCPV6 server; Said trunking receives second relay messages from said DHCPV6 server, and having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix of the corresponding network segment of said subscriber equipment that belongs to the user equipment allocation of said network design information according to said network design information;
Said trunking extracts and stores said IPV6 route prefix from said second relay messages.
Said network design information comprises virtual LAN VLAN information, generates first relay messages according to said network design information and specifically comprises:
Said trunking obtains vlan information according to said network design information; And said vlan information added to the Option Field of said first relay messages.
Said trunking extracts from said second relay messages and stores said IPV6 route prefix and specifically comprises:
Said trunking extracts said IPV6 route prefix from said second relay messages, and said IPV6 route prefix is added in the ND route prefix list item of self.
Said trunking extracts from said second relay messages and stores after the said IPV6 route prefix, also comprises:
When subscriber equipment to said trunking request IPV6 route prefix or said trunking during to subscriber equipment proactive notification IPV6 route prefix, said trunking obtains the vlan information of said subscriber equipment;
Said trunking judges whether stored the corresponding IPV6 route prefix of said vlan information in the ND route prefix list item;
When judged result when being, said trunking is handed down to said subscriber equipment through the route prefix discovery mechanism of ND agreement with said IPV6 route prefix; Otherwise said trunking obtains corresponding IPV6 route prefix according to said vlan information to said DHCPV6 server.
Said trunking extracts from said second relay messages and stores after the said IPV6 route prefix, also comprises:
Said trunking judges whether said IPV6 route prefix needs to upgrade, and when said IPV6 route prefix need upgrade, said trunking obtained the IPV6 route prefix according to the corresponding vlan information of said IPV6 route prefix to said DHCPV6 server.
A kind of trunking is applied to comprise that said trunking comprises in the system of DHCPV6 server and at least one subscriber equipment:
Acquisition module is used to obtain the network design information of said subscriber equipment, vlan information that said network design information is trunking or trunking bridge mac address information;
Generation module is connected with said acquisition module, is used for generating first relay messages according to said network design information;
Sending module connects with said generation module, is used for first relay messages of carrying said network design information is sent to said DHCPV6 server;
Receiver module; Be used to receive second relay messages from said DHCPV6 server, having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix of the corresponding network segment of said subscriber equipment that belongs to the user equipment allocation of said network design information according to said network design information;
Processing module is connected with said receiver module, is used for extracting and store said IPV6 route prefix from said second relay messages.
Said network design information comprises vlan information,
Said generation module specifically is used for, and obtains vlan information according to said network design information; And said vlan information added to the Option Field of said first relay messages.
Said processing module specifically is used for, and from said second relay messages, extracts said IPV6 route prefix, and said IPV6 route prefix is added in the ND route prefix list item of self.
Said processing module comprises:
Obtain submodule, be used for during to subscriber equipment proactive notification IPV6 route prefix, obtaining the vlan information of said subscriber equipment to said trunking request IPV6 route prefix or said trunking when subscriber equipment;
Judge submodule, be connected, be used for judging whether ND route prefix list item has stored the corresponding IPV6 route prefix of said vlan information with the said submodule that obtains;
Processing sub is connected with said judgement submodule, be used for when judged result when being, the route prefix discovery mechanism through the ND agreement is handed down to said subscriber equipment with said IPV6 route prefix; Otherwise, obtain corresponding IPV6 route prefix to said DHCPV6 server according to said vlan information.
Said processing module also is used for, and judges whether said IPV6 route prefix needs to upgrade, and when said IPV6 route prefix need upgrade, the vlan information corresponding according to said IPV6 route prefix obtained the IPV6 route prefix to said DHCPV6 server.
Compared with prior art, the present invention has the following advantages:
Among the present invention, can realize the automatic deployment of IPV6 route prefix easily, for belonging to user's distributing IP V6 route prefix of heterogeneous networks deployment information, and provide route prefix to issue, realize user's stateless address configuration and user's management easily.And alleviated the workload that needs the manual configuration routing iinformation in the present IPV6 network design greatly; Convenient processing is disposed simply, need not be used with other Additional Agreement such as authentication, and application is more extensive.
Description of drawings
Fig. 1 is a kind of IPv6 unicast address form sketch map in the prior art;
Fig. 2 is that trunking analog DHCP V6 CLIENT realizes obtaining automatically and configuration distributing process sketch map of route prefix in the prior art;
Fig. 3 is that the mode of trunking through authentication realizes obtaining automatically of route prefix and configuration distributing process sketch map in the prior art;
Fig. 4 is the process flow figure of a kind of IPV6 route prefix of proposing among the present invention;
A kind of concrete application scenarios sketch map of Fig. 5 for proposing among the present invention;
Fig. 6 is the process flow figure that under application scenarios shown in Figure 5, is directed against the IPV6 route prefix of IPV6 environment;
Fig. 7 is the form sketch map of DHCPV6 Relay-forward message among the present invention and DHCPV6 Relay-reply message;
Fig. 8 is for dynamically obtaining the sketch map of IPV6 address;
Fig. 9 is Option 37 format description figure;
Figure 10 triggers the sketch map of router advertisement for host requests;
Figure 11 regularly sends the sketch map of router advertisement for router;
Figure 12 is the structural representation of a kind of trunking of proposing among the present invention.
Embodiment
Core concept of the present invention by trunking according to the network design information of subscriber equipment (for example is; Can be vlan information) (for example generate first relay messages; Can be DHCPV6 Relay-forward message); And first relay messages that will carry this network design information notifies the server to DHCPV6, is the user equipment allocation IPV6 route prefix that belongs to this network design information by the DHCPV6 server according to this network design information, and with the IPV6 route prefix through to trunking.
And after relaying equipment obtains this IPV6 route prefix; Store in the ND route prefix list item of self; When user equipment requests IPV6 route prefix or trunking initiatively issue the IPV6 route prefix; Route prefix discovery mechanism through the ND agreement is handed down to subscriber equipment with the IPV6 route prefix, thereby has accomplished the automatic deployment of IPV6 route prefix, has alleviated the workload that needs the manual configuration routing iinformation in the present IPV6 network design greatly; Convenient processing is disposed simply, need not be used with other Additional Agreement such as authentication, and application is more extensive.
Based on above-mentioned thought; As shown in Figure 4; The present invention proposes a kind of processing method of IPV6 route prefix, be applied to comprise in the system of trunking, the dynamic host configuration protocol DHCP V6 server of supporting IPv6 and at least one subscriber equipment, said method comprising the steps of:
Step 401, said trunking are obtained the network design information of said subscriber equipment, and said network design information is the classified information of subscriber equipment.
Step 402, said trunking generates first relay messages according to said network design information, and first relay messages that will carry said network design information sends to said DHCPV6 server.
Step 403; Said trunking receives second relay messages from said DHCPV6 server, and having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix that belongs to the user equipment allocation of said network design information according to said network design information.
Step 404, said trunking extract and store said IPV6 route prefix from said second relay messages.
The processing method of IPV6 route prefix proposed by the invention is the network environment to IPV6, the sketch map under the concrete application scenarios as shown in Figure 5.In Fig. 5, edge switch (SWITCH) connects gateway and subscriber equipment as trunking, generally can be divided into a plurality of network segments on this trunking, to guarantee multiple user's different demands.For example, in Fig. 5, divided 4 VLAN on the trunking altogether, wherein, VLAN1, VLAN2 and VLAN3 are connected downlink user equipment respectively, and VLAN4 connects upstream gateway (GATEWAY).Wherein, subscriber equipment is connected to gateway through trunking, and visit INTERNET, and subscriber equipment 1 belongs to VLAN1, is connected to trunking through PORT (port) 1; Subscriber equipment 2 belongs to VLAN2, is connected to trunking through PORT2; Subscriber equipment 3 belongs to VLAN3, is connected to trunking through PORT3; The upstream Interface of switch is PORT4, belongs to VLAN4, and trunking is connected to gateway through this port 4.
Need to prove; It doesn't matter for the quantity of extension subscriber equipment under processing procedure among the present invention and the VLAN; Just handle accordingly according to VLAN, each VLAN is modeled to a subscriber equipment, hanging a subscriber equipment down with each VLAN among the present invention is that example describes.
Among the present invention; Realize the route prefix configuration of trunking interface through the function that on trunking, realizes analog DHCP V6 RELAY (relaying) AGENT (agency); When the upstream Interface at trunking enables the IPV6 route prefix when disposing function automatically, will carry out follow-up operation.In addition, in practical application, trunking can enable the IPV6 route prefix according to preset period and dispose function automatically, for example, whenever enables an IPV6 route prefix through 1 hour and disposes function automatically, and carry out follow-up operation.
As shown in Figure 6, the processing method of this IPV6 route prefix may further comprise the steps:
Step 601, trunking are obtained all vlan informations of this machine, and form a VLAN chained list.Under this application scenarios, all vlan informations comprise VLAN1, VLAN2, VLAN3 and VLAN4.
Step 602, trunking circulation VLAN chained list obtains one of them VLAN nodal information, and according to this VLAN nodal information structure DHCPV6 Relay-forward (relaying forwarding) message.
In the process of structure DHCPV6 Relay-forward message, need to fill Option (option) 37 fields of this DHCPV6Relay-forward message.The content of in the Option37 field, filling is a network design information; The vlan information that this network design information includes but not limited to this trunking (for example; Be example to get access to the VLAN1 nodal information in this step; Then this vlan information is the VLAN1 nodal information), trunking bridge mac address information, and be other user-defined configuration information etc.
Concrete, the form of DHCPV6 Relay-forward message is as shown in Figure 7, and for DHCPV6Relay-forward message, the implication of each field is:
Msg-type:RELAY-FORW (12) promptly representes the type of message, when msg-type is 12, representes that this message is a DHCPV6 Relay-forward message.
Hop-count: relaying is crossed the number of the relay agent of this message.
Link-address: global address or site-local address, server is confirmed client place link through using this address.
Peer-address: the address (possibly be client or other relay agent) that last one of this message is jumped.
Option: wherein need comprise one " relay message option (being Option37) ".
Step 603, trunking sends this DHCPV6 Relay-forward message to DHCPV6 SERVER.Should be with under the scene, this trunking need send this DHCPV6 Relay-forward message to DHCPV6 SERVER through gateway.
Step 604, DHCPV6 SERVER is user's distributing IP V6 route prefix information according to the network design information in the Option37 field in the DHCPV6 Relay-forward message.
Concrete; Because the network design information of having carried trunking in the Option37 field in DHCPV6 Relay-forward message; For example, vlan information (VLAN1 information), trunking bridge mac address information etc. are according to above-mentioned information; DHCPV6 SERVER can be known the network design characteristic of the VLAN1 of trunking, and distributes suitable IPV6 route prefix according to this network design information.Comprising in the network design information that vlan information is an example, when DHCPV6 SERVER gets access to from the DHCPV6Relay-forward message after vlan information is VLAN1, can be for belonging to the user equipment allocation IPV6 route prefix of VLAN1.
Certainly, in practical application, being not limited to according to vlan information is the user equipment allocation IPV6 route prefix that belongs to this VLAN; For example, the Option37 field can also be expanded according to user's needs, the residing more detailed information of the equipment of inserting; This information is user-defined configuration information; For example, equipment rack number, user's name, IP address, port etc., at this moment; DHCPV6 SERVER can be according to above-mentioned user-defined configuration information to user equipment allocation IPV6 route prefix, to satisfy the control granularity that different address is distributed.
Step 605, distribute successfully after, DHCPV6 SERVER responds a DHCPV6Relay-reply message to trunking.Wherein, carried in this DHCPV6 Relay-reply message and be the IPV6 route prefix information of user equipment allocation.
Concrete, the form of DHCPV6 Relay-reply message continues as shown in Figure 7, and for DHCPV6Relay-reply message, the implication of each field is:
Msg-type:RELAY-REPL (13) promptly representes the type of message, when msg-type is 13, representes that this message is a DHCPV6 Relay-reply message.
Hop-count: from Relay-forward message, duplicate.
Link-address: from Relay-forward message, duplicate.
Peer-address: from Relay-forward message, duplicate.
Option: wherein need comprise one " relay message option (being Option37) ".
Need to prove that the prerequisite of carrying out above-mentioned steps 602-step 605 is the function that on trunking, has realized DHCPV6 RELAY AGENT.
Below will combine the sketch map that dynamically obtains the IPV6 address shown in Figure 8 to come at first to explain the realization mechanism of DHCPV6RELAY.Wherein, DHCPV6 RELAY need provide the message between DHCPV6 SERVER and the client to act on behalf of forwarding capability.Concrete, when client is dynamically obtained the IPV6 address, request message being sent to DHCPV6 RELAY, DHCPV6 RELAY converts this request message into the Relay-forward message, and is transmitted to DHCPV6 SERVER; DHCPV6 SERVER gives client according to Relay-forward message distributing IP V6 address; Send Relay-reply message and give DHCPV6RELAY; DHCPV6 RELAY converts Relay-reply into corresponding Advertise or Reply message and is transmitted to client, thereby accomplishes the application IP addresses process of an IPV6.
Based on the realization mechanism of above-mentioned DHCPV6 RELAY, below will specify the realization mechanism of employed DHCPV6 RELAY AGENT among the present invention.In DHCPV6 RELAY AGENT; Need go up additional option information at DHCPV6 request message (being DHCPV6 Relay-forward message); So that DHCPV6 SERVER can be more the attribute of accurate judges equipment; Thereby according to corresponding strategies is this user equipment allocation IPV6 route prefix, and the option number of this option information is 37, i.e. Option37.
Concrete, the content that comprises among this Option 37 is as shown in Figure 9.And among the present invention; Can pass through Option 37 option informations; Notify the vlan information of this trunking, the mac address information that equipment interface is corresponding etc. to DHCPV6 SERVER; So that DHCPV6 SERVER can be user equipment allocation IPV6 route prefix and other relevant configured parameter according to this option information and corresponding strategies, thereby more strict control subscriber equipment has been realized user's difference management more accurately to the visit of Internet resources.
In form shown in Figure 9, the implication of each field comprises:
option-code:OPTION_REMOTE_ID(37)
Option-len: the total length of whole option.
Enterprise-number: the enterprises registration sign indicating number of network provider.
Remote-id: user profile, can fill MAC Address, perhaps other customized information.
Generally, can add relevant user profile, give unnecessary details no longer in detail at this according to user's needs.According to above-mentioned information, DHCPV6 SERVER can know that subscriber equipment is connected to the network from that VLAN of which equipment, thereby distributes suitable IPV6 prefix according to the residing network site of subscriber equipment.
Step 606, trunking are extracted the route prefix information of distributing from DHCPV6 Relay-reply message, and add in the ND route prefix list item of this machine.Behind the DHCPV6 Relay-reply message that receives DHCPV6 SERVER transmission, this trunking can extract route prefix information.
Step 607, trunking judge whether all the VLAN nodal informations in the VLAN chained list travel through completion, when judged result when being, process ends, otherwise, forward in the step 602.
Under this application scenarios, when all the VLAN nodal informations in the VLAN chained list do not travel through completion, then need forward in the step 602, obtain next VLAN nodal information (for example, the VLAN2 nodal information), and continue to carry out follow-up operation.
When subscriber equipment to trunking request IPV6 route prefix or trunking during to subscriber equipment proactive notification IPV6 route prefix, this method also comprises: trunking is notified route prefix information to subscriber equipment through the ND agreement.
Concrete, when subscriber equipment to said trunking request IPV6 route prefix or said trunking during to subscriber equipment proactive notification IPV6 route prefix, trunking need obtain the corresponding vlan information of subscriber equipment; And judge whether stored the corresponding IPV6 route prefix of vlan information in the ND route prefix list item; When judged result when being, trunking is handed down to subscriber equipment through the route prefix discovery mechanism of ND agreement with the IPV6 route prefix; Otherwise trunking obtains corresponding IPV6 route prefix according to vlan information to said DHCPV6 server.
Further; This trunking can be handed down to the subscriber equipment under each interface with route prefix information through the route prefix discovery mechanism of ND agreement; So that the subscriber equipment in the different segment can get access to the route prefix information of the corresponding network segment, thereby accomplish the trunking automatic layoutprocedure of stateless address of the subscriber equipment of extension down.
The ND agreement of IPV6 provides the discovery feature of route prefix, and wherein, the discovery feature of route prefix is the process that main frame (being subscriber equipment) is found one group of IPv6 prefix on the link-local, and the address that is used for main frame disposes automatically.The ND agreement provides the update method of two kinds of route prefix, is respectively: (1) host requests triggers the mode of router (being the trunking among the present invention) announcement.
When host-initiated, main frame can send the RS message by all routers in the link-local scope, and triggers neighbor router response RA message.After main frame is found the router on the link-local, dispose default router automatically, set up default route table, prefix list and other configuration parameter is set.Host requests shown in figure 10 triggers the sketch map of router advertisement, has shown among Figure 10 that the RS message triggers the process of RA notification packet.Wherein, the link layer address of HostA is 000D-88F8-03B0, and link-local address is FE80::20D:88FF:FEF8:3B0; The link layer address of Router A is 00E0-FC86-D6C4, and link-local address is FE80::2E0:FCFF:FE86:D6C4.Host A as source address, sends the multicast address FF02::2 of a RS request message to all-router with link-local address; After router listened to this message, the link-local address of using this host A send the multicast address FF02::1 of RA message to all nodes, thereby host A had obtained the relevant configuration information on the router as source address.Correspond among the present invention, through the corresponding processing mode, subscriber equipment 1, subscriber equipment 2 and subscriber equipment 3 can get access to route prefix information separately from trunking through the mode to trunking request IPV6 route prefix.
(2) router regularly sends the mode of router advertisement.Router periodically sends the RA message, so that main frame is found router and configuration information thereof on the link-local, main frame can be safeguarded other parameter of default route table, prefix list and configuration according to these contents.Router shown in figure 11 regularly sends the sketch map of router advertisement; Router-A uses the link-local address FE80::2E0:FCFF:FE86:D6C4 of self as source address; The multicast address FF02::1 of all nodes is as destination address; / 64) the transmission RA message of (default value is 200 seconds) is periodically announced self prefix (4000:: configuration information such as.Then, listen to the host A of this message and IPv6 global address or the site-local address that host B can dispose self according to this configuration information.Correspond among the present invention, subscriber equipment 1, subscriber equipment 2 and subscriber equipment 3 can get access to route prefix information separately to the mode of subscriber equipment proactive notification IPV6 route prefix from trunking through trunking.
Therefore; The update method of the route prefix that provides based on the ND agreement; Trunking can will be kept at local prefix through the prefix auto discovery mechanism that the ND agreement provides and upgrade to corresponding user equipment automatically, thereby the route prefix in the realization IPV6 network plan is disposed automatically.And pass through above-mentioned steps; Subscriber equipment 1, subscriber equipment 2 and subscriber equipment 3 all can get access to corresponding IPV6 route prefix information; And generate the unicast address of IPV6 jointly, thereby IPV6 the address process of configuration, accesses network have normally automatically been accomplished automatically with link-local address.
Need to prove; After the IPV6 route prefix obtains completion; Trunking can also judge whether the IPV6 route prefix needs to upgrade, and when the IPV6 route prefix need upgrade, trunking need obtain the IPV6 route prefix to said DHCPV6 server according to the corresponding vlan information of this IPV6 route prefix; Acquisition process and above-mentioned steps are similar again for this, repeat no more at this.For example, every through enabling an IPV6 route prefix in 1 hour when disposing function automatically, when the enabling of first hour, VLAN1 and VLAN2 have got access to the IP route prefix, and VLAN3 and VLAN4 do not get access to the IP route prefix; When the second hour enable, need judge whether the IPV6 route prefix needs renewal, and at this moment, VLAN1 and VLAN2 do not need to obtain the IP route prefix once more, and VLAN3 and VLAN4 need get access to the IP route prefix.Again for example, when upper-layer protocol is made amendment to the IPV6 route prefix or deleted, also need judge whether to need to upgrade the IPV6 route prefix.
Shown in figure 12, the present invention proposes a kind of trunking 13, be applied to comprise that said trunking comprises in the system of trunking, DHCPV6 server and at least one subscriber equipment:
Acquisition module 131 is used to obtain the network design information of said subscriber equipment, and said network design information is the classified information of subscriber equipment;
Generation module 132 is connected with said acquisition module 131, is used for generating first relay messages according to said network design information;
Said network design information comprises vlan information, and said generation module 132 specifically is used for, and obtains vlan information according to said network design information; And said vlan information added to the Option Field of said first relay messages.
Sending module 133 connects with 132 of said generation moulds, is used for first relay messages of carrying said network design information is sent to said DHCPV6 server;
Receiver module 134; Be used to receive second relay messages from said DHCPV6 server, having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix that belongs to the user equipment allocation of said network design information according to said network design information;
Processing module 135 is connected with said receiver module 134, is used for extracting and store said IPV6 route prefix from said second relay messages.Wherein, said processing module 135 specifically is used for extracting said IPV6 route prefix from said second relay messages, and said IPV6 route prefix is added in the ND route prefix list item of self.
Said processing module 135 further comprises, obtains submodule, is used for during to subscriber equipment proactive notification IPV6 route prefix, obtaining the vlan information of said subscriber equipment to said trunking request IPV6 route prefix or said trunking when subscriber equipment; Judge submodule; Be connected with the said submodule that obtains; Be used for judging whether ND route prefix list item has stored the corresponding IPV6 route prefix of said vlan information; Be connected with said judgement submodule, be used for when judged result when being, the route prefix discovery mechanism through the ND agreement is handed down to said subscriber equipment with said IPV6 route prefix; Otherwise, obtain corresponding IPV6 route prefix to said DHCPV6 server according to said vlan information.
In addition, said processing module 135 is used to also judge whether said IPV6 route prefix needs to upgrade, and when said IPV6 route prefix need upgrade, the vlan information corresponding according to said IPV6 route prefix obtained the IPV6 route prefix to said DHCPV6 server.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the processing method of an Internet protocol IP V6 route prefix is characterized in that, is applied to comprise in the system of trunking, the dynamic host configuration protocol DHCP V6 server of supporting IPv6 and at least one subscriber equipment, said method comprising the steps of:
Said trunking obtains the network design information of subscriber equipment, vlan information that said network design information is trunking or trunking bridge mac address information;
Said trunking generates first relay messages according to said network design information, and first relay messages that will carry said network design information sends to said DHCPV6 server; Said trunking receives second relay messages from said DHCPV6 server, and having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix of the corresponding network segment of said subscriber equipment that belongs to the user equipment allocation of said network design information according to said network design information;
Said trunking extracts and stores said IPV6 route prefix from said second relay messages.
2. the method for claim 1 is characterized in that, said network design information comprises virtual LAN VLAN information, generates first relay messages according to said network design information and specifically comprises:
Said trunking obtains vlan information according to said network design information; And said vlan information added to the Option Field of said first relay messages.
3. the method for claim 1 is characterized in that, said trunking extracts from said second relay messages and stores said IPV6 route prefix and specifically comprises:
Said trunking extracts said IPV6 route prefix from said second relay messages, and said IPV6 route prefix is added in the ND route prefix list item of self.
4. method as claimed in claim 3 is characterized in that, said trunking extracts from said second relay messages and stores after the said IPV6 route prefix, also comprises:
When subscriber equipment to said trunking request IPV6 route prefix or said trunking during to subscriber equipment proactive notification IPV6 route prefix, said trunking obtains the vlan information of said subscriber equipment;
Said trunking judges whether stored the corresponding IPV6 route prefix of said vlan information in the ND route prefix list item;
When judged result when being, said trunking is handed down to said subscriber equipment through the route prefix discovery mechanism of ND agreement with said IPV6 route prefix; Otherwise said trunking obtains corresponding IPV6 route prefix according to said vlan information to said DHCPV6 server.
5. like each described method of claim 1-4, it is characterized in that said trunking extracts and stores after the said IPV6 route prefix, also comprises from said second relay messages:
Said trunking judges whether said IPV6 route prefix needs to upgrade, and when said IPV6 route prefix need upgrade, said trunking obtained the IPV6 route prefix according to the corresponding vlan information of said IPV6 route prefix to said DHCPV6 server.
6. a trunking is characterized in that, is applied to comprise that said trunking comprises in the system of DHCPV6 server and at least one subscriber equipment:
Acquisition module is used to obtain the network design information of subscriber equipment, vlan information that said network design information is trunking or trunking bridge mac address information;
Generation module is connected with said acquisition module, is used for generating first relay messages according to said network design information;
Sending module connects with said generation module, is used for first relay messages of carrying said network design information is sent to said DHCPV6 server;
Receiver module; Be used to receive second relay messages from said DHCPV6 server, having carried said DHCPV6 server in said second relay messages is the IPV6 route prefix of the corresponding network segment of said subscriber equipment that belongs to the user equipment allocation of said network design information according to said network design information;
Processing module is connected with said receiver module, is used for extracting and store said IPV6 route prefix from said second relay messages.
7. trunking as claimed in claim 6 is characterized in that, said network design information comprises vlan information,
Said generation module specifically is used for, and obtains vlan information according to said network design information; And said vlan information added to the Option Field of said first relay messages.
8. trunking as claimed in claim 6 is characterized in that,
Said processing module specifically is used for, and from said second relay messages, extracts said IPV6 route prefix, and said IPV6 route prefix is added in the ND route prefix list item of self.
9. trunking as claimed in claim 8 is characterized in that, said processing module comprises:
Obtain submodule, be used for during to subscriber equipment proactive notification IPV6 route prefix, obtaining the vlan information of said subscriber equipment to said trunking request IPV6 route prefix or said trunking when subscriber equipment;
Judge submodule, be connected, be used for judging whether ND route prefix list item has stored the corresponding IPV6 route prefix of said vlan information with the said submodule that obtains;
Processing sub is connected with said judgement submodule, be used for when judged result when being, the route prefix discovery mechanism through the ND agreement is handed down to said subscriber equipment with said IPV6 route prefix; Otherwise, obtain corresponding IPV6 route prefix to said DHCPV6 server according to said vlan information.
10. like each described trunking of claim 6-9, it is characterized in that,
Said processing module also is used for, and judges whether said IPV6 route prefix needs to upgrade, and when said IPV6 route prefix need upgrade, the vlan information corresponding according to said IPV6 route prefix obtained the IPV6 route prefix to said DHCPV6 server.
CN2010100007303A 2010-01-15 2010-01-15 Method and device for processing internet protocol version 6(IPV6) routing prefix Active CN101753460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010100007303A CN101753460B (en) 2010-01-15 2010-01-15 Method and device for processing internet protocol version 6(IPV6) routing prefix

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010100007303A CN101753460B (en) 2010-01-15 2010-01-15 Method and device for processing internet protocol version 6(IPV6) routing prefix

Publications (2)

Publication Number Publication Date
CN101753460A CN101753460A (en) 2010-06-23
CN101753460B true CN101753460B (en) 2012-07-11

Family

ID=42479885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010100007303A Active CN101753460B (en) 2010-01-15 2010-01-15 Method and device for processing internet protocol version 6(IPV6) routing prefix

Country Status (1)

Country Link
CN (1) CN101753460B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945142A (en) * 2010-09-16 2011-01-12 福建星网锐捷通讯股份有限公司 Method for realizing IPV6 global address allocation of PPP link on Linux
CN102143050A (en) * 2010-09-29 2011-08-03 华为终端有限公司 Network connection processing method and device for internet protocol version 6 (IPv6) network
WO2012163000A1 (en) * 2011-10-11 2012-12-06 华为技术有限公司 Message forwarding method, device and system
CN102594936A (en) * 2012-02-06 2012-07-18 神州数码网络(北京)有限公司 Method and system for realizing dynamic host configuration protocol for internet protocol version 6 (DHCPv6) relay through two-layer network switching equipment
CN103916484B (en) * 2012-12-31 2017-07-21 华为技术有限公司 The method and apparatus for configuring IP address
CN108989215A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 Route prefix processing method, root router and computer readable storage medium
CN108989216A (en) * 2017-05-31 2018-12-11 南宁富桂精密工业有限公司 Route prefix processing method, root router and computer readable storage medium
CN109327558A (en) * 2018-10-30 2019-02-12 新华三技术有限公司合肥分公司 Address management method and device
WO2020132984A1 (en) * 2018-12-26 2020-07-02 华为技术有限公司 Ipv6 address configuration method and router device
CN109525685B (en) * 2018-12-27 2021-12-14 南京信息职业技术学院 IP address allocation method and system
CN111049918B (en) * 2019-12-19 2023-05-19 国网冀北电力有限公司信息通信分公司 Communication establishment method and device of Internet of things
CN111541797A (en) * 2020-04-23 2020-08-14 深圳市吉祥腾达科技有限公司 Eco-based IPV6 implementation method
CN113315814B (en) * 2021-05-08 2022-04-08 清华大学 IPv6network boundary equipment rapid discovery method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110817A (en) * 2006-07-21 2008-01-23 华为技术有限公司 Method and system for address selection
WO2009100683A1 (en) * 2008-02-13 2009-08-20 Huawei Technologies Co., Ltd. Using a host to generate interface identifiers in dhcpv6
CN101572692A (en) * 2008-04-28 2009-11-04 华为技术有限公司 Method, system and equipment for IP address assignment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110817A (en) * 2006-07-21 2008-01-23 华为技术有限公司 Method and system for address selection
WO2009100683A1 (en) * 2008-02-13 2009-08-20 Huawei Technologies Co., Ltd. Using a host to generate interface identifiers in dhcpv6
CN101572692A (en) * 2008-04-28 2009-11-04 华为技术有限公司 Method, system and equipment for IP address assignment

Also Published As

Publication number Publication date
CN101753460A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN101753460B (en) Method and device for processing internet protocol version 6(IPV6) routing prefix
CN101692674B (en) Method and equipment for double stack access
US8804520B2 (en) Core network node selection in a mobile communication network
CN101019381B (en) Maintaining secrecy of assigned unique local addresses for IPv6 nodes within a prescribed site during access of a wide area network
CN102271050B (en) Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment
US7760666B2 (en) Method of generating and managing connection identifiers for supporting multicast for each group in IPv6-based wireless network and network interface using the method
CN101656725B (en) Method for implementing safety access and access equipment
US9277538B2 (en) Node selection in a packet core network
CN101753635A (en) Method and system of collocating IPV6 (internet protocol version 6) addresses
CN101572692A (en) Method, system and equipment for IP address assignment
US20150295884A1 (en) Method and System for Managing IPv6 Address Conflict Automatically
CN101753458B (en) Method and device for processing ND neighbor table entry
CN102238075A (en) IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server
CN102577257A (en) Virtual local area network identity transformation method and apparatus
CN1744596B (en) Method for host obtaining network allocation parameterns in IPV6 network
EP2675117A1 (en) Routing method and device for host in multi-homing site
CN103026692A (en) PV6 address generation to trigger a virtual leased line service
CN103561122B (en) IPv6 address collocation method, IPv6 client and server
JP5241957B2 (en) Method and apparatus for connecting a subscriber unit to an aggregation network supporting IPv6
CN100428681C (en) Method for identifying multicast by using unicast address in IP network
CN113938427A (en) Communication method and system, and routing node
CN101047637B (en) Method for requiring local mobile anchor point information by access route
CN103108056A (en) Device and method capable of achieving subscriber identifier and locator separation network
CN113726653A (en) Message processing method and device
CN101924698A (en) Method, system and equipment for balancing two-layer domain load based on IP unicast route

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.