Method, device and system for configuring an Internet Protocol IP address
An Internet protocol and IP address technology, applied in the field of computer information, can solve the problems of unallocated IP address processing, inability to identify the type of IP address, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] An embodiment of the present invention provides a method for configuring an IP address. The execution subject of the method may be a server, that is, a physical node in a cloud computing system, or it may be understood as a physical server or a virtual machine, such as figure 1 As shown, the method includes:
[0046] Step 101, the server sends a DHCP request message to a Dynamic host configuration protocol (DHCP) server, where the DHCP request message is used to request an IP address;
[0047]In this embodiment, the server includes multiple network interface cards. When the server is started, the multiple network interface cards in the server will send DHCP messages to the DHCP server in order to obtain an Internet Protocol (Internet Protocol, IP) address for communication. DHCP is a LAN network protocol that uses the User Datagram Protocol (UDP) protocol to automatically assign IP addresses to internal networks or network service providers. UDP is a connectionless tra...
Embodiment 2
[0059] An embodiment of the present invention provides a server, which can also be understood as a physical server or a virtual server, such as Figure 2a As shown, including: sending unit 201, receiving unit 202
[0060] A sending unit 201, configured to send a DHCP request message to a Dynamic Host Configuration Protocol DHCP server, where the DHCP request message is used to request an IP address;
[0061] The receiving unit 202 is configured to receive the IP address and the attribute identifier of the IP address sent by the DHCP server; wherein the attribute identifier is used to identify that the IP address is a fixed IP address or a temporary IP address.
[0062] In this embodiment, the server includes multiple network interface cards. When the server is started, the multiple network interface cards in the server will send DHCP messages to the DHCP server in order to obtain an Internet Protocol (Internet Protocol, IP) address for communication. DHCP is a LAN network pro...
Embodiment 3
[0073] The invention provides a dynamic host configuration protocol DHCP server, such as image 3 As shown, it includes a receiving unit 301 and a sending unit 302; wherein, the receiving unit 301 is used as a receiving unit for receiving a DHCP request message sent by a server, and the DHCP request message is used for requesting to obtain an IP address;
[0074] The sending unit 302 is configured to send the IP address and the attribute identifier of the IP address to the server; wherein the attribute identifier is used to identify that the IP address is a fixed IP address or a temporary IP address. Wherein, the attribute identifier is used to identify that the IP address is a fixed IP address or a temporary IP address, specifically including:
[0075] When the attribute identifier includes the server information, the IP address is a fixed IP address; when the attribute identifier does not include the server information, the IP address is a temporary IP address; wherein, the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


