Abstract:
A method and an apparatus for acquiring an Internet Protocol (IP) address by a Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol (DHCP) client. The method includes generating, by a controller, a first DHCP discover packet, forwarding, by the controller, the first DHCP discover packet to a DHCP server through a switch so that the DHCP server generates a DHCP offer packet, and sends the DHCP offer packet to the switch, receiving, by the controller, the DHCP offer packet and port information of the switch to communicate with the DHCP server, wherein the DHCP offer packet and the port are reported by the switch, acquiring address information of the DHCP server, and generating, by the controller according to the address information and the port, a forwarding rule for forwarding from the switch to the DHCP server, to assist the DHCP client in acquiring an IP address of the DHCP client.
Abstract:
A method and an apparatus for acquiring an Internet Protocol (IP) address by a Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol (DHCP) client. The method includes generating, by a controller, a first DHCP discover packet, forwarding, by the controller, the first DHCP discover packet to a DHCP server through a switch so that the DHCP server generates a DHCP offer packet, and sends the DHCP offer packet to the switch, receiving, by the controller, the DHCP offer packet and port information of the switch to communicate with the DHCP server, wherein the DHCP offer packet and the port are reported by the switch, acquiring address information of the DHCP server, and generating, by the controller according to the address information and the port, a forwarding rule for forwarding from the switch to the DHCP server, to assist the DHCP client in acquiring an IP address of the DHCP client.
Abstract:
A method and a device for maintaining a multicast group member are disclosed. The method includes sending a query message to a switch at intervals of a preset period, so that the switch sends the query message to each multicast group member included in a multicast group; acquiring a count value of current period query responses received by the switch in a current period; and maintaining, according to the count value of current period query responses and a count value of previous period query responses, the multicast group member included in the multicast group. The device includes a first sending module, an acquiring module, and a maintenance module. In the present disclosure, a multicast group member is maintained using a flow table maintained in a switch, which decreases load of a controller, and improves processing efficiency of maintaining, by the controller, the multicast group member.
Abstract:
A routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
Abstract:
A routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
Abstract:
A routing control method in software defined networking and an OpenFlow controller are provided. The method includes: receiving, by an OFC, a data packet reported by an OFS; determining, by the OFC according to a key value stored in a cache, whether the data packet is a repeated packet; and if the data packet is a repeated packet, delivering, by the OFC, the data packet to the OFS, and instructing the OFS to match a stored flow table to process the data packet or transmit the data packet through a corresponding port; or if the data packet is not a repeated packet, calculating, by the OFC, a routing policy for the data packet, and delivering a flow entry to the OFS according to the routing policy. In this way, for repeated packets, the OFC may calculate a routing policy only once, thereby reducing a calculation amount of the OFC.
Abstract:
A method and a device for maintaining a multicast group member are disclosed. The method includes sending a query message to a switch at intervals of a preset period, so that the switch sends the query message to each multicast group member included in a multicast group; acquiring a count value of current period query responses received by the switch in a current period; and maintaining, according to the count value of current period query responses and a count value of previous period query responses, the multicast group member included in the multicast group. The device includes a first sending module, an acquiring module, and a maintenance module. In the present disclosure, a multicast group member is maintained using a flow table maintained in a switch, which decreases load of a controller, and improves processing efficiency of maintaining, by the controller, the multicast group member.