CN103179227B - The method of the Selection of chiller in IPv6 network and switching address configuration mode - Google Patents
The method of the Selection of chiller in IPv6 network and switching address configuration mode Download PDFInfo
- Publication number
- CN103179227B CN103179227B CN201310091369.3A CN201310091369A CN103179227B CN 103179227 B CN103179227 B CN 103179227B CN 201310091369 A CN201310091369 A CN 201310091369A CN 103179227 B CN103179227 B CN 103179227B
- Authority
- CN
- China
- Prior art keywords
- address
- host
- dhcpv6
- message
- slaac
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000007246 mechanism Effects 0.000 claims abstract description 43
- 230000004083 survival effect Effects 0.000 claims description 6
- 230000009471 action Effects 0.000 claims description 3
- 230000001105 regulatory effect Effects 0.000 claims description 2
- 238000012360 testing method Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 241000029811 Equus burchellii quagga Species 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
一种IPv6网络中的主机选择和切换地址配置方式的方法,先在ND协议的RA消息中新增规范与标识主机选择和切换地址配置方式的C和S两个标志位,再执行下列操作:路由器设置C和S两个标志位和其他字段。路由器定期向IPv6链路上的主机发送RA消息,或路由器接收到RS请求后,向IPv6链路中发送RA消息。主机接收到RA消息后,解析其中的C和S标志位,并将其记录到状态位中。主机按照C和S标志位设定的主机地址配置方式的选择规范,决策使用SLAAC机制或DHCPv6协议配置IPv6地址;且主机已使用某种方式配置IPv6地址,也要按照该规范切换到标志位设定的地址配置方式。本发明能满足主机协调使用两种地址配置方式配置IPv6地址的需求,也能满足网络地址管理与网络重编号的需求。
A method for selecting and switching address configuration modes by a host in an IPv6 network, first adding C and S two flags of standard and identification host selection and switching address configuration modes in the RA message of the ND protocol, and then performing the following operations: The router sets the two flag bits C and S and other fields. The router periodically sends RA messages to hosts on the IPv6 link, or sends RA messages to the IPv6 link after the router receives an RS request. After receiving the RA message, the host parses the C and S flags and records them in the status bits. The host decides to use the SLAAC mechanism or the DHCPv6 protocol to configure the IPv6 address according to the selection specification of the host address configuration mode set by the C and S flag bits; The specified address configuration method. The invention can meet the requirements of hosts to coordinate and use two address configuration modes to configure IPv6 addresses, and can also meet the requirements of network address management and network renumbering.
Description
技术领域technical field
本发明涉及一种IPv6网络中的主机选择和切换地址配置方式的方法,属于网络通信的技术领域。The invention relates to a method for selecting and switching an address configuration mode of a host in an IPv6 network, and belongs to the technical field of network communication.
背景技术Background technique
不同于IPv4地址的自动获取方式,IPv6网络中的主机采用下述两种方式自动获取IPv6地址:IPv6动态主机配置协议DHCPv6(DynamicHostConfigurationProtocolforIPv6)和无状态地址自动配置机制SLAAC(StatelessAddressAuto-configuration)。于是,当主机希望自动获取地址时,就有两种地址自动配置方式可供选择。这样就存在上述两种地址配置方式的选择和协作问题,主机必须明确如何协调使用这两种方式来配置其IPv6地址:使用SLAAC机制配置地址,还是使用DHCPv6协议来获取地址,或者两者都使用?虽然在现有技术中,邻居发现协议ND(NeighborDiscovery)的路由器公告RA(RouterAdvertisements)消息中的自动配置标志位A(Autonomousflag)和管理标志位M(Managedflag)能够分别指示主机是否配置SLAAC地址或是否使用DHCPv6协议获取IPv6地址,但是,这两个标志位存在明显缺陷。Different from the automatic acquisition of IPv4 addresses, hosts in IPv6 networks automatically obtain IPv6 addresses in the following two ways: IPv6 Dynamic Host Configuration Protocol DHCPv6 (Dynamic Host Configuration Protocol for IPv6) and stateless address automatic configuration mechanism SLAAC (Stateless Address Auto-configuration). Therefore, when the host wants to automatically obtain an address, there are two options for automatic address configuration. In this way, there is the problem of selection and cooperation between the above two address configuration methods. The host must determine how to coordinate the use of these two methods to configure its IPv6 address: use the SLAAC mechanism to configure the address, or use the DHCPv6 protocol to obtain the address, or both. ? Although in the prior art, the automatic configuration flag bit A (Autonomousflag) and the management flag bit M (Managed flag) in the router advertisement RA (RouterAdvertisements) message of the neighbor discovery protocol ND (NeighborDiscovery) can respectively indicate whether the host computer configures the SLAAC address or whether Use the DHCPv6 protocol to obtain an IPv6 address, but there are obvious defects in these two flags.
DHCP协议是一种基于客户端/服务器模式的协议。DHCP协议能够向网络设备提供地址和其他网络参数信息,且分为v4和v6两个版本。DHCPv6能够通过DHCPv6服务器将包括IPv6网络地址在内的网络配置参数传递给IPv6节点。相对于IPv6无状态地址配置SLAAC,DHCPv6是有状态的;因为DHCPv6服务器会维持每个客户机的详细信息。为了获取IPv6地址,客户机首先向网内所有的DHCP服务器发送请求,一旦得到某个DHCP服务器的回复,就向该服务器申请分配网络地址和其他网络配置信息。参见图1,该图展示了主机通过DHCPv6协议获取地址的上述工作过程。The DHCP protocol is a protocol based on the client/server model. The DHCP protocol can provide addresses and other network parameter information to network devices, and is divided into two versions, v4 and v6. DHCPv6 can transfer network configuration parameters including IPv6 network addresses to IPv6 nodes through a DHCPv6 server. In contrast to IPv6 stateless address configuration SLAAC, DHCPv6 is stateful; because the DHCPv6 server maintains detailed information about each client. In order to obtain an IPv6 address, the client computer first sends requests to all DHCP servers in the network, and once it gets a reply from a certain DHCP server, it applies to the server for assigning network addresses and other network configuration information. Referring to FIG. 1 , this figure shows the above-mentioned working process for a host to obtain an address through the DHCPv6 protocol.
主机还可以通过无状态地址自动配置SLAAC机制自动获取IPv6地址。SLAAC是通过ND协议的RA消息生成IPv6地址,RA消息是由路由器以广播方式发送给子网中的主机。其特点是主机不需要手动配置,路由器也只需很少配置,且不需额外的服务器。SLAAC机制允许主机将其自身信息和路由器公告的信息进行结合而产生全局地址,再对该全局地址通过唯一性验证后,就可以使用了。也就是,SLAAC通过下述两个步骤完成主机地址的自动配置:The host can also automatically obtain an IPv6 address through the stateless address autoconfiguration SLAAC mechanism. SLAAC generates an IPv6 address through the RA message of the ND protocol, and the RA message is broadcast by the router to the hosts in the subnet. Its characteristic is that the host does not need to be manually configured, and the router only needs a small amount of configuration, and no additional server is required. The SLAAC mechanism allows the host to combine its own information with the information advertised by the router to generate a global address, and then the global address can be used after uniqueness verification. That is, SLAAC completes the automatic configuration of the host address through the following two steps:
步骤1:采用无状态自动配置过程产生全局地址。Step 1: Generate a global address using a stateless autoconfiguration process.
步骤2:在同一链路上执行冲突检测过程,以确定该地址的唯一性。Step 2: Perform a conflict detection process on the same link to determine the uniqueness of the address.
参见图2,介绍全局地址的具体产生过程:路由器通过RA消息对标识子网的前缀进行公告,主机收到RA消息,即得到所在子网的前缀,主机也会通过介质访问控制层MAC(MediumAccessControl)标识符和EUI-64规范自行生成一个唯一的接口标识符,再将两者结合就能生成一个全局地址。另外,在定义SLAAC机制的标准中,还说明了IPv6地址应遵循的生命周期。绑定到每个接口的IPv6地址都有相应的生存时间,当生存时间到期后,绑定地址就会失效,然后,该地址就被分配给网络中的其他接口。Referring to Figure 2, the specific generation process of the global address is introduced: the router announces the prefix identifying the subnet through the RA message, the host receives the RA message, and obtains the prefix of the subnet it is in, and the host also passes the MAC (MediumAccessControl ) identifier and the EUI-64 specification generate a unique interface identifier by itself, and then combine the two to generate a global address. In addition, in the standard defining the SLAAC mechanism, the life cycle that the IPv6 address should follow is also described. The IPv6 address bound to each interface has a corresponding lifetime. When the lifetime expires, the bound address will become invalid, and then the address will be assigned to other interfaces in the network.
为了更好地处理IPv6地址的失效过程,分配给网络接口的IPv6地址将经历两个不同阶段,IPv6生命周期的引入将能更好地保持网络通信的连续性。In order to better deal with the invalidation process of IPv6 addresses, the IPv6 addresses allocated to network interfaces will go through two different stages, and the introduction of IPv6 life cycle will better maintain the continuity of network communication.
参见图3,介绍IPv6生命周期中IPv6地址经历的两个阶段:See Figure 3, which introduces the two stages that IPv6 addresses go through in the IPv6 life cycle:
(1)Preferred时期:起先,一个地址是“优先的”(preferred),即其在任何会话中的使用都不受限制。新的会话(如打开新TCP连接)应尽可能地使用优先地址。(1) Preferred period: At first, an address is "preferred", that is, its use in any session is not restricted. New sessions (such as opening a new TCP connection) should use preferred addresses whenever possible.
(2)Deprecated时期:经过设定时间后,IPv6地址就会变为“过期的”(deprecated),表示该地址即将失效。当地址处于过期阶段时,就不主张使用之,但也不会严格禁止。只有一些旧的会话连接为了防止出现服务中断问题,才会继续沿用该“过期的”Deprecated地址。(2) Deprecated period: After the set time, the IPv6 address will become "expired" (deprecated), indicating that the address is about to expire. Using an address while it is in the expiration phase is discouraged, but not strictly prohibited. Only some old session connections will continue to use the "expired" Deprecated address in order to prevent service interruption.
现在介绍与本发明相关的现有技术:Now introduce the prior art relevant to the present invention:
RA消息中的前缀信息可选项中的M标志位和A标志位两个字段分别影响了主机是否使用DHCPv6协议获取地址,以及是否使用SLAAC机制配置地址。The two fields of the M flag and the A flag in the prefix information option in the RA message respectively affect whether the host uses the DHCPv6 protocol to obtain an address and whether to use the SLAAC mechanism to configure the address.
标准[RFC2642]定义了SLAAC机制,同时也在RA消息格式中定义了各占1bit空间的M和A两个标志位(参见图4(A))。The standard [RFC2642] defines the SLAAC mechanism, and also defines two flag bits M and A each occupying 1 bit space in the RA message format (see Figure 4(A)).
来自主机最近收到的RA消息中的M标志位(ManagedFlag)的用途是标识收到该RA消息的主机是否使用DHCPv6协议配置IPv6地址。当主机收到的RA消息中,M标志位由0变为1(false变为true)时,若主机没有使用DHCPv6协议配置地址,则发起DHCPv6会话;若M标志位由1变为0时,主机没有任何操作。且该M标志位默认为0。需要指出的是,现有技术M标志位字段不是强制性的标准,并没有要求主机必须执行,而是对主机的一个建议。The purpose of the M flag bit (ManagedFlag) in the RA message recently received from the host is to identify whether the host receiving the RA message uses the DHCPv6 protocol to configure an IPv6 address. In the RA message received by the host, when the M flag changes from 0 to 1 (false to true), if the host does not use the DHCPv6 protocol to configure the address, a DHCPv6 session will be initiated; if the M flag changes from 1 to 0, The host has no action. And the M flag is 0 by default. It should be pointed out that the M flag field in the prior art is not a mandatory standard, and does not require the host to implement it, but is a suggestion for the host.
在配置SLAAC地址时,RA消息在可选项中携带有前缀信息,A标志位就是该前缀信息可选项中的一个标志位(占1bit),其用途是标识该前缀信息是否应用于SLAAC机制:如果该A标志位设置为false,则主机将忽视该可选项;如果A标志位值为true,则主机将使用该前缀信息配置IPv6地址。When configuring the SLAAC address, the RA message carries prefix information in the optional item, and the A flag is a flag bit (accounting for 1 bit) in the prefix information optional item, and its purpose is to identify whether the prefix information is applied to the SLAAC mechanism: if If the A flag is set to false, the host will ignore this option; if the A flag is true, the host will use the prefix information to configure an IPv6 address.
设置的M标志位和A标志位,能够在一定程度上满足主机选择通过SLAAC机制或DHCPv6协议获取IPv6地址的需求。参见图5,以存在两种地址配置方式的简单子网为例,介绍网络管理员如何对RA消息进行下述配置来选择主机地址的配置方式:The set M flag and A flag can meet the requirements of the host to obtain the IPv6 address through the SLAAC mechanism or the DHCPv6 protocol to a certain extent. Referring to Figure 5, taking a simple subnet with two address configuration modes as an example, it introduces how the network administrator configures the RA message as follows to select the configuration mode of the host address:
(1)当子网内的主机只想通过SLAAC机制获取IPv6地址,就设置RA消息中的标志位:M=0和A=1。(1) When the host in the subnet only wants to obtain an IPv6 address through the SLAAC mechanism, the flag bits in the RA message are set: M=0 and A=1.
(2)当子网内的主机只想通过DHCPv6协议获取IPv6地址,就设置RA消息中的标志位:M=1和A=0,或者设置RA消息不携带前缀信息可选项。(2) When the host computer in the subnet only wants to obtain the IPv6 address through the DHCPv6 protocol, the flag bits in the RA message are set: M=1 and A=0, or the RA message is set not to carry the optional prefix information.
(3)当子网内的主机希望通过SLAAC机制和DHCPv6协议获取IPv6地址,就设置RA消息中的相关标志位:M=1和A=1。(3) When the host in the subnet wishes to obtain an IPv6 address through the SLAAC mechanism and the DHCPv6 protocol, the relevant flag bits in the RA message are set: M=1 and A=1.
虽然现有技术在某些场景能够满足主机地址配置方式的管理需求,但是存在下述缺陷:Although the existing technology can meet the management requirements of the host address configuration mode in some scenarios, it has the following defects:
(A)M标志位的作用过于简单,不能满足SLAAC和DHCPv6的协作需求。SLAAC和DHCPv6协作机制的基本要求是:必须满足主机协调使用两种地址配置方式,并保证主机正常通信。因为两种地址配置方式同时使用时,主机可能单独使用SLAAC机制配置地址或单独使用DHCPv6协议配置地址,也可能同时使用这两种地址配置方式。虽然图5所示的子网能满足该需求,但是,如果该子网中存在两个路由器和两种RA消息时,IPv6地址配置结果就将变得混乱而不可预测,也就不能满足主机配置地址的需求了。(A) The role of the M flag is too simple to meet the cooperation requirements of SLAAC and DHCPv6. The basic requirements of the cooperation mechanism between SLAAC and DHCPv6 are: the hosts must coordinate the use of the two address configuration modes and ensure normal communication between the hosts. Because when the two address configuration methods are used at the same time, the host may use the SLAAC mechanism to configure the address or the DHCPv6 protocol to configure the address, or use the two address configuration methods at the same time. Although the subnet shown in Figure 5 can meet this requirement, if there are two routers and two kinds of RA messages in the subnet, the IPv6 address configuration result will become chaotic and unpredictable, and it cannot meet the host configuration requirements. The address is on demand.
(B)当主机地址配置结果不可预测时,网络端也就不能控制主机执行SLAAC到DHCPv6转换及其他相关操作。(B) When the host address configuration result is unpredictable, the network side cannot control the host to perform SLAAC-to-DHCPv6 conversion and other related operations.
(C)因M标志位只对操作系统起到建议性作用。因此操作系统在实现时,主机可以遵循M标志位描述的功能,也可以忽视之,甚至可以改变M字段的原意。这样就导致不同操作系统平台的主机产生不同的情况,使得相同网络中的不同主机可能产生不同的地址配置结果,从而影响网络的管理。(C) Because the M flag only plays a suggestive role for the operating system. Therefore, when the operating system is implemented, the host can follow the function described by the M flag bit, or ignore it, and even change the original meaning of the M field. This leads to different situations for hosts with different operating system platforms, so that different hosts in the same network may have different address configuration results, thereby affecting network management.
(D)现有技术不能满足网络重编号的需求:除了不能实现从SLAAC到DHCPv6转换的需求,也不能满足下述需求:主机进行重编号时,在遵循IPv6生命周期的同时,希望尽快弃用旧前缀,即带有旧前缀的IPv6地址尽快走完其生命周期,而M标志位和A标志位都不能提供该功能。(D) The existing technology cannot meet the requirements of network renumbering: in addition to the requirement of converting from SLAAC to DHCPv6, it cannot meet the following requirements: when hosts perform renumbering, they hope to abandon it as soon as possible while following the IPv6 life cycle The old prefix, that is, the IPv6 address with the old prefix finishes its life cycle as soon as possible, and neither the M flag nor the A flag can provide this function.
(E)主机地址行为的定义少,例如,没有描述主机收不到RA消息时,其是如何配置地址的,是否需要发起DHCPv6会话。(E) There are few definitions of host address behavior. For example, there is no description of how the host configures the address when it fails to receive the RA message, and whether it needs to initiate a DHCPv6 session.
发明内容Contents of the invention
有鉴于此,本发明的目的是针对现有技术方案的缺陷,提供一种控制主机在SLAAC/DHCPv6两种地址配置方式中进行选择和切换的方法,用来满足在网络端对主机配置IPv6地址进行管理和网络重编号的需要,满足主机在两种地址配置方式共存场景下按需获取IPv6地址的要求,同时在主机地址配置方式的选择过程中提供一种规范,使主机选择地址配置方式时有据可循。In view of this, the purpose of the present invention is to provide a method for controlling the host to select and switch between the SLAAC/DHCPv6 address configuration methods for the defects of the prior art solutions, so as to meet the requirements of configuring the IPv6 address for the host on the network side. The need for management and network renumbering meets the requirements of the host to obtain an IPv6 address on demand in the scenario where the two address configuration modes coexist. There is evidence to follow.
为了达到上述目的,本发明提供了一种IPv6网络中的主机选择和切换地址配置方式的方法,其特征在于:该方法是:首先在邻居发现ND(NeighborDiscovery)协议的路由器公告RA(RouterAdvertisements)消息中新增两个用于规范与标识主机选择和切换地址配置方式的标志位:C标志位(ControlFlag)、即“地址配置控制命令”字段和S标志位(SingleFlag)、即“单一配置方式命令”字段;其中:In order to achieve the above object, the present invention provides a method for host selection and switching address configuration mode in an IPv6 network, characterized in that: the method is: at first the router announcement RA (RouterAdvertisements) message of the ND (NeighborDiscovery) protocol is found in the neighbor Two new flags are added to standardize and identify the host selection and switching address configuration mode: C flag (ControlFlag), that is, the "address configuration control command" field and S flag (SingleFlag), that is, the "single configuration mode command " field; where:
S标志位表示主机只使用一种地址配置方式,即单独使用无状态地址自动配置机制SLAAC(StatelessAddressAuto-configuration),或者单独使用IPv6动态主机配置协议DHCPv6(DynamicHostConfigurationProtocolforIPv6);The S flag indicates that the host only uses one address configuration method, that is, the stateless address automatic configuration mechanism SLAAC (StatelessAddressAuto-configuration) is used alone, or the IPv6 dynamic host configuration protocol DHCPv6 (DynamicHostConfigurationProtocolforIPv6) is used alone;
C标志位表示该RA消息对主机的地址配置操作有控制权,也就是主机必须严格遵循相关标志位、即M、A、C和S各个标志位的定义与指示;The C flag indicates that the RA message has control over the address configuration operation of the host, that is, the host must strictly follow the definitions and instructions of the relevant flags, namely the M, A, C, and S flags;
然后执行下列操作步骤:Then perform the following steps:
(1)路由器对RA消息新增的C标志位和S标志位和RA消息的其他字段进行配置;(1) The router configures the newly added C flag and S flag of the RA message and other fields of the RA message;
(2)路由器定期向IPv6链路上的主机发送RA消息,或路由器接收到路由器请求RS(RouterSolicitation)后,向IPv6链路中发送RA消息;(2) The router sends RA messages to the host computer on the IPv6 link regularly, or after the router receives the router request RS (RouterSolicitation), it sends the RA message to the IPv6 link;
(3)主机接收到RA消息后,对RA消息中的C和S标志位进行解析,并将其记录到状态位中;(3) After the host receives the RA message, it analyzes the C and S flags in the RA message, and records them in the status bits;
(4)主机按照C和S标志位设定的主机地址配置方式的选择规范,决策使用SLAAC机制或DHCPv6协议配置其IPv6地址;且即使主机已经使用某种方式配置IPv6地址,也要按照所述C和S标志位设定的主机地址配置方式的选择规范,切换到由M和A标志位设定的地址配置方式;该步骤中,主机按照解析后的C和S标志位执行地址配置方式的操作包括下述不同情况:(4) The host decides to use the SLAAC mechanism or the DHCPv6 protocol to configure its IPv6 address according to the selection specification of the host address configuration mode set by the C and S flags; The selection specification of the host address configuration mode set by the C and S flag bits, switch to the address configuration mode set by the M and A flag bits; in this step, the host executes the address configuration mode according to the analyzed C and S flag bits Actions include the following different cases:
(4A)若C=0,S=0时,主机遵循标准[RFC2462]关于M标志位的建议性描述和标准[RFC4862]对A标志位的描述:当C=0,S=0时,新增标志位都不发挥作用,故遵循M和A标志位的原始定义;(4A) If C=0, S=0, the host follows the suggested description of the M flag bit in the standard [RFC2462] and the description of the A flag bit in the standard [RFC4862]: when C=0, S=0, the new None of the additional flags play a role, so follow the original definition of the M and A flags;
(4B)若C=0,S=1时,因C=0表示该RA消息不具备地址配置的控制权,而S=1指示主机应使用一种地址配置方式进行地址配置;(4B) If C=0, S=1, because C=0 indicates that the RA message does not have the control right of address configuration, and S=1 indicates that the host should use an address configuration method for address configuration;
若M=1,表示主机只用DHCPv6协议配置地址,则主机应发起DHCPv6会话或维持DHCPv6地址,且不用该RA消息中的前缀配置SLAAC地址;If M=1, it means that the host only uses the DHCPv6 protocol to configure the address, then the host should initiate a DHCPv6 session or maintain a DHCPv6 address, and does not configure the SLAAC address with the prefix in the RA message;
若M=0且A=1,表示主机只用SLAAC机制配置地址,即用该RA消息的前缀配置SLAAC地址,且当DHCPv6地址过期后,与DHCPv6服务器不续约;If M=0 and A=1, it means that the host only uses the SLAAC mechanism to configure the address, that is, configure the SLAAC address with the prefix of the RA message, and when the DHCPv6 address expires, it will not renew the contract with the DHCPv6 server;
(4C)若C=1时,主机遵循下述规范配置地址:C、M、S和A各个标志位能够控制主机分别采用DHCPv6、SLAAC、以及DHCPv6和SLAAC配置地址,并实现不同地址配置方式的切换,满足主机地址配置和网络重编号的需求。(4C) If C=1, the host configures the address according to the following specifications: C, M, S, and A flag bits can control the host to use DHCPv6, SLAAC, and DHCPv6 and SLAAC to configure the address respectively, and realize different address configuration methods Switching to meet the requirements of host address configuration and network renumbering.
所述C和S两个标志位字段各占1bit空间,且顺序设置于RA消息中现有的M和O两个字段右侧的保留字段中,且分别对应“地址配置控制命令”和“单一配置方式命令”。The two flag bit fields of C and S each occupy 1 bit space, and are sequentially set in the reserved field on the right side of the existing M and O fields in the RA message, and correspond to "address configuration control command" and "single configuration mode command".
所述步骤(4C)包括下述不同的地址配置方式:The step (4C) includes the following different address configuration methods:
(4C1)若M=0,S=0时,对主机的地址配置行为不作定义或规范,该RA消息只是为携带网络前缀的公告消息;(4C1) If M=0 and S=0, the address configuration behavior of the host is not defined or regulated, and the RA message is only an announcement message carrying a network prefix;
(4C2)若M=1,S=0,A=1时,主机必须使用两种地址配置方式配置IPv6地址,即主机使用RA消息配置SLAAC地址,同时发起DHCPv6会话或继续维持DHCPv6地址;(4C2) If M=1, S=0, and A=1, the host must use two address configuration methods to configure the IPv6 address, that is, the host uses the RA message to configure the SLAAC address, and at the same time initiates a DHCPv6 session or continues to maintain the DHCPv6 address;
(4C3)若M=0,S=1,A=1时,主机只用SLAAC机制配置地址;若此时主机已配置DHCPv6地址,则应将DHCPv6地址生命周期的生存时间设置为最小时长,以使DHCPv6地址尽早过期;同时,主机忽视标志位C=0的其他RA消息对主机进行的DHCPv6配置;(4C3) If M=0, S=1, and A=1, the host only uses the SLAAC mechanism to configure the address; if the host has already configured a DHCPv6 address at this time, the survival time of the DHCPv6 address life cycle should be set to the minimum hour length, so that The DHCPv6 address is expired as early as possible; meanwhile, the host ignores the DHCPv6 configuration of the host by ignoring other RA messages of flag bit C=0;
(4C4)若M=1,S=1时,主机只用DHCPv6协议配置地址;若此时主机已配置SLAAC地址,则应将SLAAC地址生命周期的生存时间设置为最小时长,以使SLAAC地址尽早过期;同时,主机忽视标志位C=0的其他RA消息对主机进行的SLAAC配置。(4C4) If M=1, S=1, the host only uses the DHCPv6 protocol to configure the address; if the host has configured the SLAAC address at this time, the survival time of the SLAAC address life cycle should be set to the minimum hour length, so that the SLAAC address can be used as soon as possible. Expired; at the same time, the host ignores the SLAAC configuration performed on the host by other RA messages with the flag bit C=0.
所述步骤(4C3)和(4C4)中的地址生命周期的最小时长设置为2小时,若该地址的生存时间大于2小时,则此时将该地址的生存时间修改为2个小时;若该地址的生存时间不大于2小时,则不作修改。The minimum hour length of the address life cycle in the steps (4C3) and (4C4) is set to 2 hours, if the survival time of the address is greater than 2 hours, then modify the survival time of the address to 2 hours at this time; if the If the lifetime of the address is less than 2 hours, it will not be modified.
所述方法的基础是基于ND协议中由路由器发送的RA消息,如果主机获取地址时没有接收到RA消息,则此时主机应发起DHCPv6会话,试图使用DHCPv6协议配置地址,以保证主机尽可能成功获取地址。The basis of the method is based on the RA message sent by the router in the ND protocol. If the host does not receive the RA message when obtaining the address, the host should initiate a DHCPv6 session at this time, trying to use the DHCPv6 protocol to configure the address to ensure that the host is as successful as possible. Get the address.
本发明IPv6主机选择和切换地址配置方式的方法的创新技术是:先对ND协议的RA消息进行扩展,即增添新的命令字段,以定义主机选择和切换地址配置方式的规范,使主机可以根据路由器RA消息的指示,决定选择哪种地址自动配置方式来获取IPv6地址,从而实现了网络端对主机地址配置的控制。The innovative technology of the method for selecting and switching the address configuration mode of the IPv6 host of the present invention is: first, the RA message of the ND protocol is expanded, that is, a new command field is added to define the specification of the host selection and switching address configuration mode, so that the host can be based on The instruction of the router RA message determines which address automatic configuration method to choose to obtain the IPv6 address, thereby realizing the control of the host address configuration on the network side.
本发明的优点和效果是:提出一种新的SLAAC和DHCPv6协作机制,可以满足主机协调使用两种地址配置方式配置IPv6地址的需求,使得主机的行为规范明确、清晰,不再有模糊的定义与操作。The advantages and effects of the present invention are: a new SLAAC and DHCPv6 cooperation mechanism is proposed, which can meet the requirements of hosts to coordinate and use two address configuration methods to configure IPv6 addresses, so that the behavior specifications of hosts are clear and clear, and no longer have vague definitions and operation.
本发明在标准RA消息格式基础上增添新的标志位,不影响原来的标志位。虽然本发明对RA消息格式定义了新的标志位,但是如果该新定义的标志位不进行设置,则与RA消息的原来定义毫无差异,故有良好的兼容性。The present invention adds new flag bits on the basis of the standard RA message format without affecting the original flag bits. Although the present invention defines a new flag bit for the RA message format, if the newly defined flag bit is not set, there is no difference from the original definition of the RA message, so it has good compatibility.
本发明能在两种地址配置方式共存的网络中,对主机地址配置行为作了明确定义,使得主机配置地址方式的行为具有明确的操作标准,既可以满足网络地址管理与网络重编号的需求,还使得网络管理员能通过设置相关标志位来控制网络内主机的地址配置方式,更能实现SLAAC和DHCPv6地址的切换,并缩短不再使用的地址生存时间,有利于重编号的进行。再者,本发明方法在进行SLAAC和DHCPv6的切换时,遵循IPv6地址的生命周期,能更好地维持网络通信。因此,本发明具有很好的推广应用前景。The present invention can clearly define the host address configuration behavior in a network where two address configuration modes coexist, so that the behavior of the host configuration address mode has a clear operating standard, which can meet the requirements of network address management and network renumbering, It also enables network administrators to control the address configuration mode of hosts in the network by setting relevant flag bits, realizes switching between SLAAC and DHCPv6 addresses, shortens the lifetime of unused addresses, and facilitates renumbering. Furthermore, the method of the present invention follows the life cycle of the IPv6 address when switching between SLAAC and DHCPv6, and can better maintain network communication. Therefore, the present invention has very good application prospects.
附图说明Description of drawings
图1是DHCPv6协议分配网络地址的流程图。FIG. 1 is a flow chart of assigning network addresses by the DHCPv6 protocol.
图2是SLAAC机制中全局IPv6地址的生成过程示意图。Fig. 2 is a schematic diagram of the generation process of the global IPv6 address in the SLAAC mechanism.
图3是IPv6地址生命周期示意图。FIG. 3 is a schematic diagram of an IPv6 address life cycle.
图4(A)、(B)分别是RA消息格式示意图和本发明定义的新RA消息格式示意图。4(A) and (B) are schematic diagrams of RA message format and new RA message format defined in the present invention respectively.
图5是存在两种地址配置方式的简单子网的拓扑图。FIG. 5 is a topology diagram of a simple subnet with two address configuration modes.
图6是本发明IPv6主机选择和切换地址配置方式的方法操作步骤流程图。Fig. 6 is a flow chart of the operation steps of the method for selecting and switching the address configuration mode of the IPv6 host in the present invention.
图7是本发明实施例中主机地址配置行为规范(C=1时)的示意图。Fig. 7 is a schematic diagram of the host address configuration behavior specification (when C=1) in the embodiment of the present invention.
图8是本发明实施例的典型场景的网络拓扑图。Fig. 8 is a network topology diagram of a typical scenario of an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.
参见图6,介绍本发明IPv6网络中的主机选择和切换地址配置方式的方法:Referring to Fig. 6, introduce the host selection in the IPv6 network of the present invention and the method for switching address configuration mode:
先在邻居发现ND协议的路由器公告RA消息中新增两个用于规范与标识主机选择和切换地址配置方式的标志位:C标志位(ControlFlag)、即“地址配置控制命令”字段和S标志位(SingleFlag)、即“单一配置方式命令”字段;其中:First add two flag bits in the router announcement RA message of the Neighbor Discovery ND protocol to standardize and identify the host selection and switching address configuration mode: C flag (ControlFlag), that is, the "address configuration control command" field and the S flag Bit (SingleFlag), that is, the "single configuration mode command" field; where:
S标志位表示主机只使用一种地址配置方式,即单独使用无状态地址自动配置机制SLAAC,或者单独使用IPv6动态主机配置协议DHCPv6;The S flag indicates that the host only uses one address configuration method, that is, the stateless address automatic configuration mechanism SLAAC is used alone, or the IPv6 dynamic host configuration protocol DHCPv6 is used alone;
C标志位表示该RA消息对主机的地址配置操作有控制权,也就是主机必须严格遵循相关标志位、即M、A、C和S各个标志位的定义与指示;The C flag indicates that the RA message has control over the address configuration operation of the host, that is, the host must strictly follow the definitions and instructions of the relevant flags, namely the M, A, C, and S flags;
然后执行下列操作步骤:Then perform the following steps:
步骤1,路由器对RA消息新增的C标志位和S标志位和RA消息的其他字段进行配置;Step 1, the router configures the newly added C flag and S flag of the RA message and other fields of the RA message;
步骤2,路由器定期向IPv6链路上的主机发送RA消息,或路由器接收到RS请求后,向IPv6链路中发送RA消息;Step 2, the router periodically sends RA messages to hosts on the IPv6 link, or sends RA messages to the IPv6 link after the router receives the RS request;
步骤3,主机接收到RA消息后,对RA消息中的C和S标志位进行解析,并将其记录到状态位中;Step 3, after the host receives the RA message, it analyzes the C and S flags in the RA message, and records them in the status bit;
步骤4,主机按照C和S标志位设定的主机地址配置方式的选择规范,决策使用SLAAC机制或DHCPv6协议配置其IPv6地址;且即使主机已经使用某种方式配置IPv6地址,也要按照该规范切换到该标志位设定的地址配置方式。Step 4, the host decides to use the SLAAC mechanism or the DHCPv6 protocol to configure its IPv6 address according to the selection specification of the host address configuration method set by the C and S flags; and even if the host has already used a certain method to configure the IPv6 address, it must follow the specification Switch to the address configuration mode set by this flag.
为了验证本发明方法的有效性和优点,申请人基于Quagga路由软件和Linux平台做了仿真实施例的试验,并于实现后在典型网络环境中进行了测试。In order to verify the effectiveness and advantages of the method of the present invention, the applicant has done a simulation embodiment test based on Quagga routing software and Linux platform, and tested it in a typical network environment after implementation.
本发明方法实施例的操作过程是:修改Quagga源码,增添设置C和S标志位,以实现本发明中的路由器功能;修改Linux内核源码,使Linux系统按照本发明的规范配置IPv6地址,从而实现本发明中的主机功能。The operation process of the embodiment of the method of the present invention is: modify the Quagga source code, add and set C and S flags, to realize the router function in the present invention; modify the Linux kernel source code, make the Linux system configure the IPv6 address according to the specification of the present invention, thereby realizing The host function in the present invention.
对本发明方法进行的仿真实施,还搭建了典型的网络环境进行试验测试,参见图8,介绍试验网络环境的拓扑结构:单一的子网环境,该网络存在两个路由器RouterA和RouterB,以及DHCPv6服务器和一台主机A。其中RouterA和主机A分别实现本发明的路由器和主机的功能,两个路由器都可向子网发送RA消息。通过RA消息,RouterA向子网公告其前缀2001:1111::/64;RouterB向子网公告其前缀2001:2222::/64。DHCPv6服务器可以向子网中的主机分配前缀为2001:3333::/64的地址。因此该子网内的主机可通过SLAAC机制分别从RouterA和B获取前缀为2001:1111::/64和2001:2222::/64的IPv6地址,也可使用DHCPv6协议从DHCPv6服务器获取前缀为2001:1111::/64的IPv6地址。The emulation that the inventive method is carried out is carried out, also set up typical network environment and carry out test test, referring to Fig. 8, introduce the topological structure of test network environment: single subnet environment, there are two routers RouterA and RouterB in this network, and DHCPv6 server and a host A. Wherein, RouterA and host A implement the functions of the router and the host in the present invention respectively, and both routers can send RA messages to the subnet. Through the RA message, RouterA advertises its prefix 2001:1111::/64 to the subnet; RouterB advertises its prefix 2001:2222::/64 to the subnet. The DHCPv6 server can assign addresses with the prefix 2001:3333::/64 to the hosts in the subnet. Therefore, hosts in this subnet can obtain IPv6 addresses with prefixes 2001:1111::/64 and 2001:2222::/64 from RouterA and B respectively through the SLAAC mechanism, and can also use the DHCPv6 protocol to obtain IPv6 addresses with the prefix 2001 from the DHCPv6 server. :1111::/64 IPv6 address.
对RouterA中的标志位进行设置,验证RouterA是否能够通过RA消息控制主机完成下述操作,如果能够完成,则说明本发明方法能够有效控制主机完成地址配置方式的选择和切换。Set the flag bit in RouterA, verify whether RouterA can control the host through the RA message to complete the following operations, if it can be completed, it means that the method of the present invention can effectively control the selection and switching of the host to complete the address configuration mode.
(1)主机只利用DHCPv6协议获取IPv6地址;(1) The host only uses the DHCPv6 protocol to obtain an IPv6 address;
(2)主机只用SLAAC机制配置IPv6地址;(2) The host only uses the SLAAC mechanism to configure the IPv6 address;
(3)主机利用DHCPv6协议和SLAAC机制配置IPv6地址;(3) The host uses the DHCPv6 protocol and the SLAAC mechanism to configure an IPv6 address;
(4)主机完成从使用DHCPv6协议到使用SLAAC机制的切换;(4) The host finishes switching from using the DHCPv6 protocol to using the SLAAC mechanism;
(5)主机完成从使用SLAAC机制到使用DHCPv6协议的切换。(5) The host finishes switching from using the SLAAC mechanism to using the DHCPv6 protocol.
测试过程中,使用本发明方法设置RA消息的新标志位C、S和原有标志位M、A,可控制主机按照上述操作获取IPv6地址的配置方式。实施例的测试过程中,实现上述各种操作的具体过程分别介绍如下:During the testing process, using the method of the present invention to set the new flag bits C, S and the original flag bits M, A of the RA message can control the host computer to obtain the configuration mode of the IPv6 address according to the above operations. During the testing process of the embodiment, the specific processes for realizing the above-mentioned various operations are respectively introduced as follows:
(1)主机只利用DHCPv6协议获取IPv6地址(即只用前缀2001:3333::/64);(1) The host only uses the DHCPv6 protocol to obtain an IPv6 address (that is, only uses the prefix 2001:3333::/64);
先设置RouterA中的RA消息,使其C、S和M三个标志位都置1,然后主机A上线,测试结果为:主机A发起了DHCPv6会话,并通过DHCPv6服务器获取IPv6地址。测试结果表明:主机只使用DHCPv6协议获取IPv6地址,实现了测试预期。First set the RA message in RouterA so that the three flags C, S, and M are all set to 1, and then host A goes online. The test result is: host A initiates a DHCPv6 session and obtains an IPv6 address through the DHCPv6 server. The test results show that: the host only uses the DHCPv6 protocol to obtain an IPv6 address, which meets the test expectations.
(2)主机只用SLAAC机制配置IPv6地址(即用前缀2001:1111::/64和2001:2222::/64);(2) The host only uses the SLAAC mechanism to configure the IPv6 address (that is, the prefixes 2001:1111::/64 and 2001:2222::/64);
先设置RouterA中的RA消息,使其C、S和A三个标志位置1、M标志位置0,然后主机A上线。测试结果为:主机A收到该RA消息后,配置了前缀为2001:1111::/64的SLAAC地址,主机收到来自RouterB的RA消息后,也配置了前缀为2001:2222::/64的SLAAC地址,测试结果表明:主机只能通过SLAAC机制配置IPv6地址,实现了测试预期。Set the RA message in RouterA first, make the C, S, and A flag bits 1, and the M flag bit 0, and then host A goes online. The test result is: after receiving the RA message, host A configures the SLAAC address with the prefix of 2001:1111::/64, and after receiving the RA message from RouterB, the host also configures the prefix of 2001:2222::/64 The test results show that the host can only configure IPv6 addresses through the SLAAC mechanism, which meets the test expectations.
(3)控制主机通过DHCPv6协议和SLAAC机制配置IPv6地址;(3) The control host configures the IPv6 address through the DHCPv6 protocol and the SLAAC mechanism;
先设置RouterA中的RA消息,使其C、M和A三个标志位置1、S标志位置0,然后主机A上线。测试结果为:主机A收到该RA消息后,配置了前缀为2001:1111::/64的SLAAC地址,同时发起了DHCPv6会话,通过DHCPv6服务器获取了前缀为2001:3333::/64的IPv6地址。另外,主机收到来自RouterB的RA消息后,也配置了前缀为2001:2222::/64的SLAAC地址,测试结果表明:主机分别通过SLAAC机制和DHCPv6协议配置了IPv6地址,实现了测试预期。First set the RA message in RouterA to make its C, M, and A flag positions 1, and its S flag position 0, and then host A goes online. The test result is: after receiving the RA message, host A configures the SLAAC address with the prefix 2001:1111::/64, initiates a DHCPv6 session at the same time, and obtains the IPv6 address with the prefix 2001:3333::/64 through the DHCPv6 server. address. In addition, after receiving the RA message from RouterB, the host also configures an SLAAC address with the prefix 2001:2222::/64. The test results show that the host configures an IPv6 address through the SLAAC mechanism and the DHCPv6 protocol respectively, which meets the test expectations.
(4)控制主机完成从使用DHCPv6协议到使用SLAAC机制的切换;(4) The control host finishes switching from using the DHCPv6 protocol to using the SLAAC mechanism;
先设置RouterA中的RA消息,使其C、S和M三个标志位置1,控制主机配置DHCPv6地址。主机获取到稳定的DHCPv6地址后,重新设置RA消息,使其C、S和A三个标志位置1、M标志位置0,然后,检查主机是否完成了从使用DHCPv6协议到使用SLAAC机制的切换。测试结果为:主机收到重新配置的RA消息后,完成了SLAAC地址的配置,并原来用DHCPv6协议配置的地址也不再续用,约2个小时后,该地址自动失效。测试结果表明:主机完成了从使用DHCPv6协议到使用SLAAC机制的切换,实现了测试预期。First set the RA message in RouterA to make its C, S, and M flags set to 1, and then configure the DHCPv6 address for the control host. After the host obtains a stable DHCPv6 address, reset the RA message so that the C, S, and A flags are set to 1, and the M flag is set to 0. Then, check whether the host has switched from using the DHCPv6 protocol to using the SLAAC mechanism. The test result is: after the host receives the reconfiguration RA message, the configuration of the SLAAC address is completed, and the address configured with the DHCPv6 protocol is no longer used. After about 2 hours, the address automatically becomes invalid. The test results show that: the host has completed the switching from using the DHCPv6 protocol to using the SLAAC mechanism, and the test expectation has been realized.
(5)控制主机完成从使用SLAAC机制到使用DHCPv6协议的切换;(5) The control host finishes switching from using the SLAAC mechanism to using the DHCPv6 protocol;
先设置RouterA中的RA消息,使其C、S和A三个标志位置1、M标志位置0,控制主机通过SLAAC机制配置地址。主机获取到稳定的SLAAC地址后,重新设置RA消息,使其C、S和M三个标志位置1,然后,检查主机是否完成了从使用DHCPv6协议到使用SLAAC机制的切换。测试结果为:主机收到重新配置的RA消息后,发起了DHCPv6会话,并通过DHCPv6协议配置了IPv6地址,并且,原来使用SLAAC机制配置的地址也不再续用;约2个小时后,该地址自动失效。测试结果表明:主机完成了从使用SLAAC机制到使用DHCPv6协议的切换,实现了测试预期。Firstly, set the RA message in RouterA so that the C, S, and A flags are set to 1, and the M flag is set to 0, and the control host configures the address through the SLAAC mechanism. After the host obtains a stable SLAAC address, it resets the RA message to make its C, S, and M flags set to 1, and then checks whether the host has completed the switch from using the DHCPv6 protocol to using the SLAAC mechanism. The test results are as follows: After receiving the reconfigured RA message, the host initiates a DHCPv6 session and configures an IPv6 address through the DHCPv6 protocol, and the address originally configured using the SLAAC mechanism is no longer used; about 2 hours later, the The address automatically expires. The test results show that: the host has completed the switching from using the SLAAC mechanism to using the DHCPv6 protocol, and the test expectation has been realized.
总之,本发明方法的仿真实施例试验是成功的,实现了发明目的,网络管理员能够在网络端对主机地址配置方式的选择和切换进行控制。In a word, the simulation embodiment test of the method of the present invention is successful, and the purpose of the invention is realized, and the network administrator can control the selection and switching of the host address configuration mode at the network end.
以上所述仅为本发明的仿真实现而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above description is only the simulation implementation of the present invention, and is not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310091369.3A CN103179227B (en) | 2013-03-21 | 2013-03-21 | The method of the Selection of chiller in IPv6 network and switching address configuration mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310091369.3A CN103179227B (en) | 2013-03-21 | 2013-03-21 | The method of the Selection of chiller in IPv6 network and switching address configuration mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103179227A CN103179227A (en) | 2013-06-26 |
CN103179227B true CN103179227B (en) | 2016-05-11 |
Family
ID=48638845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310091369.3A Expired - Fee Related CN103179227B (en) | 2013-03-21 | 2013-03-21 | The method of the Selection of chiller in IPv6 network and switching address configuration mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103179227B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935677B (en) * | 2014-03-18 | 2019-10-18 | 中兴通讯股份有限公司 | A NAT64 resource acquisition method and acquisition/allocation device |
CN105282026A (en) * | 2014-06-23 | 2016-01-27 | 国基电子(上海)有限公司 | Default gateway selecting system and method |
EP2975827A1 (en) * | 2014-07-17 | 2016-01-20 | Siemens Aktiengesellschaft | Method for configuring communication devices of an industrial communication network and communication device |
CN111416881B (en) * | 2019-01-08 | 2022-07-29 | 中国移动通信有限公司研究院 | A method, device and storage medium for obtaining domain name system configuration information |
CN109921898A (en) * | 2019-03-28 | 2019-06-21 | 新华三技术有限公司 | IPv6 stateless address generation method and device |
TWI717739B (en) * | 2019-05-22 | 2021-02-01 | 中華電信股份有限公司 | System and method for provisioning both ipv4 and ipv6 internet service and load balancer service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102271050A (en) * | 2010-06-04 | 2011-12-07 | 华为技术有限公司 | Method, network equipment and system for automatic configuration of network equipment in IPv6 network |
CN102710806A (en) * | 2012-05-18 | 2012-10-03 | 中兴通讯股份有限公司 | Method, equipment and system for automatically selecting IPv6 (internet protocol version 6) address transmission mode |
CN102843441A (en) * | 2011-06-24 | 2012-12-26 | 华为技术有限公司 | Method and device for controlling address configuration way |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100499674C (en) * | 2006-01-06 | 2009-06-10 | 华为技术有限公司 | Method for distributing terminal device IP address under router |
-
2013
- 2013-03-21 CN CN201310091369.3A patent/CN103179227B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102271050A (en) * | 2010-06-04 | 2011-12-07 | 华为技术有限公司 | Method, network equipment and system for automatic configuration of network equipment in IPv6 network |
CN102843441A (en) * | 2011-06-24 | 2012-12-26 | 华为技术有限公司 | Method and device for controlling address configuration way |
CN102710806A (en) * | 2012-05-18 | 2012-10-03 | 中兴通讯股份有限公司 | Method, equipment and system for automatically selecting IPv6 (internet protocol version 6) address transmission mode |
Also Published As
Publication number | Publication date |
---|---|
CN103179227A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103179227B (en) | The method of the Selection of chiller in IPv6 network and switching address configuration mode | |
US7962584B2 (en) | Usage of host generating interface identifiers in DHCPv6 | |
RU2602971C2 (en) | Dynamic ipv6 configuration method for home gateway | |
US20120324063A1 (en) | Method, network device, and system for automatically configuring network device in ipv6 network | |
EP3675466B1 (en) | Duplicate address detection for range of link local ip addresses | |
US20170026336A1 (en) | Methods of using beacon messages to discover devices across subnets | |
KR100657316B1 (en) | A fast handover method in DHCPv4, handover apparatus thereof and recording medium thereof | |
US11909717B1 (en) | Duplicate address detection for ranges of global IP addresses | |
CN113660357B (en) | Method and device for automatically acquiring IP address by IPv6 dual stack system | |
WO2013185731A2 (en) | Method and system for managing ipv6 address conflict automatically | |
CN101873320B (en) | Client information verification method based on DHCPv6 relay and device thereof | |
EP2704403A1 (en) | Method and device for controlling address configuration manner | |
CN103384282A (en) | Method for obtaining IPV6ND address and broadband remote access server (BARS) | |
WO2012100685A1 (en) | Ip address configuration method, device and system | |
EP3675465A1 (en) | Faster duplicate address detection for ranges of link local addresses | |
CN102761425B (en) | Charging method and device | |
EP3048756B1 (en) | Management method and apparatus for dynamic host configuration protocol server and relay | |
US20150304277A1 (en) | Method, user node and remote access server for releasing address | |
Chelius et al. | No Administration Protocol (NAP) for IPv6 router auto-configuration | |
JP2004015795A (en) | IPv4 management method and management device in IPv6 wireless LAN environment | |
Horley | Practical IPv6 for Windows Administrators | |
EP2961110A1 (en) | Packet transmission method and apparatus, and server | |
US10673809B2 (en) | Technique for managing an address in a local area network | |
CN115550905A (en) | A method and device for automatic configuration of IPv6 addresses | |
WO2013117088A1 (en) | Method for configuring dhcpv6 client, dhcpv6 client, network device, and network system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160511 Termination date: 20170321 |
|
CF01 | Termination of patent right due to non-payment of annual fee |