Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for acquiring IP (internet protocol) addresses for DHCP (dynamic host configuration protocol) clients

An IP address and client technology, applied in the field of communication, can solve problems such as reducing network efficiency, wasting network bandwidth, and inconvenient maintenance

Active Publication Date: 2014-08-06
HUAWEI TECH CO LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for a DHCP client to obtain an IP address, which are used to solve the problems of wasting network bandwidth, reducing network efficiency, and inconvenient maintenance in the prior art, so as to obtain an IP address for the DHCP client. DHCP client IP address provides easy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for acquiring IP (internet protocol) addresses for DHCP (dynamic host configuration protocol) clients
  • Method and device for acquiring IP (internet protocol) addresses for DHCP (dynamic host configuration protocol) clients
  • Method and device for acquiring IP (internet protocol) addresses for DHCP (dynamic host configuration protocol) clients

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] The embodiment of the present invention provides a method for a DHCP client to obtain an IP address, involving the controller side, such as figure 1 shown, including:

[0092] S101. The controller generates a first DHCP discovery message.

[0093] The controller can actively generate the first DHCP discovery message, and the first DHCP discovery message is used to trigger the DHCP server to generate a DHCP offer message corresponding to the first DHCP discovery message, so as to obtain the location of the DHCP server in the network.

[0094] The openflow network includes a controller, a DHCP client, a DHCP server, and a switch. The DHCP client and the DHCP server transmit data packets through the switch under the control of the controller.

[0095] Among them, the openflow network realizes the separation of the data packet forwarding layer and the control layer. In the openflow network, the data packet forwarding process is jointly completed by the switch and the cont...

Embodiment 2

[0123] Embodiments of the present invention provide a method for a DHCP client to obtain an IP address, such as image 3 shown, including:

[0124] S301. The controller generates a first DHCP discovery message.

[0125] The openflow network realizes the separation of the data packet forwarding layer and the control layer. In the openflow network, the data packet forwarding process is jointly completed by the switch and the controller, wherein the switch is mainly responsible for forwarding the data packet, and the controller is mainly responsible for determining the forwarding rules of the data packet. After the switch receives the data packet, it first checks whether the forwarding flow table stored in the switch includes the forwarding rule of the received data packet, if no matching forwarding rule is found, the switch forwards the data packet to the controller, and the control The controller determines the forwarding rule of the data packet, and sends the data packet to ...

Embodiment 3

[0168] Such as Figure 4 As shown, the embodiment of the present invention provides a controller 1, including:

[0169] The first processing unit 10 is configured to generate a first DHCP discovery message.

[0170] The first sending unit 12 is configured to send the first DHCP discovery message to the switch, so that the switch forwards the first DHCP discovery message to the DHCP server, so that the DHCP server generates After the DHCP offer message corresponding to the first DHCP discovery message, the DHCP server sends the DHCP offer message to the switch, and the DHCP offer message includes the address information of the DHCP server .

[0171] The first receiving unit 11 is configured to receive a message reported by the switch, where the message includes the DHCP offer message and a port of the switch for communicating with the DHCP server.

[0172] The first processing unit 10 is further configured to obtain the address information of the DHCP server according to the D...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a method and an apparatus for obtaining an IP address by a DHCP client, and relate to the field of communications, so as to solve the problems of a waste of the network bandwidth, reduced network efficiency and inconvenience to the maintenance of a user in the prior art, thereby providing the DHCP client with convenience for obtaining an IP address of the DHCP client. The method comprises: a controller generating a first DHCP discovery packet and forwarding the first DHCP discovery packet to a DHCP server through a switch, so that the DHCP server generates a DHCP provision packet and sends the DHCP provision packet to the switch; the controller receiving the DHCP provision packet reported by the switch and a port of the switch for communicating with the DHCP server, and obtaining address information about the DHCP server; and the controller generating a forwarding rule from the switch to the DHCP server according to the address information and the port, so as to assist the DHCP client to obtain an IP address of the DHCP client.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and a device for a DHCP client to obtain an IP address. Background technique [0002] With the continuous development of the Internet, because people's business on the Internet puts forward higher and higher transmission quality requirements for the Internet, a new type of network openflow network that supports network innovation research has emerged. [0003] If the DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) client in the openflow network needs to obtain an IP (Internet Protocol, Internet Protocol) address, the DHCP client will broadcast a DHCP discovery message for obtaining the IP address when it starts , and then, the controller of the openflow network broadcasts the received DHCP discovery message according to the forwarding rules of ordinary messages, and finally when the DHCP server in the network receives the DHCP discovery message, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/12H04L12/931
CPCH04L29/12H04L45/64H04L61/5014
Inventor 李泉材满波
Owner HUAWEI TECH CO LTD