WO2011023136A1 - Procédé, dispositif et système de configuration automatique d'adresses de protocole internet (ip) - Google Patents

Procédé, dispositif et système de configuration automatique d'adresses de protocole internet (ip) Download PDF

Info

Publication number
WO2011023136A1
WO2011023136A1 PCT/CN2010/076442 CN2010076442W WO2011023136A1 WO 2011023136 A1 WO2011023136 A1 WO 2011023136A1 CN 2010076442 W CN2010076442 W CN 2010076442W WO 2011023136 A1 WO2011023136 A1 WO 2011023136A1
Authority
WO
WIPO (PCT)
Prior art keywords
network segment
address
packet
probe
client
Prior art date
Application number
PCT/CN2010/076442
Other languages
English (en)
Chinese (zh)
Inventor
蓝海青
任蔚
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011023136A1 publication Critical patent/WO2011023136A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery

Definitions

  • IP address automatic configuration method, device and system thereof IP address automatic configuration method, device and system thereof.
  • the present invention relates to the field of communications, and in particular, to an IP address automatic configuration method, device, and system thereof.
  • IP address is an identifier for identifying user equipment and network equipment in an IP network, and is also an identifier used by an IP network for IP packet forwarding. Therefore, IP address allocation is the core of the entire IP network.
  • the IP address allocation method includes: Automatically obtaining an IP address.
  • the method of automatically obtaining an IP address means that: the client device does not need to manually pre-empt, and can automatically obtain the host IP address, gateway IP address, and network segment mask of the client device.
  • the main technology for automatically obtaining an IP address is the Dynamic Host Configuration Protocol (DHCP).
  • DHCP Dynamic Host Configuration Protocol
  • the prior art of automatically obtaining an IP address has the following disadvantages:
  • a DHCP client needs to be configured in the same network segment as the DHCP client.
  • Following (Relay) host the standard service of the IP network only provides the routing function and does not provide the automatic configuration of the IP address.
  • the DHCP relay host is configured with the automatic configuration of the IP address and is not a routing function. Therefore, the bearer network operator generally does not provide DHCP. Relay function.
  • the bearer network operator does not provide the DHCP relay function, and the client itself cannot configure and manage a DHCP relay or a DHCP server (Server) on each network segment. Therefore, it is difficult to implement the standard network service of the IP network. Automatic IP address configuration. Summary of the invention
  • An embodiment of the present invention provides a method for automatically configuring an IP address, where the method includes: receiving a network segment detection data packet sent by an address allocation server, where the network segment detection data packet includes configuration information, where the configuration information includes a client identifier in the network segment. An IP address corresponding to the client identifier; determining whether there is a probe packet corresponding to the network segment, and if it is determined that the probe packet corresponding to the network segment does not exist, generating a probe packet according to the network segment probe data packet, the probe packet
  • the configuration data includes the client identifier in the network segment and the IP address corresponding to the client identifier.
  • the probe packet is sent to the network segment, so that the client in the network segment receives the data. After the packet is detected, the data is configured according to the configuration data in the probe packet.
  • the embodiment of the present invention further provides an ip address automatic configuration method, where the method includes: if there is a client that does not complete the address allocation or the configuration data of the client that has completed the address allocation is modified, the network of the network segment where the client is located is generated.
  • the segment detection data packet, the network segment detection data packet includes configuration information, where the configuration information includes a client identifier in the network segment and an IP address corresponding to the client identifier; and the network segment probe data packet is sent to the management terminal.
  • the embodiment of the invention further provides a management terminal for automatically configuring an IP address, and the management terminal includes:
  • a data packet receiving unit configured to receive a network segment detection data packet sent by the address allocation server, where the network segment detection data packet includes configuration information of the network segment, where the configuration information includes a client identifier in the network segment and an IP corresponding to the client identifier Address
  • a message determining unit configured to determine whether a probe packet corresponding to the network segment exists
  • a packet processing unit configured to generate a probe packet according to the network segment probe data packet, where the probe packet includes configuration data, where the configuration data includes a client in the network segment, when the probe packet corresponding to the network segment is determined to be absent.
  • the message sending unit is configured to send the generated probe packet to the network segment, so that the client in the network segment receives the probe packet and performs data configuration according to the configuration data in the probe packet.
  • the embodiment of the present invention further provides an IP address allocation server, where the server includes: a data packet generating unit, configured to generate the client when there is a client that has not completed address allocation or a configuration data of a client that has completed address allocation is modified.
  • the network segment of the network segment where the terminal is located detects the data packet, and the network segment detection data packet includes configuration information, where the configuration information includes the client identifier and the IP address corresponding to the client identifier in the network segment.
  • a data packet sending unit configured to send the generated network segment probe data packet to the management terminal.
  • the AACP management terminal may generate a probe packet containing the configuration data according to the network segment detection data packet sent by the AACP address allocation server, and send the probe packet to the probe packet.
  • the corresponding network segment is sent, so that the client of the network segment obtains the configuration data sent by the AACP management terminal, and obtains the corresponding address from the configuration data, thereby automatically completing the address allocation.
  • the client and the AACP address allocation server may be in different network segments, and when the client and the AACP address allocation server are in different network segments, the relay server does not need to be set up in the DHCP mode. , thereby reducing the difficulty and cost of IP address allocation.
  • FIG. 2 is a flowchart of an automatic IP address allocation method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of an automatic IP address setting method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a data configuration system according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an automatic IP address allocation method according to Embodiment 4 of the present invention
  • 6 is a schematic structural diagram of a probe packet in Embodiment 4 of the present invention
  • FIG. 7 is a flowchart of an automatic IP address setting method according to Embodiment 5 of the present invention.
  • FIG. 9 is a schematic structural diagram of a probe packet in Embodiment 6 of the present invention.
  • FIG. 13 is a schematic diagram showing the structure of an automatic IP address configuration apparatus according to Embodiment 9 of the present invention
  • FIG. 14 is a schematic diagram showing the structure of an automatic IP address configuration apparatus according to Embodiment 10 of the present invention
  • Figure 16 is a block diagram showing the structure of an automatic IP address configuration apparatus according to a twelfth embodiment of the present invention. detailed description
  • Embodiments of the present invention provide a method, an apparatus, and a system for automatically configuring an IP address.
  • the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
  • IP address auto-configuration technology introduced in the embodiment of the present invention may be named as AACP: Auto Addres s Conf iguration Protocol, and the ten-party negotiation is used for automatic IP address acquisition.
  • AACP Cl ient This is the AACP client (which can be called a "client"). This node needs to be assigned an IP address. In other words, the client is the host waiting to assign an IP address, such as a computer.
  • AACP Server AACP server (which can be called “address allocation server”), which provides IP address allocation services, including IP address pools, and IP address allocation policies; 3.
  • AACP Termina l AACP management terminal (referred to as "management terminal"), which provides the function of sending an IP address to AACC Client.
  • An embodiment of the present invention provides an automatic IP address configuration method. As shown in FIG. 1, the method includes:
  • the configuration data includes the client identifiers of the two clients, and correspondingly, the configuration data further includes the IP addresses corresponding to the two client identifiers.
  • the current probe packet received by the client may be from a management terminal.
  • Step 102 The client determines whether the client has been assigned an IP address. If the client determines that the IP address is not assigned, the client parses the current probe to obtain the configuration data.
  • the client determines that the client is not assigned an IP address
  • the client analyzes the received current probe packet and obtains the configuration data carried in the client.
  • Step 103 Obtain an IP address corresponding to the client from the configuration data according to the client identifier of the client, and perform data configuration according to the obtained IP address.
  • the configuration data may include other information in addition to the client identifier and the client identifier corresponding to the client identifier in the network segment: for example, a network segment address; or, a network segment mask. Length; or, network segment mask length and gateway address; or, including network segment address, network segment mask length, and gateway address.
  • the client may also obtain information including a network segment address, a network segment mask length, and a gateway address, and use the obtained information as the IP transmission configuration of the client. data.
  • the client can automatically obtain the IP address of the client according to the received probe packet of the network segment, even if the client and the server that allocates the IP address are in different network segments. Its IP address does not require a relay server as in the DHCP mode, so the difficulty and cost of IP address allocation can be reduced.
  • Embodiment 1 describes the AACP address allocation solution from the perspective of the client.
  • Embodiment 2 will be described from the perspective of the management terminal.
  • Step 201 The management terminal receives the network segment probe data packet sent by the address allocation server, where the network segment probe data packet includes configuration information of the specified network segment.
  • the configuration information can include different combinations of information, such as:
  • Step 202 The management terminal determines whether there is a detection packet corresponding to the network segment. If it is determined that the detection packet corresponding to the network segment does not exist, the detection packet is generated according to the received network segment detection data packet, and the detection packet is generated.
  • the text includes configuration data
  • the information of the configuration data may include: the client identifier in the network segment and the IP address corresponding to the client identifier; or the configuration information in step 201, which is not described here.
  • This configuration data can be used by the client during the data configuration process in subsequent steps.
  • the client may obtain the IP address after obtaining the configuration data. If the configuration data includes the configuration information in step 201, the client may obtain information such as a network segment address, a network segment mask length, and a gateway address in addition to the IP address, but is not limited thereto. Of course, other required information may also be included, as described in Embodiment 1, and details are not described herein again.
  • the management terminal can receive the network segment detection data packet sent by the address distribution server, and generate a corresponding detection packet according to the network segment detection data packet, and broadcast the detection packet to the corresponding network segment, so that the management terminal belongs to the network segment.
  • the client on the network segment obtains the probe packet and performs data configuration. Even if the client and the address distribution server are on different network segments, it is not necessary to set the relay server to obtain an IP address as in the DHCP mode, thereby reducing the difficulty and cost of IP address allocation.
  • Embodiment 1 describes the AACP address allocation solution from the perspective of the client.
  • Embodiment 2 will be described from the perspective of the management terminal.
  • the following Embodiment 3 describes from the perspective of the address allocation server.
  • Example 3 An embodiment of the present invention provides an automatic IP address configuration method. As shown in FIG. 3, the method includes:
  • Step 301 If the address allocation server determines that there is a client that has not completed the address allocation or the configuration data of the client that has completed the address allocation, the network segment detection data packet of the network segment where the client is located is generated, and the network segment detection data packet is generated. Including configuration information;
  • the configuration information may include the information in step 201, and details are not described herein again.
  • the configuration information may include one or a combination of the following information in addition to the information described in step 201: an IP address of the address distribution server, and an IP address of the operation and maintenance server.
  • Step 302 Send the generated network segment probe data packet to the management terminal.
  • the network segment when the address allocation server determines that there are still some clients in the network segment that have not completed the IP address allocation, or modified the configuration data of the client that has completed the IP address allocation in the address allocation server, the network segment is The unit generates the network segment probe data packet, and sends the generated network segment probe data packet to the management terminal, so that the management terminal receives the network segment probe data packet, generates a corresponding probe packet, and generates the probe packet.
  • the broadcast is performed on the destination network segment, so that the client that receives the probe packet obtains configuration data such as the corresponding IP address. Even if the client and the address distribution server are on different network segments, it is not necessary to set the relay server to obtain an IP address as in the DHCP mode, thereby reducing the difficulty and cost of IP address allocation.
  • the embodiment of the present invention provides a method for automatically configuring an IP address.
  • the following uses the client, the address allocation server, and the management terminal of the automatic address configuration protocol AACP as an example for description.
  • the address allocation server 401 when the address allocation server 401 determines that the client 403 does not complete the IP address allocation in some network segments, generates the network segment probe data packet in units of network segments, and Sending the generated network segment probe data packet to the management terminal 402;
  • the address allocation server 401 has been modified
  • the technical solution provided in this embodiment may be used, that is, the network segment detection data packet is generated in units of network segments, and the generated network segment detection data packet is sent to The terminal 402 is managed.
  • the embodiment of the present invention is mainly described in the scenario where the client 403 does not complete the IP address allocation, but is not limited thereto.
  • the management terminal 402 receives the network segment detection data packet sent by the address allocation server 401, and after receiving the network segment detection data packet, the management terminal 402 generates a corresponding detection packet, and the detection packet is in the management. Broadcasting in the network segment governed by the terminal 402;
  • the management terminal 402 can first determine whether there is a probe packet corresponding to the network segment. If it is determined that the probe packet corresponding to the network segment does not exist, the corresponding probe packet is generated and broadcasted.
  • the client 403 receives the probe packet broadcasted by the network segment management terminal 402, and obtains configuration data including the IP address according to the received probe packet.
  • the method includes:
  • Step 501 The address allocation server 401 configures related information.
  • the information about the configuration of the address allocation server 401 may include the information described in step 201, and details are not described herein again.
  • the related information may include, in addition to the information in step 201, related information such as an operation and maintenance (0M) server IP address.
  • related information such as an operation and maintenance (0M) server IP address.
  • Step 502 the address allocation server 401 determines whether there is a client that has not completed the IP address allocation, if the determination result is yes, step 503 is performed; if the determination result is no, proceed to step 502;
  • the address allocation server 401 may determine whether there is a client 403 that has not completed IP address allocation in the following manner: First, it is determined whether all network segments (all network segments managed by the address allocation server) exist or not yet Complete the network segment where all clients' IP addresses are allocated. If yes, determine whether there are any clients in the network segment that have not completed IP address allocation. It is to be noted that, in the case that the address allocation server 401 modifies the configuration data of the client 403 that has completed the IP address allocation, the technical solution provided in this embodiment may be used, and step 503 is performed. The embodiment of the present invention is mainly described in the scenario where the client 403 does not complete the IP address allocation, but is not limited thereto.
  • Step 503 If it is determined in step 502 that the result is that the client has an uncompleted IP address allocation, the address allocation server 401 generates a network segment probe data packet in a network segment, and the network segment probe data packet includes configuration information; The network segment detection data packet is sent to the management terminal 402, so that after receiving the network segment detection data packet, the management terminal 402 generates a detection packet of the network segment according to the configuration information in the network segment detection data packet, and finally The client 403 in the network segment performs corresponding data configuration according to the configuration data included in the probe packet.
  • the configuration information in the network segment detection packet includes the related information in step 501, and details are not described herein.
  • the IP address of the address assignment server can also be included.
  • the network segment probe data packet generated by the address server 401 can also carry information such as the current time stamp.
  • the structure of the network segment detection data packet is as shown in Table 1: Table 1
  • different methods for generating data packets are generated according to different scenarios:
  • the added IP address is added to the original network segment detection data packet, and the timestamp is updated to generate the network segment detection data packet.
  • the modification of the configuration data of the client 403 is not limited to modifying the IP address, and other configuration data, such as the network segment mask length and the gateway IP address, or the gateway address, may be modified.
  • Step 504 the address allocation server 401 transmits the generated network segment probe data packet to the management terminal 402.
  • the transmission mode can be manual or automatic, and the corresponding transmission mode can be selected according to actual needs.
  • Step 505 the management terminal 402 receives the network segment probe data packet transmitted by the address distribution server 401.
  • Step 506 determining whether there is a probe packet corresponding to the network segment, the probe packet is a probe IP data packet; if the determination result is the existence, step 509 is performed; if the determination result does not exist, step 507 is performed;
  • the network segment to which the network segment detection data packet belongs may be determined first, and then all the detection packets are searched according to the network segment. If the detection packet corresponding to the network segment is not found, the network may be determined to be absent. The probe packet corresponding to the segment, otherwise, the probe packet corresponding to the network segment is determined to exist.
  • the probe packet may be an IP packet
  • FIG. 6 is a schematic diagram of the structure of the probe packet.
  • the broadcast IP address of the network segment is the destination address, that is, the IP packet header of the IP packet is the broadcast IP address of the network segment; the data portion of the IP packet may include the network segment probe data packet. All the information, such as the information in step 503.
  • Step 508 The management terminal 402 broadcasts the probe packet to the network segment corresponding to the network segment address, so that the client 403 of the network segment can perform data configuration according to the information in the packet when receiving the probe packet.
  • the management terminal 402 can periodically send a probe packet to the network segment corresponding to the network segment address, and broadcast the probe packet on the network segment.
  • Step 509 If it is determined in step 506 that there is a probe packet corresponding to the network segment, the management terminal 402 further determines whether the probe packet needs to be updated. If the determination result is yes, step 510 is performed; if the determination result is no , step 512 is performed;
  • whether the probe packet needs to be updated is determined according to the timestamp of the probe packet and the timestamp corresponding to the existing probe packet. If the timestamp of the probe packet is later than the timestamp corresponding to the existing probe packet, it is determined to update the existing probe packet. If the timestamp of the probe packet is earlier than or equal to the timestamp corresponding to the probe packet, it is determined that the existing probe packet does not need to be updated.
  • Step 510 If it is determined in step 509 that the existing probe packet needs to be updated, a new probe packet is generated according to the received network segment probe data packet, and the existing probe packet is deleted.
  • Step 511 The management terminal 402 broadcasts the probe packet to the network segment corresponding to the network segment address.
  • the management terminal 402 periodically sends a probe packet to the network segment corresponding to the network segment address, so that the detection packet is
  • the client 403 of the network segment can perform data configuration according to the information in the packet.
  • Step 512 If it is determined in step 509 that the existing probe packet does not need to be updated, the packet is discarded. The currently detected network segment probe packet retains the existing probe packet.
  • step 513 the client 403 receives the probe packet of the network segment to which the management terminal 402 broadcasts.
  • the configuration data included in the probe packet is the information in step 501, and details are not described herein.
  • step 514 the client 403 determines whether an IP address has been assigned. If the determination result is yes, step 517 is performed. If the determination result is no, step 515 is performed.
  • Step 515 If the result of the determination in step 514 is no, the client 403 parses the probe packet to obtain the configuration data.
  • Step 516 Obtain configuration data including the IP address corresponding to the client from the configuration data according to the client identifier, so that the client 403 uses the configuration data to perform data configuration.
  • step 517 if the result of the determination in step 514 is YES, that is, the probe packet is received before receiving the probe packet, it is further determined whether the IP address needs to be updated. If the result of the determination is that the update is required, step 518 is performed. If the result is determined to be unnecessary, step 520 is performed;
  • Step 518 If the result of the determination in step 517 is that the IP address needs to be updated, the client 403 parses the probe packet to obtain the configuration data.
  • Step 519 Obtain an IP address corresponding to the client 403 from the configuration data according to the client identifier, and obtain other related information in the configuration data.
  • Step 520 if the result of the determination in step 517 is that the IP address does not need to be updated, the client End 403 discards the current probe.
  • the address assignment server 401 can transmit an address confirmation message that the acknowledgement address has been allocated. At this time, the address distribution server 401 can adjust its IP address allocation table based on the address confirmation information sent from the client 403. If the address assignment server 401 determines that the IP addresses of a certain network segment are all allocated, the address assignment server 401 sends an instruction to the management terminal 402 to stop transmitting the probe message. After receiving the instruction, the management terminal 402 stops transmitting the probe packet of the network segment.
  • the network segment detection packet including the client IP address can be generated by the address allocation server of the IP address, and the management terminal can generate a corresponding detection packet according to the network segment detection data packet, so that the client After receiving the probe packet, the IP address corresponding to the client is automatically obtained. Even if the client and the address allocation server that allocates the IP address are on different network segments, the relay server is not required to be obtained as in the DHCP mode. IP address, which reduces the difficulty and cost of IP address allocation.
  • the network segment detection data packet generated by the address allocation server may include other configuration data in addition to the IP address, so that the probe text generated by the management terminal may also include other configuration data, so that the client receives the probe packet. After that, the IP address and other configuration data corresponding to the client are automatically obtained for data configuration.
  • the embodiment of the present invention provides an automatic IP address allocation method.
  • data transmitted between the client 403, the address distribution server 401, and the management terminal 402 is encrypted in consideration of security of data transmission. That is, the sender encrypts the data, and the receiver decrypts the data.
  • the encryption method can use any existing method, such as encrypting the encrypted data with different passwords.
  • step 704 the address assignment server 401 encrypts the generated network segment probe data packet, and then transmits the encrypted network segment probe data packet to the management terminal 402.
  • step 705 after receiving the network segment probe data packet, the management terminal 402 decrypts the network segment probe data packet. After the probe packet is generated in steps 707 and 710, the generated probe packet is encrypted in steps 708 and 711, and the encrypted probe packet is broadcasted to the network segment corresponding to the network segment address.
  • step 713 after receiving the broadcast probe message, the client 403 first decrypts the probe message.
  • the address assignment server 401 determines that all the IP addresses of a certain network segment are allotted or for other reasons, the address assignment server 401 can encrypt the instruction to stop sending the probe message to the management terminal 402, and then send the encrypted command. To the management terminal 402. After receiving the instruction, the management terminal 402 decrypts the instruction first, and then stops sending the detection of the network segment.
  • the embodiment of the present invention provides an automatic IP address allocation method.
  • the address distribution server 401 can access the same network.
  • Clients 403 that are not assigned an IP address under the segment are grouped, and the group may be referred to as an AACCCl ient group.
  • the purpose of grouping is:
  • a new network segment probe packet is generated, including the AACP Cl ient group number and time.
  • the second type If the original IP address and the falsified IP address do not belong to the same network segment AACP Client group, the original IP address is deleted from the network segment probe data packet of the network segment AACP Cl ient group to which the original IP address belongs. Or delete the client ID corresponding to the original IP address in addition to deleting the original IP address. Then, determine whether the network segment detection packet of the AACP Cl ient group corresponding to the modified IP address exists, and if the modified IP address corresponds to the AACP Cl If the network segment detection packet of the ient group already exists, you can add the information corresponding to the modified IP address (such as the AACP client identifier) and the timestamp to the network segment probe packet to generate a new network segment probe packet. If the network segment detection packet of the AACP Client group corresponding to the modified IP address does not exist, a new network segment data packet may be generated, including the timestamp, the modified IP address, and the AACP client identifier.
  • IP0 IP1
  • IP1 IP1
  • IP0 and IP1 belong to different AAPC ient groups, you can delete the information corresponding to IP0 in the network segment detection packet of the network segment AACP Cl ient to which IP0 belongs.
  • the information corresponding to IP0 can include IP address and AACP client. End identification, etc., but is not limited to this.
  • the information corresponding to the IP1 may be added to the network segment data packet, thereby generating a new network segment detection data packet, including the timestamp; If the network segment detection packet of the AACP Client group corresponding to IP1 does not exist, a new network segment data packet may be generated, including the timestamp and the information corresponding to IP1.
  • the modification of the configuration data of the client 403 is not limited to modifying the IP address, and other configuration data, such as the network segment mask length and the gateway IP address, or the gateway address, may be modified.
  • the management terminal 402 determines whether there is a probe packet of the corresponding network segment, and may determine that the management terminal 402 can be based on the network segment. Determine the network segment where the address is located, or determine the network segment based on the network segment mask length and gateway IP address. Then check all probes according to the network segment and client group number. If the network segment and group number are not found. Corresponding 4 ⁇ , it can be determined that there is no such detection; otherwise, it can be determined that the probe is present.
  • the generated probe message may include the client group number in addition to the information in step 503.
  • the probe packet can be an IP packet
  • Figure 9 is a schematic diagram of the structure of the probe packet.
  • the IP address of the network segment is the destination address, that is, the IP packet header of the IP packet is the IP address of the network segment.
  • the data portion of the IP packet may include the network packet detection packet. All information, such as the information in step 503 and the client group number.
  • the address allocation server classifies the client that has not assigned the IP address, and generates the corresponding network segment probe data packet in units of groups, so that the management terminal obtains the data packet, and then according to the network.
  • the segment and the client group number check whether there is a probe packet corresponding to the network segment and the client group number. If it does not exist or exists but needs to be updated, a corresponding probe packet is generated according to the data packet, and periodically
  • the network segment broadcasts the network segment client to obtain the probe packet, so as to obtain configuration data including the IP address.
  • An embodiment of the present invention provides an apparatus for automatically configuring an IP address.
  • the apparatus includes a text receiving unit 1001, a text processing unit 1002, and a data acquiring unit 1003.
  • the message receiving unit 1001 is configured to receive a client.
  • the detection packet of the network segment, the detection packet includes configuration data, and the configuration data includes at least a client identifier in the network segment and an IP address corresponding to the client identifier;
  • the processing unit 1002 is configured to determine The client does not assign an IP address, Or determining that the IP address has been assigned and determining that the allocated IP address needs to be updated, the probe is parsed to obtain the configuration data;
  • the data obtaining unit 1003 is configured to obtain the configuration data according to the client identifier.
  • the IP address corresponding to the client is configured to receive a client.
  • the device may be an AACP client, and the configuration data including the IP address may be automatically obtained.
  • the client can automatically obtain the IP address of the client according to the received probe packet of the network segment, even if the client and the server that allocates the IP address are on different network segments,
  • the DHCP method sets the relay server to obtain the IP address, so the difficulty and cost of the IP address allocation can be reduced.
  • An embodiment of the present invention provides an apparatus for automatically configuring an IP address.
  • the apparatus includes a text receiving unit 1101, a text processing unit 1102, and a data obtaining unit 1103.
  • the function is similar to that of Embodiment 7, and details are not described herein. .
  • the configuration data may include other information in addition to the client identifier and the client identifier corresponding to the client identifier in the network segment: for example, a network segment address; or, a network segment mask. Length; or, network segment mask length and gateway address, or network segment address, network segment mask length, and gateway address.
  • the client may also obtain information including a network segment address, a network segment mask length, and a gateway address, and use the obtained information as the IP transmission configuration of the client. data.
  • the information included in the configuration data may also include other optional information required, for example: an address assigned to the IP address, an IP address of the server, and an operation and maintenance (0M) IP address of the server. , current timestamp and other information.
  • the data obtaining unit 1103 can obtain other configuration data other than the IP address, in addition to obtaining the IP address corresponding to the client, and performing automatic configuration of the IP address, according to the configuration.
  • the data is configured accordingly.
  • the device may further include a first decryption unit 1104, after the packet receiving unit 1101 receives the current probe packet of the network segment to which the client belongs, if the current The probe packet is encrypted, and the first decryption unit 1104 is configured to decrypt the current probe packet. Then, the message processing unit 1102 processes the decrypted message.
  • the apparatus when the device obtains an IP address, it can send an address confirmation message to the AACP server.
  • the apparatus further includes an information sending unit 1105, and is connected to the data acquiring unit 1103, and is configured to send, to the server, address confirmation information that the confirmation address has been allocated.
  • the apparatus further includes a first encryption unit 1106 for encrypting the address confirmation information; and the information transmission unit 1105 is configured to send the encrypted address confirmation information.
  • the processing unit 1102 may include an address determining unit 1201 and a text parsing unit 1202.
  • the address determining unit 1201 is configured to determine whether the client has assigned an IP address.
  • the parsing unit 1202 is configured to parse the current probe packet when the address determining unit 1201 determines that the client does not allocate an IP address, thereby acquiring configuration data.
  • the processing unit 1102 further includes an update determining unit 1203, configured to: when the address determining unit 1201 determines that the client has assigned an IP address, according to the current timestamp and the assigned IP address. The timestamp determines if the assigned IP address needs to be updated, as described in Embodiments 4 through 6. If the update determining unit 1203 determines that the allocated IP address needs to be updated, the message parsing unit 1202 is notified to parse the current probe message.
  • the device can be an AACP client.
  • the working process is as in the embodiments 4 to 6 The description is not repeated here.
  • the client can decrypt the received probe packet, and automatically obtain the IP address of the client according to the received probe packet of the network segment, even if the client and the IP address are allocated.
  • the server is on different network segments, it is not necessary to set the relay server to obtain an IP address as in the DHCP mode. Therefore, the difficulty and cost of IP address allocation can be reduced.
  • the client since the probe packet includes other configuration data, the client can perform data configuration according to other configuration data in the probe packet after receiving the probe packet of the network segment.
  • An embodiment of the present invention provides an apparatus for automatically configuring an IP address.
  • the apparatus includes a data packet receiving unit 1301, a message determining unit 1302, a packet processing unit 1303, and a packet sending unit 1304.
  • the data packet receiving unit 1301 is configured to receive a network segment detection data packet that is sent by the server, where the network segment detection data packet includes configuration information of the network segment, where the configuration information includes the information in step 503, and the network segment detection data packet is further The group number of the group where the client is located can be carried, and will not be described here.
  • the message determining unit 1302 is configured to determine whether there is a probe packet corresponding to the network segment
  • the data packet processing unit 1303 is configured to: when the text determining unit 1302 determines that the probe packet corresponding to the network segment does not exist, according to the network
  • the segment detection packet generates the probe packet, where the probe packet includes configuration data, where the information of the configuration data includes a client identifier in the network segment and an IP address corresponding to the client identifier, or the configuration data includes the data packet.
  • the message sending unit 1304 is configured to send the generated probe packet to the network segment, so that the client in the network segment receives the probe packet and performs data configuration according to the configuration data in the probe packet.
  • the packet sending unit 1304 can periodically broadcast the probe packet to the network segment corresponding to the network segment address.
  • the device may be an AACP management terminal, and the working process is as described in Embodiment 1, and details are not described herein again.
  • the AACP management terminal can receive the network segment detection data packet that is sent by the AACP address allocation server, including the client IP address, and generate a corresponding detection packet according to the network segment detection data packet, and send the detection packet to The corresponding network segment is broadcasted, so that the client of the network segment obtains the IP address corresponding to the client from the probe packet after obtaining the probe packet, even if the client and the server that allocates the IP address are different.
  • the network segment does not need to set the relay server to obtain the IP address as in the DHCP mode. Therefore, the difficulty and cost of IP address allocation can be reduced.
  • the network segment detection data packet and the probe packet may include other configuration data in addition to the client IP address, so that the AACP management terminal broadcasts the probe packet to the corresponding network segment, so that the network segment belongs to the network segment.
  • the client can obtain configuration data including the IP address from the probe packet, and perform data configuration according to the configuration data.
  • An embodiment of the present invention provides an apparatus for automatically configuring an IP address.
  • the apparatus includes a data packet receiving unit 1401, a message determining unit 1402, a data packet processing unit 1403, and a packet sending unit 1404.
  • Embodiment 9 is similar and will not be described here.
  • the device further includes a second decryption unit 1405, and is connected to the data packet receiving unit 1401, and configured to perform the current network segment detection data packet when the current network segment detection data packet is encrypted. Decrypt.
  • the device further includes a second encryption unit 1406, which is connected to the data packet processing unit 1403 and the message sending unit 1404, and configured to encrypt the generated probe message; then the message sending unit 1404 is configured to send Encrypted probe message.
  • a second encryption unit 1406, which is connected to the data packet processing unit 1403 and the message sending unit 1404, and configured to encrypt the generated probe message; then the message sending unit 1404 is configured to send Encrypted probe message.
  • the apparatus further includes an instruction receiving unit 1407 and a processing unit 1408.
  • the instruction receiving unit 1407 is configured to receive an instruction sent by the address allocation server to stop sending the probe message.
  • the processing unit 1408 is configured to: The sending of the probe message is stopped according to the instruction.
  • the apparatus may further include a third decryption unit 1409 for decrypting the instruction when the instruction to stop transmitting the probe message is encrypted.
  • the apparatus further includes a packet update determining unit 1410, configured to: when the packet determining unit 1402 determines that the probe packet corresponding to the network segment already exists, detect the time of the data packet according to the network segment.
  • the time stamp corresponding to the assigned IP address determines whether the existing probe message needs to be updated, as described in Embodiments 4 to 6; if the result of the determination is that the existing probe message needs to be updated, the message is notified.
  • the generating unit 1403 generates the probe text.
  • the apparatus may further include a packet discarding unit 1411, configured to discard the current network segment probe packet when the packet update determining unit 1410 determines that the existing probe packet does not need to be updated. .
  • the network segment detection data packet received by the data packet receiving unit 1401 may further carry the group number of the packet where the client is located.
  • the "3" text determining unit 1402 is configured to determine, according to the network segment address and the group number, or according to the network segment mask length and the gateway address, and the group number, whether there is a probe corresponding to the network segment. .
  • the device may be an AACP management terminal.
  • the working process is as described in Embodiments 4 to 6, and details are not described herein again.
  • the AACP management terminal can decrypt the received network segment detection data packet, and generate a corresponding detection packet according to the received network segment detection data packet, after being encrypted.
  • the probe packet is broadcast to a specific network segment, thereby enhancing the security of data transmission.
  • An embodiment of the present invention provides an apparatus for automatically configuring an IP address.
  • the apparatus includes a data packet generating unit 1501 and a data packet sending unit 1502.
  • the data packet generating unit 1501 is configured to: when a client that has not completed the address allocation, generate a network segment probe data packet of the network segment where the client is located, where the network segment probe data packet includes configuration information, where the configuration information is included in step 503. Information, or include the information and client in step 503 The group number of the group in which it is located, which will not be described here.
  • the data packet sending unit 1502 is configured to send the generated network segment probe data packet to the AACP management terminal, so that the AACP management terminal generates a corresponding probe according to the received network segment probe data packet.
  • the data packet generating unit 1501 may generate the network segment sounding data packet according to the related information previously input into the address allocation server.
  • the related information input in advance is as described in Embodiment 3, and details are not described herein again.
  • the device can be an AACP address allocation server.
  • the working process of the device is as described in Embodiments 3 and 6, and details are not described herein again.
  • the network segment probe packet is generated by using the network segment or the client group number, and the generated network is generated.
  • the segment probe data packet is sent to the AACP management terminal, so that the client of the network segment obtains the probe packet, and obtains the IP address corresponding to the client from the probe packet, even if the client and the IP address are assigned.
  • the server is on different network segments, it is not necessary to set the relay server to obtain an IP address as in the DHCP mode. Therefore, the difficulty and cost of IP address allocation can be reduced.
  • the network segment detection data packet and the probe packet may include other configuration data in addition to the client IP address, so that the AACP management terminal broadcasts the probe packet to the corresponding network segment, so that the network segment belongs to the network segment.
  • the client can obtain configuration data including the IP address from the probe packet, and perform data configuration according to the configuration data.
  • the apparatus can also include a configuration unit (not shown) for configuring information related to generating a network segment probe packet.
  • the apparatus further includes a third encryption unit 1606, configured to encrypt the generated network segment probe data packet; and the data packet sending unit 1602 is configured to send the encrypted network segment. Probe packets.
  • the apparatus further includes a fourth encryption unit 1607, configured to encrypt the instruction to stop sending the probe message; and the command sending unit 1605 is configured to send the encrypted instruction to stop sending the probe message.
  • the device can allocate a server for the AACP address.
  • the working process of the device is as described in Embodiments 4 to 6, and will not be described herein.
  • the address distribution server can encrypt and transmit the transmitted network probe data packet or the instruction to stop transmitting the probe message, thereby improving the security of data transmission.
  • the embodiment of the present invention provides a data configuration system. As shown in FIG. 5, the system includes a terminal 502.
  • the terminal may be configured by using the apparatus described in Embodiment 9 and Embodiment 10 or any combination thereof.
  • the system may further include an address assignment server 501, which may be constructed using the apparatus described in Embodiment 11 and Embodiment 12, or any combination thereof.
  • system further includes a client 503, wherein the composition of the client can use the apparatus described in Embodiment 7 and Embodiment 8, or any combination thereof.
  • the embodiment of the present invention can complete the automatic IP address allocation only by utilizing the most basic functions of the IP network, and improve the use range of the automatic configuration of the IP address, even if The client and the server that assigns the IP address do not need to set the relay server to obtain an IP address as in the DHCP mode on different network segments, thereby reducing the difficulty and cost of IP address allocation.
  • other configuration data may be included in the probe message including the IP address, so that other data can be configured while the IP address is configured.

Landscapes

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

Abstract

La présente invention porte sur un procédé, un dispositif et un système de configuration automatique d'adresses de protocole Internet (IP). Le procédé consiste à : recevoir un paquet de sonde de segment de réseau envoyé par un serveur d'allocation d'adresse, le paquet de sonde de segment de réseau comprenant des informations de configuration qui contiennent des identifiants de clients présents dans le segment de réseau et les adresses IP correspondant aux identifiants; déterminer si le message de sonde correspondant au segment de réseau existe ou non, si non, générer, conformément au paquet de sonde de segment de réseau, le message de sonde comprenant des données de configuration qui contiennent les identifiants de clients présents dans le segment de réseau et les adresses IP correspondant aux identifiants; envoyer le message de sonde au segment de réseau de façon à permettre aux clients présents dans le segment de réseau de mettre en œuvre une configuration de données conformément aux données de configuration figurant dans le message de sonde. La difficulté et les coûts d'allocation d'adresse IP peuvent être réduits par l'invention.
PCT/CN2010/076442 2009-08-28 2010-08-28 Procédé, dispositif et système de configuration automatique d'adresses de protocole internet (ip) WO2011023136A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009101668476A CN101651722B (zh) 2009-08-28 2009-08-28 Ip地址自动配置方法及其装置、***
CN200910166847.6 2009-08-28

Publications (1)

Publication Number Publication Date
WO2011023136A1 true WO2011023136A1 (fr) 2011-03-03

Family

ID=41673824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/076442 WO2011023136A1 (fr) 2009-08-28 2010-08-28 Procédé, dispositif et système de configuration automatique d'adresses de protocole internet (ip)

Country Status (2)

Country Link
CN (1) CN101651722B (fr)
WO (1) WO2011023136A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447089A (zh) * 2020-03-24 2020-07-24 深信服科技股份有限公司 终端资产识别方法和装置,及计算机可读存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651722B (zh) * 2009-08-28 2011-09-14 华为技术有限公司 Ip地址自动配置方法及其装置、***
CN102244689B (zh) * 2010-05-13 2014-01-01 华为技术有限公司 远程ip地址获取方法及设备
CN102143244B (zh) * 2010-11-01 2013-08-07 华为技术有限公司 配置子网掩码的方法及设备
CN104580547A (zh) * 2014-12-23 2015-04-29 曙光信息产业(北京)有限公司 用于Linux操作***的IP配置方法和装置
CN104461697B (zh) * 2014-12-25 2017-09-22 中国科学院信息工程研究所 一种虚拟机批量在线ip地址自动设置***及方法
CN106603735B (zh) * 2015-10-19 2020-06-26 华为技术有限公司 一种分配智能仪表通信地址的方法、装置和***
CN109889613B (zh) * 2019-04-24 2022-03-18 广州欢聊网络科技有限公司 一种消息推送方法、装置和移动终端
CN112738295B (zh) * 2021-01-07 2022-08-30 中国工商银行股份有限公司 Ip地址异常处理方法、装置、计算机***和存储介质
CN114513492A (zh) * 2022-04-18 2022-05-17 浙江国利网安科技有限公司 一种配置ip地址的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5854901A (en) * 1996-07-23 1998-12-29 Cisco Systems, Inc. Method and apparatus for serverless internet protocol address discovery using source address of broadcast or unicast packet
CN1949784A (zh) * 2005-10-12 2007-04-18 华为技术有限公司 Dhcp中继为dhcp客户端请求ip地址的方法
CN101047639A (zh) * 2006-06-16 2007-10-03 华为技术有限公司 一种基站自动配置的方法和***
CN101098347A (zh) * 2006-06-28 2008-01-02 华为技术有限公司 一种给用户终端分配ip地址的方法
CN101651722A (zh) * 2009-08-28 2010-02-17 华为技术有限公司 Ip地址自动配置方法及其装置、***

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10319323B3 (de) * 2003-04-29 2004-12-16 Siemens Ag Verfahren zur automatischen Konfiguration einer Kommunikationseinrichtung
CN1332539C (zh) * 2003-06-12 2007-08-15 华为技术有限公司 自动创建虚拟局域网地址池的实现方法
CN101136946A (zh) * 2006-08-31 2008-03-05 华为技术有限公司 基站ip地址分配***及方法、基站、接入服务网络网关

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5854901A (en) * 1996-07-23 1998-12-29 Cisco Systems, Inc. Method and apparatus for serverless internet protocol address discovery using source address of broadcast or unicast packet
CN1949784A (zh) * 2005-10-12 2007-04-18 华为技术有限公司 Dhcp中继为dhcp客户端请求ip地址的方法
CN101047639A (zh) * 2006-06-16 2007-10-03 华为技术有限公司 一种基站自动配置的方法和***
CN101098347A (zh) * 2006-06-28 2008-01-02 华为技术有限公司 一种给用户终端分配ip地址的方法
CN101651722A (zh) * 2009-08-28 2010-02-17 华为技术有限公司 Ip地址自动配置方法及其装置、***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447089A (zh) * 2020-03-24 2020-07-24 深信服科技股份有限公司 终端资产识别方法和装置,及计算机可读存储介质
CN111447089B (zh) * 2020-03-24 2023-07-14 深信服科技股份有限公司 终端资产识别方法和装置,及计算机可读存储介质

Also Published As

Publication number Publication date
CN101651722B (zh) 2011-09-14
CN101651722A (zh) 2010-02-17

Similar Documents

Publication Publication Date Title
WO2011023136A1 (fr) Procédé, dispositif et système de configuration automatique d'adresses de protocole internet (ip)
CN110972103B (zh) 一种通信方法及装置
JP4727126B2 (ja) 近距離無線コンピューティング装置用のセキュア・ネットワーク・アクセスの提供
KR100836028B1 (ko) 멀티캐스트 브로드캐스트 서비스 제공 방법
WO2013102412A1 (fr) Procédé et dispositif pour la transmission de données
AU2001288394A1 (en) Location-independent packet routing and secure access in a short-range wireless networking environment
US11153207B2 (en) Data link layer-based communication method, device, and system
US20070283149A1 (en) Home address auto-configuration during use of a mobile protocol authentication option protocol
CN109495594B (zh) 一种数据传输方法、pnf sdn控制器、vnf sdn控制器及***
WO2013013481A1 (fr) Procédé, dispositif, serveur et système d'authentification d'accès
US11343786B2 (en) Method for broadcast gateway signaling using cloud network and apparatus for the same
US20100106962A1 (en) Method, apparatus, and system for managing multimedia services
CN113541989A (zh) 一种网络切片检测方法、装置和存储介质
KR101143898B1 (ko) 동적 호스트 구성 프로토콜(dhcp) 릴리스 메시지에 대한 검증을 위한 방법 및 장치
WO2018054272A1 (fr) Procédé et dispositif de transmission de données, et support de stockage informatique
EP3188492B1 (fr) Procédé et dispositif de contrôle de sécurité multidiffusion basés sur dns
WO2014201783A1 (fr) Procédé, système et terminal de chiffrement et d'authentification pour un réseau ad hoc
CN108924826B (zh) 数据传送的控制方法及设备
JP2010028622A (ja) ネットワーク処理装置
WO2022270228A1 (fr) Dispositif et procédé pour fournir un service de communication pour accéder à un réseau ip et programme associé
JP7076051B1 (ja) Ipネットワークにアクセスするための通信サービスを提供するための装置、方法及びそのためのプログラム
KR100684306B1 (ko) 무선 휴대 인터넷 시스템에서의 서비스별 트래픽 암호화키 요청과 생성 및 분배 방법 및 그 장치와, 그 프로토콜구성 방법
KR101156479B1 (ko) 사용자 인증 기반의 접속 주소 할당 시스템 및 방법
JP2023002448A (ja) Ipネットワークにアクセスするための通信サービスを提供するための装置、方法及びそのためのプログラム
KR20160123102A (ko) Vpn 보호 장치 및 그 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10811296

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10811296

Country of ref document: EP

Kind code of ref document: A1