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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


