CN107786682A - A kind of processing method and processing device of DHCP REQUEST request messages - Google Patents
A kind of processing method and processing device of DHCP REQUEST request messages Download PDFInfo
- Publication number
- CN107786682A CN107786682A CN201611008408.9A CN201611008408A CN107786682A CN 107786682 A CN107786682 A CN 107786682A CN 201611008408 A CN201611008408 A CN 201611008408A CN 107786682 A CN107786682 A CN 107786682A
- Authority
- CN
- China
- Prior art keywords
- dhcp
- host configuration
- dynamic host
- configuration protocol
- protocol server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Abstract
The embodiment of the invention discloses a kind of processing method and processing device of DHCP REQUEST request messages, this method includes:If receive the DHCP protocol message of dhcp client transmission, identify whether DHCP protocol message is DHCP REQUEST request messages, DHCP REQUEST request messages comprise at least type of message, source address, destination address, source address is the MAC Address of dhcp client, and destination address is FF FF FF FF FF FF;If so, determining the MAC Address of target Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server according to the source address of default mapping relations and dhcp client, presetting mapping relations includes the incidence relation between dhcp client and Dynamic Host Configuration Protocol server;Destination address in DHCP REQUEST request messages is revised as to the MAC Address of target Dynamic Host Configuration Protocol server;Amended DHCP REQUEST request messages are sent to target Dynamic Host Configuration Protocol server.The embodiment of the invention also discloses a kind of device.The embodiment of the present invention, which can be realized, is sent to DHCP REQUEST request messages on target Dynamic Host Configuration Protocol server with unicast fashion, so as to reduce the network bandwidth of occupancy, reduce network pressure.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of processing method and dress of DHCP REQUEST request messages
Put.
Background technology
Due to IP address (InternetProtocolAddress) resource-constrained, it is impossible to be connected to every on internet
Main frame configure a fixed IP address.In order to realize that the configuration of IP address operates, usually using DHCP
DHCP (Dynamic Host Configuration Protocol) configures temporary ip address to the main frame for connecting network.It is existing
In technology, broadcasting packet such as DHCP REQUEST requests are there are in the interactive information between dhcp client and Dynamic Host Configuration Protocol server
Message.DHCP REQUEST request messages are used for the DHCP Offer messages that dhcp client receives multiple dhcp server responses
Afterwards, the broadcasting packet for selecting one of Dynamic Host Configuration Protocol server to be sent as target Dynamic Host Configuration Protocol server.However, DHCPREQUEST
Request message is sent in the form of broadcasting packet can take network bandwidth, cause network pressure.
The content of the invention
First embodiment of the invention provides a kind of processing method and processing device of DHCP REQUEST request messages, and it can be with
Unicast fashion sends DHCP REQUEST request messages, so as to reduce the network bandwidth of occupancy, mitigate network pressure.
In a first aspect, first embodiment of the invention provides a kind of processing method of DHCP REQUEST request messages, should
Method includes:If receiving the DHCP protocol message of dhcp client transmission, identify whether the DHCP protocol message is DHCP
REQUEST request messages, the DHCP REQUEST request messages comprise at least type of message, source address, destination address, described
Source address is the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF;If so, according to default
Mapping relations and the source address of the dhcp client determine the MAC of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server
Address, the default mapping relations include the incidence relation between the dhcp client and the Dynamic Host Configuration Protocol server;By described in
Destination address in DHCP REQUEST request messages is revised as the MAC Address of the target Dynamic Host Configuration Protocol server;After sending modification
The DHCP REQUEST request messages on the target Dynamic Host Configuration Protocol server.
On the other hand, first embodiment of the invention provides a kind of device, and the device includes recognition unit, if for receiving
The DHCP protocol message sent to dhcp client, identify whether the DHCP protocol message is DHCP REQUEST request reports
Text, the DHCP REQUEST request messages comprise at least type of message, source address, destination address, and the source address is described
The MAC Address of dhcp client, the destination address are FF-FF-FF-FF-FF-FF;First determining unit, for if so, root
Target Dynamic Host Configuration Protocol server and the target DHCP service are determined according to the source address of default mapping relations and the dhcp client
The MAC Address of device, the default mapping relations include the incidence relation between the dhcp client and the Dynamic Host Configuration Protocol server;
First modification unit, for the destination address in the DHCP REQUEST request messages to be revised as into the target DHCP service
The MAC Address of device;First transmitting element, for sending the amended DHCP REQUEST request messages to the target
On Dynamic Host Configuration Protocol server.
The embodiment of the present invention is by identifying the DHCP protocol message received, if the DHCP protocol message is DHCP
REQUEST request messages, then according to the source address of default mapping relations and dhcp client determine target Dynamic Host Configuration Protocol server and
The MAC Address of target Dynamic Host Configuration Protocol server, and the destination address in DHCP REQUEST request messages is revised as target DHCP clothes
The MAC Address of business device, and amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server, so as to real
Now DHCPREQUEST request messages are sent on target Dynamic Host Configuration Protocol server with unicast fashion, so as to reduce the Netowrk tape of occupancy
Wide, reduction network pressure.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of signal stream of the processing method for DHCP REQUEST request messages that first embodiment of the invention provides
Cheng Tu;
Fig. 2 is a kind of signal stream of the processing method for DHCP REQUEST request messages that second embodiment of the invention provides
Cheng Tu;
Fig. 3 is a kind of signal stream of the processing method for DHCP REQUEST request messages that third embodiment of the invention provides
Cheng Tu;
Fig. 4 is a kind of schematic block diagram for device that first embodiment of the invention provides;
Fig. 5 is a kind of schematic block diagram for device that second embodiment of the invention provides;
Fig. 6 is a kind of schematic block diagram for device that third embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is a kind of processing method for DHCP REQUEST request messages that first embodiment of the invention provides referring to Fig. 1
Schematic flow diagram.Device corresponding to the processing method of the DHCP REQUEST request messages is applied to dhcp client and DHCP takes
It is engaged between device, and realizes and be sent to DHCP REQUEST request messages on target Dynamic Host Configuration Protocol server with unicast fashion.As schemed
Show, the processing method of the DHCP REQUEST request messages includes step S101~S104.
S101, if receive dhcp client transmission DHCP protocol message, identify the DHCP protocol message whether be
DHCP REQUEST request messages, the DHCP REQUEST request messages comprise at least type of message, source address, destination
Location, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF.
Specifically, would generally during dhcp client and Dynamic Host Configuration Protocol server are communicated by DHCP protocol message
It is related to polytype message, such as DHCP DISCOVER messages, DHCP OFFER messages, DHCP REQUEST messages, DHCP
DECLINE messages, DHCPACK messages etc., and these DHCP protocol messages can be carried out in the form of broadcast, unicast or multicast
Transmission.DHCP protocol message is packaged according to the message format of regulation, and such as dhcp client is sent in embodiments of the present invention
DHCP REQUEST request messages comprise at least have type of message, source address, destination address etc..Wherein, type of message is used for
Distinguish different types of message.In embodiments of the present invention, identify that the DHCP that dhcp client is sent is assisted by type of message
Discuss whether message is DHCP REQUEST request messages, if step S102 is then performed, if it is not, then terminating flow.
Wherein, source address and destination address are corresponding in ethernet link layer and network protocol layer, i.e., in ether network chain
Source address in the floor of road is the MAC Address of dhcp client, destination address FF-FF-FF-FF-FF-FF, with ethernet link
Source address in network protocol layer corresponding to layer is 0.0.0.0, destination address 255.255.255.255.Destination address is
255.255.255.255 represent that the Dynamic Host Configuration Protocol server of all support ICP/IP protocols on network can all receive the DHCP
REQUEST request messages, that is, the DHCP REQUEST request messages for showing to send from dhcp client are broadcasting packet;Work as DHCP
Server can be made after receiving DHCP REQUEST request messages according to the MAC Address of the dhcp client to dhcp client
Go out response and such as send DHCPACK messages to dhcp client.
S102, if so, determining target Dynamic Host Configuration Protocol server according to the source address of default mapping relations and the dhcp client
And the MAC Address of the target Dynamic Host Configuration Protocol server, the default mapping relations include the dhcp client and the DHCP
Incidence relation between server.
Specifically, the default mapping relations are typically to match setting according to the requirement of load balancing, and it is used for clearly
Which Dynamic Host Configuration Protocol server provides IP services for which dhcp client, so as to ensure that the main frame for being connected to network can be configured
Available IP address.It is to be appreciated that default mapping relations are not limited to, such as also the default mapping relations can also be DHCP
Client carries out autonomous selection to determine according to the response speed of Dynamic Host Configuration Protocol server, such as contrasts the response speed of multiple Dynamic Host Configuration Protocol server
Spend and the fastest Dynamic Host Configuration Protocol server of Response to selection is as target Dynamic Host Configuration Protocol server etc., be not construed as limiting herein.Of the invention real
Applying the default mapping relations of this in example includes the incidence relation between dhcp client and Dynamic Host Configuration Protocol server.The default mapping relations can
To embody in the form of a list, and by record in lists the title such as dhcp client, dhcp client MAC Address,
And MAC Address of the title of the Dynamic Host Configuration Protocol server corresponding with dhcp client, Dynamic Host Configuration Protocol server etc. marks DHCP client
End and the corresponding relation of Dynamic Host Configuration Protocol server, consequently facilitating according to the source address of dhcp client in the list of default mapping relations
The MAC Address of target Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server is determined, so that the target Dynamic Host Configuration Protocol server is DHCP visitors
Family end provides IP address service.
S103, the destination address in the DHCP REQUEST request messages is revised as the target Dynamic Host Configuration Protocol server
MAC Address.
Specifically, in order to reduce the network bandwidth and reduce net that DHCP REQUEST request messages take in transmitting procedure
Network pressure, need to be revised as passing with unicast fashion with forms of broadcasting transmission in DHCP REQUEST request message transmitting procedures
It is defeated.In embodiments of the present invention, by the way that the destination address in DHCP REQUEST request messages is revised as into target DHCP clothes
It is engaged in the MAC Address of device, i.e., is that to be revised as destination address be target Dynamic Host Configuration Protocol server to FF-FF-FF-FF-FF-FF by destination address
MAC Address, so as to which DHCP REQUEST request messages to be converted to the message of unicast fashion from the forms of broadcasting.
S104, the amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server.
Specifically, the destination address in DHCP REQUEST request messages is revised as by target DHCP clothes according to step S103
It is engaged in after the MAC Address of device, the amended DHCP REQUEST request messages is sent to target Dynamic Host Configuration Protocol server, so as to mesh
Dynamic Host Configuration Protocol server is marked according to the processing that responded to DHCP REQUEST request messages.By by DHCP REQUEST request messages
It is sent to unicast fashion on target Dynamic Host Configuration Protocol server, it is more compared to DHCP REQUEST request messages are sent to the forms of broadcasting
On individual Dynamic Host Configuration Protocol server, reduce the network bandwidth of occupancy and reduce network pressure.
The embodiment of the present invention is by identifying the DHCP protocol message received, if the DHCP protocol message is DHCP
REQUEST request messages, then according to the source address of default mapping relations and dhcp client determine target Dynamic Host Configuration Protocol server and
The MAC Address of target Dynamic Host Configuration Protocol server, and the destination address in DHCP REQUEST request messages is revised as target DHCP clothes
The MAC Address of business device, and amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server, so as to real
Now DHCPREQUEST request messages are sent on target Dynamic Host Configuration Protocol server with unicast fashion, so as to reduce the Netowrk tape of occupancy
Wide, reduction network pressure.
Fig. 2 is a kind of signal stream of the processing method for DHCP REQUEST request messages that second embodiment of the invention provides
Cheng Tu.As illustrated, the method comprising the steps of S201~S207.
S201, if receive dhcp client transmission DHCP protocol message, identify the DHCP protocol message whether be
DHCP REQUEST request messages, the DHCP REQUEST request messages comprise at least type of message, source address, destination
Location, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF.
S202, if so, determining target Dynamic Host Configuration Protocol server according to the source address of default mapping relations and the dhcp client
And the MAC Address of the target Dynamic Host Configuration Protocol server, the default mapping relations include the dhcp client and the DHCP
Incidence relation between server.
S203, the destination address in the DHCP REQUEST request messages is revised as the target Dynamic Host Configuration Protocol server
MAC Address.
S204, the amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server.
Step S201~S204 is same as above, and here is omitted.
S205, determine that each is described standby according to the MAC Address of default mapping relations and the target Dynamic Host Configuration Protocol server
The MAC Address of Dynamic Host Configuration Protocol server, the default mapping relations also include the Dynamic Host Configuration Protocol server and the standby Dynamic Host Configuration Protocol server
Between incidence relation.
Specifically, in embodiments of the present invention, in order to realize the high availability of Dynamic Host Configuration Protocol server, and prevent from working as one of them
Dynamic Host Configuration Protocol server can not respond after breaking down to dhcp client, in embodiments of the present invention, be taken for target DHCP
Business device is configured with least one standby Dynamic Host Configuration Protocol server, and the standby Dynamic Host Configuration Protocol server forms DHCP service with target Dynamic Host Configuration Protocol server
Device cluster provides redundant backup function to be embodied as target Dynamic Host Configuration Protocol server.The default mapping relations not only include dhcp client
Incidence relation between Dynamic Host Configuration Protocol server, in embodiments of the present invention, the default mapping relations also include Dynamic Host Configuration Protocol server and
Which incidence relation between standby Dynamic Host Configuration Protocol server, i.e. target Dynamic Host Configuration Protocol server corresponding to a dhcp client be configured with
Standby Dynamic Host Configuration Protocol server.The default mapping relations can also embody in the form of a list, and by recording in lists such as DHCP
The name of the title of server, the MAC Address of Dynamic Host Configuration Protocol server and the standby Dynamic Host Configuration Protocol server corresponding with Dynamic Host Configuration Protocol server
Claim, the MAC Address of standby Dynamic Host Configuration Protocol server etc. marks the corresponding relation of Dynamic Host Configuration Protocol server and standby Dynamic Host Configuration Protocol server, so as to just
Standby Dynamic Host Configuration Protocol server and standby is determined in list of the MAC Address according to target Dynamic Host Configuration Protocol server in default mapping relations
With the MAC Address of Dynamic Host Configuration Protocol server, so that standby Dynamic Host Configuration Protocol server provides redundancy standby functions for target Dynamic Host Configuration Protocol server.
It is to be appreciated that target DHCP is determined according to the source address of default mapping relations and dhcp client in step S202
The MAC Address of server and target Dynamic Host Configuration Protocol server, mapping relations are preset according to this in step S205 and target DHCP takes
The MAC Address of business device determines the MAC Address of each standby Dynamic Host Configuration Protocol server.In some feasible embodiments, preferred steps
S205 is performed simultaneously with step S202, i.e., determines target simultaneously according to default mapping relations and the source address of dhcp client
Dynamic Host Configuration Protocol server, the MAC of target Dynamic Host Configuration Protocol server, the MAC Address of standby server and standby server.
S206, the destination address in the DHCP REQUEST request messages is revised as the standby Dynamic Host Configuration Protocol server
MAC Address is to obtain the DHCP REQUEST request messages to match with the quantity of the standby Dynamic Host Configuration Protocol server.
Specifically, in embodiments of the present invention, the standby DHCP service of target Dynamic Host Configuration Protocol server is determined in step S205
After the MAC Address of the quantity of device and each standby Dynamic Host Configuration Protocol server, by by the mesh in DHCP REQUEST request messages
Address be revised as the MAC Address of standby Dynamic Host Configuration Protocol server, to obtain the DHCP to match with the quantity of standby Dynamic Host Configuration Protocol server
REQUEST request messages.In some feasible embodiments, preferred steps S206 is performed simultaneously with step S203.
Preferably, in some feasible embodiments, according to preset order by the mesh in DHCP REQUEST request messages
Address be revised as the MAC Address of standby Dynamic Host Configuration Protocol server successively to obtain what is matched with the quantity of standby Dynamic Host Configuration Protocol server
DHCP REQUEST request messages.The preset order can be successively suitable according to the Dynamic Host Configuration Protocol server in standby list as described above
Sequence is modified successively, and such as the quantity of standby Dynamic Host Configuration Protocol server is 3, then according to the elder generation of 3 standby Dynamic Host Configuration Protocol server in list
Afterwards order successively by the destination address in DHCPREQUEST request messages be revised as the MAC Address of standby Dynamic Host Configuration Protocol server with
To 3 DHCP REQUEST request messages.It is to be appreciated that in other feasible embodiments, in order to improve DHCP
The transmission speed of REQUEST request messages, the destination address in DHCP REQUEST request messages can also be revised as simultaneously
The MAC Address of standby Dynamic Host Configuration Protocol server asks report with the DHCP REQUEST for obtaining matching with the quantity of standby Dynamic Host Configuration Protocol server
Text.
S207, send each amended described DHCP REQUEST request message standby DHCP clothes corresponding to
It is engaged on device.
Specifically, in embodiments of the present invention, each amended DHCP REQUEST request message is sent to pair
On the standby Dynamic Host Configuration Protocol server answered, redundant backup function is provided so as to be embodied as target Dynamic Host Configuration Protocol server, and when target DHCP takes
When business device breaks down and dhcp client can not be responded, standby Dynamic Host Configuration Protocol server will replace target Dynamic Host Configuration Protocol server
Dhcp client is responded, so as to realize the high availability of Dynamic Host Configuration Protocol server.In some feasible embodiments, preferably walk
Rapid S207 and step S204 is performed simultaneously.
The embodiment of the present invention is by identifying the DHCP protocol message received, if the DHCP protocol message is DHCP
REQUEST request messages, then according to the source address of default mapping relations and dhcp client determine target Dynamic Host Configuration Protocol server and
The MAC Address of target Dynamic Host Configuration Protocol server, and the destination address in DHCP REQUEST request messages is revised as target DHCP clothes
The MAC Address of business device, and amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server, according to default
The MAC Address of mapping relations and target Dynamic Host Configuration Protocol server determines the MAC Address of each standby Dynamic Host Configuration Protocol server, by DHCP
Destination address in REQUEST request messages is revised as the MAC Address of standby Dynamic Host Configuration Protocol server to obtain and standby DHCP service
The DHCP REQUEST request messages that the quantity of device matches, and send amended each DHCP REQUEST requests report
Text is on corresponding standby Dynamic Host Configuration Protocol server, it is achieved thereby that DHCP REQUEST request messages are sent into mesh with unicast fashion
Mark on Dynamic Host Configuration Protocol server and standby Dynamic Host Configuration Protocol server, not only realize DHCP high availability, and reduce the network of occupancy
Bandwidth, reduce network pressure.
Fig. 3 is a kind of signal stream of the processing method for DHCP REQUEST request messages that third embodiment of the invention provides
Cheng Tu.As illustrated, the method comprising the steps of S301~S305.
S301, default mapping relations are obtained from controller, the controller is used to manage dhcp client and DHCP service
Device, and be assigned as it for the dhcp client and the IP Dynamic Host Configuration Protocol server of service is provided.
Specifically, in embodiments of the present invention, controller is used to manage dhcp client and Dynamic Host Configuration Protocol server as a whole, and is
Dhcp client is assigned as it and provides the IP Dynamic Host Configuration Protocol server of service.Default mapping relations can be DHCP of the controller in acquisition
After client terminal quantity and Dynamic Host Configuration Protocol server quantity phase therewith is distributed according to the principle of mean allocation for each dhcp client
Corresponding Dynamic Host Configuration Protocol server, or controller are that dhcp client enters Mobile state according to the working condition of each Dynamic Host Configuration Protocol server
Corresponding Dynamic Host Configuration Protocol server is distributed, is not construed as limiting herein.
S302, if receive dhcp client transmission DHCP protocol message, identify the DHCP protocol message whether be
DHCP REQUEST request messages, the DHCP REQUEST request messages comprise at least type of message, source address, destination
Location, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF.
S303, if so, determining that target DHCP takes according to the source address of the default mapping relations and the dhcp client
It is engaged in the MAC Address of device and the target Dynamic Host Configuration Protocol server, the default mapping relations include the dhcp client and described
Incidence relation between Dynamic Host Configuration Protocol server.
Specifically, according to the default mapping relations and the source address of dhcp client obtained in step S301 from controller
Determine the MAC Address of target Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server.
S304, the destination address in the DHCP REQUEST request messages is revised as the target Dynamic Host Configuration Protocol server
MAC Address.
S305, the amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server.
Step S303~S305 is same as above, and here is omitted.
The embodiment of the present invention identifies the DHCP protocol message received by obtaining default mapping relations from controller,
If the DHCP protocol message is DHCP REQUEST request messages, according to default mapping relations and the source address of dhcp client
Determine the MAC Address of target Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server, and by the mesh in DHCP REQUEST request messages
Address be revised as the MAC Address of target Dynamic Host Configuration Protocol server, and send amended DHCP REQUEST request messages to the mesh
Mark on Dynamic Host Configuration Protocol server, it is achieved thereby that being sent DHCP REQUEST request messages with unicast fashion according to default mapping relations
Onto target Dynamic Host Configuration Protocol server, so as to reduce the network bandwidth of occupancy, reduce network pressure.
Reference picture 4, it is a kind of schematic block diagram for device that first embodiment of the invention provides.The present embodiment as depicted
In device 40 include recognition unit 41, the first determining unit 42, first modification the transmitting element 44 of unit 43 and first.
Recognition unit 41, if the DHCP protocol message for receiving dhcp client transmission, identifies the DHCP protocol
Whether message be DHCP REQUEST request messages, and the DHCP REQUEST request messages comprise at least type of message, source
Location, destination address, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-
FF。
Specifically, would generally during dhcp client and Dynamic Host Configuration Protocol server are communicated by DHCP protocol message
It is related to polytype message, such as DHCP DISCOVER messages, DHCP OFFER messages, DHCP REQUEST messages, DHCP
DECLINE messages, DHCPACK messages etc., and these DHCP protocol messages can be carried out in the form of broadcast, unicast or multicast
Transmission.DHCP protocol message is packaged according to the message format of regulation, and such as dhcp client is sent in embodiments of the present invention
DHCP REQUEST request messages comprise at least have type of message, source address, destination address etc..Wherein, type of message is used for
Distinguish different types of message.Source address and destination address are corresponding in ethernet link layer and network protocol layer, i.e., in ether
Source address in Ethernet link layer is the MAC Address of dhcp client, destination address FF-FF-FF-FF-FF-FF, with Ethernet
Source address in network protocol layer corresponding to link layer is 0.0.0.0, destination address 255.255.255.255.Destination address
The Dynamic Host Configuration Protocol server for representing all support ICP/IP protocols on network for 255.255.255.255 can all receive the DHCP
REQUEST request messages, that is, the DHCP REQUEST request messages for showing to send from dhcp client are broadcasting packet;Work as DHCP
Server can be made after receiving DHCP REQUEST request messages according to the MAC Address of the dhcp client to dhcp client
Go out response and such as send DHCPACK messages to dhcp client.
First determining unit 42, for if so, being determined according to default mapping relations and the source address of the dhcp client
The MAC Address of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server, the default mapping relations include DHCP visitors
Incidence relation between family end and the Dynamic Host Configuration Protocol server.
Specifically, the default mapping relations are typically to match setting according to the requirement of load balancing, and it is used for clearly
Which Dynamic Host Configuration Protocol server provides IP services for which dhcp client, so as to ensure that the main frame for being connected to network can be configured
There is available IP address.It is to be appreciated that default mapping relations are not limited to, such as also the default mapping relations can also be
Dhcp client carries out autonomous selection to determine according to the response speed of Dynamic Host Configuration Protocol server, such as contrasts the sound of multiple Dynamic Host Configuration Protocol server
Answer speed and the fastest Dynamic Host Configuration Protocol server of Response to selection is as target Dynamic Host Configuration Protocol server etc., be not construed as limiting herein.In this hair
This in bright embodiment, which presets mapping relations, includes the incidence relation between dhcp client and Dynamic Host Configuration Protocol server.The default mapping is closed
System can embody in the form of a list, and by recording in lists such as the title of dhcp client, the MAC of dhcp client
The title of location and the Dynamic Host Configuration Protocol server corresponding with dhcp client, the MAC Address etc. of Dynamic Host Configuration Protocol server mark the DHCP objective
Family end and the corresponding relation of Dynamic Host Configuration Protocol server, consequently facilitating presetting the list of mapping relations according to the source address of dhcp client
In determine the MAC Address of target Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server, so that the target Dynamic Host Configuration Protocol server is DHCP
Client provides IP address service.
First modification unit 43, for the destination address in the DHCP REQUEST request messages to be revised as into the mesh
Mark the MAC Address of Dynamic Host Configuration Protocol server.
Specifically, in order to reduce network bandwidth that DHCP REQUEST request messages take in transmitting procedure, reduce net
Network pressure, need to be revised as carrying out in the form of unicast by the forms of broadcasting in DHCP REQUEST request message transmitting procedures
Send.In embodiments of the present invention, by the way that the destination address in DHCP REQUEST request messages is revised as into target DHCP
The MAC Address of server, i.e., it is that to be revised as destination address be target Dynamic Host Configuration Protocol server to FF-FF-FF-FF-FF-FF by destination address
MAC Address, so as to which DHCP REQUEST request messages to be converted to the message of unicast fashion from the forms of broadcasting.
First transmitting element 44, for sending the amended DHCP REQUEST request messages to the target DHCP
On server.
Specifically, the destination address in DHCP REQUEST request messages is revised as target DHCP by the first modification unit 43
After the MAC Address of server, the amended DHCP REQUEST request messages are sent to target Dynamic Host Configuration Protocol server, so as to
Target Dynamic Host Configuration Protocol server is according to the processing that responded to DHCP REQUEST request messages.By the way that DHCP REQUEST are asked to report
Text is sent on target Dynamic Host Configuration Protocol server with unicast fashion, is sent to compared to by DHCP REQUEST request messages with the forms of broadcasting
On multiple Dynamic Host Configuration Protocol server, reduce the network bandwidth of occupancy, reduce network pressure.
The embodiment of the present invention identifies the DHCP protocol message received by recognition unit 41, if the DHCP protocol message is
DHCP REQUEST request messages, then by the first determining unit 42 according to default mapping relations and the source address of dhcp client
The MAC Address of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server is determined, and by DHCP REQUEST request messages
Destination address the MAC Address of target Dynamic Host Configuration Protocol server is revised as by the first modification unit 43, and pass through first send it is single
Member 44 sends amended DHCP REQUEST request messages to the target Dynamic Host Configuration Protocol server, it is achieved thereby that by DHCP
REQUEST request messages are sent on target Dynamic Host Configuration Protocol server with unicast fashion, so as to reduce the network bandwidth of occupancy, reduce net
Network pressure.
Reference picture 5, it is a kind of schematic block diagram for device that second embodiment of the invention provides.The present embodiment as depicted
In device 50 to include recognition unit 51, the first determining unit 52, first modification unit 53, the first transmitting element 54, second true
Order member 55, second changes the transmitting element 57 of unit 56 and second.
Recognition unit 51, if the DHCP protocol message for receiving dhcp client transmission, identifies the DHCP protocol
Whether message be DHCP REQUEST request messages, and the DHCP REQUEST request messages comprise at least type of message, source
Location, destination address, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-
FF。
First determining unit 52, for if so, being determined according to default mapping relations and the source address of the dhcp client
The MAC Address of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server, the default mapping relations include DHCP visitors
Incidence relation between family end and the Dynamic Host Configuration Protocol server.
First modification unit 53, for the destination address in the DHCP REQUEST request messages to be revised as into the mesh
Mark the MAC Address of Dynamic Host Configuration Protocol server.
First transmitting element 54, for sending the amended DHCP REQUEST request messages to the target DHCP
On server.
Second determining unit 55, determined for the MAC Address according to default mapping relations and the target Dynamic Host Configuration Protocol server
The MAC Address of each standby Dynamic Host Configuration Protocol server, the default mapping relations also include the Dynamic Host Configuration Protocol server and described
Incidence relation between standby Dynamic Host Configuration Protocol server.
Specifically, in embodiments of the present invention, in order to realize the high availability of Dynamic Host Configuration Protocol server, and prevent from working as one of them
Dynamic Host Configuration Protocol server can not respond after breaking down to dhcp client, in embodiments of the present invention, be taken for target DHCP
Business device is configured with least one standby Dynamic Host Configuration Protocol server, and the standby Dynamic Host Configuration Protocol server forms DHCP service with target Dynamic Host Configuration Protocol server
Device cluster provides redundant backup function to be embodied as target Dynamic Host Configuration Protocol server.The default mapping relations not only include dhcp client
Incidence relation between Dynamic Host Configuration Protocol server, in embodiments of the present invention, the default mapping relations also include Dynamic Host Configuration Protocol server and
Which incidence relation between standby Dynamic Host Configuration Protocol server, i.e. target Dynamic Host Configuration Protocol server corresponding to a dhcp client be configured with
Standby Dynamic Host Configuration Protocol server.The default mapping relations can also embody in the form of a list, and by recording in lists such as DHCP
The name of the title of server, the MAC Address of Dynamic Host Configuration Protocol server and the standby Dynamic Host Configuration Protocol server corresponding with Dynamic Host Configuration Protocol server
Claim, the MAC Address of standby Dynamic Host Configuration Protocol server etc. marks the corresponding relation of Dynamic Host Configuration Protocol server and standby Dynamic Host Configuration Protocol server, so as to just
Standby Dynamic Host Configuration Protocol server and standby is determined in list of the MAC Address according to target Dynamic Host Configuration Protocol server in default mapping relations
With the MAC Address of Dynamic Host Configuration Protocol server, so that standby Dynamic Host Configuration Protocol server provides redundancy standby functions for target Dynamic Host Configuration Protocol server.
It is to be appreciated that mesh is determined according to the source address of default mapping relations and dhcp client in the first determining unit 53
The MAC Address of Dynamic Host Configuration Protocol server and target Dynamic Host Configuration Protocol server is marked, the second determining unit 55 presets mapping relations and mesh according to this
The MAC Address of mark Dynamic Host Configuration Protocol server determines the MAC Address of each standby Dynamic Host Configuration Protocol server.In some feasible embodiments,
It is preferred that the first determining unit 53 performs simultaneously with the second determining unit 55, i.e., according to default mapping relations and the source of dhcp client
Determine target Dynamic Host Configuration Protocol server, the MAC of target Dynamic Host Configuration Protocol server, standby server and standby server simultaneously in address
MAC Address.
Second modification unit 56, it is described standby for the destination address in the DHCP REQUEST request messages to be revised as
Asked with the MAC Address of Dynamic Host Configuration Protocol server with the DHCP REQUEST for obtaining matching with the quantity of the standby Dynamic Host Configuration Protocol server
Message.
Specifically, in embodiments of the present invention, the standby DHCP service of target Dynamic Host Configuration Protocol server is determined in step S205
After the MAC Address of the quantity of device and each standby Dynamic Host Configuration Protocol server, by by the mesh in DHCP REQUEST request messages
Address be revised as the MAC Address of standby Dynamic Host Configuration Protocol server, to obtain the DHCP to match with the quantity of standby Dynamic Host Configuration Protocol server
REQUEST request messages.In some feasible embodiments, the preferably first modification unit 53 is held simultaneously with the second modification unit 56
OK.
Preferably, in some feasible embodiments, according to preset order by the mesh in DHCP REQUEST request messages
Address be revised as the MAC Address of standby Dynamic Host Configuration Protocol server successively to obtain what is matched with the quantity of standby Dynamic Host Configuration Protocol server
DHCP REQUEST request messages.The preset order can be successively suitable according to the Dynamic Host Configuration Protocol server in standby list as described above
Sequence is modified successively, and such as the quantity of standby Dynamic Host Configuration Protocol server is 3, then according to the elder generation of 3 standby Dynamic Host Configuration Protocol server in list
Afterwards order successively by the destination address in DHCPREQUEST request messages be revised as the MAC Address of standby Dynamic Host Configuration Protocol server with
To 3 DHCP REQUEST request messages.It is to be appreciated that in other feasible embodiments, in order to improve DHCP
The transmission speed of REQUEST request messages, the destination address in DHCP REQUEST request messages can also be revised as simultaneously
The MAC Address of standby Dynamic Host Configuration Protocol server asks report with the DHCP REQUEST for obtaining matching with the quantity of standby Dynamic Host Configuration Protocol server
Text.
Second transmitting element 57, for sending each amended described DHCP REQUEST request message corresponding to
On the standby Dynamic Host Configuration Protocol server.
Specifically, in embodiments of the present invention, each amended DHCP REQUEST request message is sent to pair
On the standby Dynamic Host Configuration Protocol server answered, redundant backup function is provided so as to be embodied as target Dynamic Host Configuration Protocol server, and when target DHCP takes
When business device breaks down and dhcp client can not be responded, standby Dynamic Host Configuration Protocol server will replace target Dynamic Host Configuration Protocol server
Dhcp client is responded, so as to realize the high availability of Dynamic Host Configuration Protocol server.In some feasible embodiments, preferably
Two transmitting elements 57 perform simultaneously with the first transmitting element 54.
The embodiment of the present invention identifies the DHCP protocol message received by recognition unit 51, if the DHCP protocol message is
DHCP REQUEST request messages, then by the first determining unit 52 according to default mapping relations and the source address of dhcp client
The MAC Address of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server is determined, and by DHCP REQUEST request messages
Destination address the MAC Address of target Dynamic Host Configuration Protocol server is revised as by the first modification unit 53, and pass through first send it is single
Member 54 sends amended DHCP REQUEST request messages to the target Dynamic Host Configuration Protocol server, and passes through the second determining unit 55
The MAC Address of each standby Dynamic Host Configuration Protocol server is determined according to the MAC Address of default mapping relations and target Dynamic Host Configuration Protocol server, is led to
Cross the MAC that the destination address in DHCP REQUEST request messages is revised as standby Dynamic Host Configuration Protocol server by the second modification unit 56
Location sends list to obtain the DHCP REQUEST request messages to match with the quantity of standby Dynamic Host Configuration Protocol server, and by second
Member 57 sends each amended DHCP REQUEST request message to corresponding standby Dynamic Host Configuration Protocol server, it is achieved thereby that
DHCP REQUEST request messages are sent on target Dynamic Host Configuration Protocol server and standby Dynamic Host Configuration Protocol server with unicast fashion, it is not only real
DHCP high availability is showed, and has reduced the network bandwidth of occupancy, reduces network pressure.And to send this amended
DHCP REQUEST request messages are on each standby Dynamic Host Configuration Protocol server, it is achieved thereby that by DHCP REQUEST request messages
It is sent to unicast fashion on target Dynamic Host Configuration Protocol server and standby Dynamic Host Configuration Protocol server, not only realizes DHCP high availability, and
And reduce the network bandwidth of occupancy, reduce network pressure.
Reference picture 6, it is a kind of schematic block diagram for device that third embodiment of the invention provides.The present embodiment as depicted
In device 60 include acquiring unit 61, recognition unit 62, the first determining unit 63, first modification unit 64 and first send out
Send unit 65.
Acquiring unit 61, for obtaining the default mapping relations from controller, the controller is described for managing
Dhcp client and the Dynamic Host Configuration Protocol server, and be assigned as it for the dhcp client and the IP DHCP services of service are provided
Device.
Specifically, in embodiments of the present invention, controller is used to manage dhcp client and Dynamic Host Configuration Protocol server as a whole, and is
Dhcp client is assigned as it and provides the IP Dynamic Host Configuration Protocol server of service.Default mapping table can be controller according to acquisition
After dhcp client quantity and Dynamic Host Configuration Protocol server quantity according to the principle of mean allocation for the distribution of each dhcp client with
Corresponding Dynamic Host Configuration Protocol server, or controller according to the working condition of each Dynamic Host Configuration Protocol server be dhcp client carry out
The corresponding Dynamic Host Configuration Protocol server of dynamically distributes, is not construed as limiting herein.
Recognition unit 62, if the DHCP protocol message for receiving dhcp client transmission, identifies the DHCP protocol
Whether message be DHCP REQUEST request messages, and the DHCP REQUEST request messages comprise at least type of message, source
Location, destination address, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-
FF。
First determining unit 63, for if so, being determined according to default mapping relations and the source address of the dhcp client
The MAC Address of target Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server, the default mapping relations include DHCP visitors
Incidence relation between family end and the Dynamic Host Configuration Protocol server.
First modification unit 64, for the destination address in the DHCP REQUEST request messages to be revised as into the mesh
Mark the MAC Address of Dynamic Host Configuration Protocol server.
First transmitting element 65, for sending the amended DHCP REQUEST request messages to the target DHCP
On server.
The embodiment of the present invention obtains the default mapping relations by acquiring unit 61 from controller, and passes through recognition unit
The DHCP protocol message that 62 identifications receive, it is true by first if the DHCP protocol message is DHCPREQUEST request messages
Order member 63 determines target Dynamic Host Configuration Protocol server and the target according to the source address of default mapping relations and dhcp client
The MAC Address of Dynamic Host Configuration Protocol server, and the destination address in DHCP REQUEST request messages is repaiied by the first modification unit 64
The MAC Address of target Dynamic Host Configuration Protocol server is changed to, and amended DHCPREQUEST is sent by the first transmitting element 65 and asked
Message is on the target Dynamic Host Configuration Protocol server, it is achieved thereby that DHCP REQUEST request messages are sent into target with unicast fashion
On Dynamic Host Configuration Protocol server, so as to reduce the network bandwidth of occupancy, reduce network pressure.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description
The specific work process with unit is put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, appliance arrangement embodiment described above is only schematical, for example, the unit is drawn
Point, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is in addition, shown or discussed
Mutual coupling or direct-coupling or communication connection can be indirect coupling by some interfaces, appliance arrangement or unit
Close or communication connection or electricity, the connection of mechanical or other forms.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, device, or network equipment etc.) performs the whole of each embodiment methods described of the present invention
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It is above the preferred embodiment of invention, rather than any formal limitation is done to invention.Those skilled in the art
Various equivalent changes and improvement, all equivalent changes done within the scope of the claims can be imposed on the basis of above-described embodiment
Change or modify, all should fall within the scope of invention.
Claims (10)
- A kind of 1. processing method of DHCP REQUEST request messages, it is characterised in that including:If receiving the DHCP protocol message of dhcp client transmission, identify whether the DHCP protocol message is DHCP REQUEST request messages, the DHCP REQUEST request messages comprise at least type of message, source address, destination address, described Source address is the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF;If so, target Dynamic Host Configuration Protocol server and the mesh are determined according to the source address of default mapping relations and the dhcp client The MAC Address of Dynamic Host Configuration Protocol server is marked, the default mapping relations are included between the dhcp client and the Dynamic Host Configuration Protocol server Incidence relation;Destination address in the DHCP REQUEST request messages is revised as to the MAC Address of the target Dynamic Host Configuration Protocol server;The amended DHCP REQUEST request messages are sent to the target Dynamic Host Configuration Protocol server.
- 2. the method as described in claim 1, it is characterised in that the target Dynamic Host Configuration Protocol server is configured with least one standby Dynamic Host Configuration Protocol server, methods described also include:Each described standby Dynamic Host Configuration Protocol server is determined according to the MAC Address of default mapping relations and the target Dynamic Host Configuration Protocol server MAC Address, the default mapping relations also include association between the Dynamic Host Configuration Protocol server and the standby Dynamic Host Configuration Protocol server Relation;By the destination address in the DHCP REQUEST request messages be revised as the MAC Address of the standby Dynamic Host Configuration Protocol server with Obtain the DHCP REQUEST request messages to match with the quantity of the standby Dynamic Host Configuration Protocol server;Each amended described DHCP REQUEST request message is sent to the corresponding standby Dynamic Host Configuration Protocol server.
- 3. method as claimed in claim 2, it is characterised in that the purpose by the DHCP REQUEST request messages The MAC Address of the standby Dynamic Host Configuration Protocol server is revised as to obtain what is matched with the quantity of the standby Dynamic Host Configuration Protocol server in address DHCP REQUEST request messages specifically include:The destination address in the DHCP REQUEST request messages is revised as the standby DHCP successively according to preset order The MAC Address of server is to obtain the DHCP REQUEST request messages to match with the quantity of the standby Dynamic Host Configuration Protocol server.
- 4. method as claimed in claim 2, it is characterised in that the purpose by the DHCP REQUEST request messages The MAC Address of the standby Dynamic Host Configuration Protocol server is revised as to obtain what is matched with the quantity of the standby Dynamic Host Configuration Protocol server in address DHCP REQUEST request messages specifically include:Destination address in the DHCP REQUEST request messages is revised as to the MAC of the standby Dynamic Host Configuration Protocol server simultaneously Location is to obtain the DHCP REQUEST request messages to match with the quantity of the standby Dynamic Host Configuration Protocol server.
- 5. the method as described in any one of claim 1 or 4, it is characterised in that methods described also includes:The default mapping relations are obtained from controller, the controller is used to manage the dhcp client and DHCP clothes Business device, and be assigned as it for the dhcp client and the IP Dynamic Host Configuration Protocol server of service is provided.
- A kind of 6. device, it is characterised in that including:Recognition unit, if the DHCP protocol message for receiving dhcp client transmission, identifies that the DHCP protocol message is No is DHCP REQUEST request messages, and the DHCP REQUEST request messages comprise at least type of message, source address, purpose Address, the source address are the MAC Address of the dhcp client, and the destination address is FF-FF-FF-FF-FF-FF;First determining unit, for if so, determining target according to the source address of default mapping relations and the dhcp client The MAC Address of Dynamic Host Configuration Protocol server and the target Dynamic Host Configuration Protocol server, the default mapping relations include the dhcp client Incidence relation between the Dynamic Host Configuration Protocol server;First modification unit, for the destination address in the DHCP REQUEST request messages to be revised as into the target DHCP The MAC Address of server;First transmitting element, for sending the amended DHCP REQUEST request messages to the target Dynamic Host Configuration Protocol server On.
- 7. device as claimed in claim 6, it is characterised in that the target Dynamic Host Configuration Protocol server is configured with least one standby Dynamic Host Configuration Protocol server, the terminal also include:Second determining unit, for determining each according to the MAC Address of default mapping relations and the target Dynamic Host Configuration Protocol server The MAC Address of the standby Dynamic Host Configuration Protocol server, the default mapping relations also include the Dynamic Host Configuration Protocol server and described standby Incidence relation between Dynamic Host Configuration Protocol server;Second modification unit, for the destination address in the DHCP REQUEST request messages to be revised as into the standby DHCP The MAC Address of server is to obtain the DHCP REQUEST request messages to match with the quantity of the standby Dynamic Host Configuration Protocol server;Second transmitting element, for send each amended described DHCP REQUEST request message to corresponding to it is described standby With on Dynamic Host Configuration Protocol server.
- 8. device as claimed in claim 7, it is characterised in that the second modification unit is specifically used for will according to preset order Destination address in the DHCP REQUEST request messages be revised as successively the MAC Address of the standby Dynamic Host Configuration Protocol server with The DHCP REQUEST request messages to match to the quantity with the standby Dynamic Host Configuration Protocol server.
- 9. device as claimed in claim 7, it is characterised in that the second modification unit is specifically used for the DHCP Destination address in REQUEST request messages be revised as the MAC Address of the standby Dynamic Host Configuration Protocol server simultaneously with obtain with it is described The DHCP REQUEST request messages that the quantity of standby Dynamic Host Configuration Protocol server matches.
- 10. the device as described in any one of claim 6 or 9, it is characterised in that the terminal also includes:Acquiring unit, for obtaining the default mapping relations from controller, the controller is used to manage the DHCP client End and the Dynamic Host Configuration Protocol server, and be assigned as it for the dhcp client and the IP Dynamic Host Configuration Protocol server of service is provided.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611008408.9A CN107786682B (en) | 2016-11-16 | 2016-11-16 | Method and device for processing DHCP REQUEST message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611008408.9A CN107786682B (en) | 2016-11-16 | 2016-11-16 | Method and device for processing DHCP REQUEST message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786682A true CN107786682A (en) | 2018-03-09 |
CN107786682B CN107786682B (en) | 2021-06-29 |
Family
ID=61437771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611008408.9A Active CN107786682B (en) | 2016-11-16 | 2016-11-16 | Method and device for processing DHCP REQUEST message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786682B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112769600A (en) * | 2020-12-29 | 2021-05-07 | 新华三技术有限公司 | DHCP escape method, device, equipment and machine readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330531A (en) * | 2008-07-31 | 2008-12-24 | 杭州华三通信技术有限公司 | Method for processing DHCP address allocation and DHCP relay |
CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
-
2016
- 2016-11-16 CN CN201611008408.9A patent/CN107786682B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101330531A (en) * | 2008-07-31 | 2008-12-24 | 杭州华三通信技术有限公司 | Method for processing DHCP address allocation and DHCP relay |
CN102265568A (en) * | 2011-06-13 | 2011-11-30 | 华为技术有限公司 | Communication method and load equalizer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112769600A (en) * | 2020-12-29 | 2021-05-07 | 新华三技术有限公司 | DHCP escape method, device, equipment and machine readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107786682B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102447752B (en) | Service access method, system and device based on layer 2 tunnel protocol (L2TP) | |
CN1822570B (en) | The automatic discovering method of the pseudo-circuit peer address carried out in based on the network of Ethernet | |
CN108777722B (en) | Multi-system networking communication method and device, mobile terminal and storage medium | |
CN103297353A (en) | Access method and system of customer premise equipment and broadband network gateway | |
CN105245629B (en) | Host communication method based on DHCP and device | |
JP4973223B2 (en) | Network reconfiguration method, router, and network reconfiguration system | |
CN101883090A (en) | Client access method, equipment and system | |
CN105763385A (en) | Flow scheduling method and apparatus | |
CN106357542B (en) | The method and software defined network controller of multicast service are provided | |
JP4896278B1 (en) | IP address distribution system | |
CN110166857B (en) | Method for realizing dynamic configuration of fiber channel switch | |
CN102413044A (en) | Method, device, equipment and system for generating DHCP (Dynamic Host Configuration Protocol) Snooping binding table | |
CN102447746A (en) | Information supply method, family gateway and family network system | |
CN106572447A (en) | Resource control method and device | |
CN107770010A (en) | A kind of home intranet method and home networking system based on OpenFlow | |
CN103501282A (en) | Network message sending control method, virtual switch and physical machine | |
CN103823721B (en) | A kind of method and apparatus of interprocess communication | |
CN104104749B (en) | The distribution method and device of a kind of tunnel IP address | |
CN103401954B (en) | The implementation method of virtual DHCP | |
JP2002351760A (en) | Device and method for decentralizing server load, and program making computer implement the same method | |
CN106878481A (en) | A kind of Internet protocol IP address acquisition methods, device and system | |
CN102447703B (en) | A kind of heat backup method and system, CGN equipment | |
CN107786682A (en) | A kind of processing method and processing device of DHCP REQUEST request messages | |
CN106302845A (en) | The Domain Name System addresses collocation method of data channel product and device | |
CN106209634B (en) | Learning method and device of address mapping relation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |