CN107872547A - A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN - Google Patents

A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN Download PDF

Info

Publication number
CN107872547A
CN107872547A CN201711014430.9A CN201711014430A CN107872547A CN 107872547 A CN107872547 A CN 107872547A CN 201711014430 A CN201711014430 A CN 201711014430A CN 107872547 A CN107872547 A CN 107872547A
Authority
CN
China
Prior art keywords
router
configuration protocol
protocol server
host configuration
dynamic host
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.)
Withdrawn
Application number
CN201711014430.9A
Other languages
Chinese (zh)
Inventor
赵冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taizhou Jiji Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201711014430.9A priority Critical patent/CN107872547A/en
Publication of CN107872547A publication Critical patent/CN107872547A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Abstract

The many aspects of the present invention disclose a kind for the treatment of method and apparatus of the DHCP Server conflicts of router LAN, the first router is connected with least one the second router by LAN interface, the corresponding first DHCP Server of the first router, the first router judge it for active router when normally being accessed according to its WAN;The first router sends DHCP Server in its LAN and finds broadcast message;If the first router receives the response message that broadcast message is found in response to the DHCP Server that the 2nd DHCP Server in addition to the first DHCP Server are returned, it is determined that the first DHCP Server described in the LAN and the 2nd DHCP Server are clashed.Above-mentioned treating method and apparatus, can make it that whether active router automatic detection occurs DHCP Server conflicts, and carry out the processing of correlation, reduce DHCP Server conflict maintenance costs.

Description

A kind for the treatment of method and apparatus of the DHCP Server conflicts of router LAN
Technical field
The present embodiments relate to wireless communication field, more particularly to a kind of router LAN (Local Area Network, LAN) DHCP (Dynamic Host Configuration Protocol, DHCP) service The treating method and apparatus of device (Server) conflict.
Background technology
Router (Router), it is each internal network i.e. LAN (LAN), external network i.e. wide area network in connection internet The equipment of (Wide AreaNetwork, WAN), router can automatically select and set route according to the situation of channel, with optimal Path, signal is sent by tandem.Router has been widely used for all trades and professions at present, and the product of various different class is As realizing connection, key internetworking and backbone network and the main force of internet interconnection business inside various backbone networks.
It is for connecting multiple logically separate networks, institute that router (Router), which is also known as gateway device (Gateway), It is to represent single a network or a subnet to call logical network.When data are transferred to another subnet from a subnet When, it can be completed by the routing function of router.Therefore, router has the work(for judging network address and selecting IP paths Can, it can establish flexible connection, can use entirely different packet and media access method in Multi net voting Interconnection Environment Various subnets are connected, router only receives source station or the information of other routers, belongs to a kind of InterWorking Equipment of Internet.
Router is a kind of multi bri device, and it can connect different transmission rates and run on the LAN of various environment And wide area network, different agreements can also be used.
Router can be divided into cable router and wireless router.
Cable router is the router being connected using netting twine or optical fiber with electronic equipment, and cable router is only suitable for having net The electronic equipment of line interface uses.
Wireless router is a kind of combination of simple form access point (Access Point, AP) and broadband router, is Router with wireless coverage function, it is mainly used in user's online and wireless coverage.The popular wireless routing of in the market Device typically all supports special line xdsl/cable, and tetra- kinds of access ways of dynamic xdsl, pptp, it also has some other network management Function, such as dhcp services, nat fire walls, mac address filtering functions.
Wireless router can be operated in single-frequency and double frequency, for example, single-frequency router can use 2.4Ghz or 5Ghz to pass Transmission of data, double frequency router use 2.4Ghz frequency ranges and 5Ghz band transmissions data simultaneously.
As shown in figure 1, pass through WIFI for a kind of structural representation of intelligent domestic system, wireless router in the prior art Intelligent electronic device in family is connected, for example, wireless router by WIFI by mobile phone, computer, television set, refrigerator, laundry Machine, air-conditioning connect with intelligent electronic devices such as lamps, realize network transmission.
Router typically uses DHCP protocol, and DHCP is the procotol of a LAN, is worked using udp protocol, and one Generally have in the lan network of individual router and an only Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server mainly give internal network LAN electronic equipment or Internet service provider's automatic IP address allocation.
The LAN interface that most of routers provide at present is usually 3-4, sometimes for of extension electronic equipment access Number, multiple routers often are extended in LAN side, i.e., at least two router is connected by LAN interface, and each route The DHCP Server of device are opened, if at least two Dynamic Host Configuration Protocol server is not carried out reasonably to the IP address of distribution Configuration, then may result in two or the Dynamic Host Configuration Protocol server more than two distributes same IP address to multiple electronic equipment, enter And IP is caused to conflict.
At present, cause to conflict to avoid at least two DHCP Server in same lan network from distributing IP address, one As can configure complementary identical IP address pond to Dynamic Host Configuration Protocol server, such as Dynamic Host Configuration Protocol server A only distribute 192.168.1.1~ 192.168.1.50, Dynamic Host Configuration Protocol server B only distributes 192.168.1.51~192.168.1.254.Electronics in the lan network is set Alternative IP address, and inform one of Dynamic Host Configuration Protocol server it has used that IP address, then the Dynamic Host Configuration Protocol server records This IP address has been used, and will not give other electronic equipments in a period of time again.
Prior art is, it is necessary to which user has stronger network knowledge, at least two DHCP Server with carrying out IP The configuration in location pond, moreover, going to investigate Network Abnormal, it is necessary to rely on user oneself when finding DHCP Server conflicts.
In addition, conflict in the prior art without router automatic detection LAN DHCP Server.
The content of the invention
The many aspects of the present invention provide a kind for the treatment of method and apparatus of the DHCP Server conflicts of LAN of router, It can make it that whether active router automatic detection occurs DHCP Server conflicts, and carry out the processing of correlation, reduce DHCP Server conflict maintenance costs.
An aspect of of the present present invention provides a kind of processing method of the DHCP Server conflicts of router LAN, the first router It is connected with least one the second router by LAN interface, the corresponding first DHCP Server of the first router, including:
The first router judges it for active router when normally being accessed according to its WAN;
The first router sends DHCP Server in its LAN and finds broadcast message;
If the 2nd DHCP Server that the first router receives in addition to the first DHCP Server are returned In response to the DHCP Server find broadcast message response message, it is determined that the first DHCP described in the LAN Server clashes with the 2nd DHCP Server.
Alternatively, the 2nd DHCP Server that the first router carries according to response message IP Location and subnet mask, judge whether and any one IP of the address pool of the first DHCP Server of the first router Address is identical, if identical, changes the IP address of the address pool of the first DHCP Server, so as to described second All IP address of DHCP Server address pool are mutually different.
Alternatively, the first router simulates multiple dhcp clients and multiple DHCP requests is sent in the LAN, its In, the multiple DHCP request is with taking the IP of the address pool of the DHCP Server in addition to the first DHCP Server Location so that the electronic equipment newly accessed in the LAN will not receive the DHCP in addition to the first DHCP Server again The IP address of Server distribution.
Alternatively, the indicator lamp of the first router startup LAN interface notifies user that there occurs DHCP Server punchings It is prominent.
Alternatively, the first router sends the DHCP Server in the LAN and finds the specific bag of broadcast message Include:The first router periodically sends the DHCP Server in the LAN and finds broadcast message.
Another aspect of the present invention provides a kind of processing unit of the DHCP Server conflicts of router LAN, the processing Device is the processing unit of the first router, and the first via with least one the second router by LAN interface by being connected, institute The corresponding first DHCP Server of the first router are stated, the processing unit includes:
Processor, judge the first router for main road during for normally being accessed according to the WAN of the first router By device;
Transmitter, broadcast message is found for sending DHCP Server in the LAN of the first router;
Receiver, for receive that the 2nd DHCP Server in addition to the first DHCP Server return in response to The DHCP Server have found the response message of broadcast message;
The processor is additionally operable to the response for receiving the 2nd DHCP Server according to the receiver and returning Message determines that the first DHCP Server described in the LAN and the 2nd DHCP Server are clashed.
Alternatively, the processor is additionally operable to the 2nd DHCP Server carried according to the response message IP And subnet mask, judge whether with the address pool of the first DHCP Server of the first router any one IP Location is identical, if identical, changes the IP address of the address pool of the first DHCP Server, so as to the 2nd DHCP All IP address of Server address pool are mutually different.
Alternatively, the transmitter is additionally operable to simulate multiple dhcp clients sends multiple DHCP requests in the LAN, Wherein, the multiple DHCP request is with taking the IP of the address pool of the DHCP Server in addition to the first DHCP Server Location so that the electronic equipment newly accessed in the LAN will not receive the DHCP in addition to the first DHCP Server again The IP address of Server distribution.
Alternatively, the processor be additionally operable to start LAN interface indicator lamp notify user that there occurs DHCP Server Conflict.
Alternatively, the transmitter finds that broadcast message is specially for sending the DHCP Server:The transmitter Broadcast message is found for periodically sending the DHCP Server in the LAN.
The treating method and apparatus to be conflicted by the LAN of the router of foregoing description DHCP Server, can make winner Whether router automatic detection occurs DHCP Server conflicts, and carries out the processing of correlation, reduces DHCP Server conflict dimensions Protect cost.
Brief description of the drawings
Fig. 1 is a kind of structural representation of intelligent domestic system in the prior art;
The flow of the processing method for the DHCP Server conflicts that Fig. 2 is a kind of LAN of router of one embodiment of the invention Schematic diagram;
Fig. 3 is a kind of structural representation of communication system of another embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The techniques described herein may be used in various communication systems, such as 2G, 3G, 4G communication system and next generation communication system Unite (for example, 5G), such as global mobile communication (Global System forMobile Communication, GSM) system, CDMA (Code Division MultipleAccess, CDMA) system, time division multiple acess (Time DivisionMultipleAccess, TDMA) system, WCDMA (Wideband Code Division Multiple Access, WCDMA) system, frequency division multiple access (Frequency DivisionMultipleAccess, FDMA) system, orthogonal frequency Divide multiple access (Orthogonal Frequency-Division Multiple Access, OFDMA) system, Single Carrier Frequency Division Multiple Access (SC-FDMA) system, GPRS (General PacketRadio Service, GPRS) system, Long Term Evolution (Long Term Evolution, LTE) system, and other such communication systems.Cdma system can realize such as wireless universal The radiotechnics such as land access (Universal Terrestrial RadioAccess, UTRA), CDMA2000.UTRA bags Include broadband-CDMA (WCDMA) and other CDMA variants.In addition, CDAM2000 covers IS-2000, IS-95 and IS-856 standard. TDMA system can realize the radiotechnics of global system for mobile communications (GSM) etc..OFDMA system can realize such as evolution General land wireless access (Evolved-UMTS Terrestrial Radio Access, E-UTRA), Ultra-Mobile Broadband (UltraMobile Broadband, UMB), IEEE802.11 (Wi-Fi), IEEE802.16 (WiMAX), IEEE802.20, The radiotechnics such as Flash-OFDMA.UTRA and E-UTRA is UMTS (Universal Mobile Telecommunication System, UMTS) a part.3GPP Long Term Evolutions (for example, LTE) are UMTS use E- UTRA version, it can use OFDMA on the uplink, and can use SC-FDMA on uplink.UTRA、E-UTRA、 UMTS, LTE and GSM are described in the document of " third generation partnership project (3GPP) " tissue.In addition, CDAM2000 and UMB descriptions In the document of " third generation partnership project 2 (3GPP2) " tissue.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of passes System, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.In addition, herein Middle character "/", it is a kind of relation of "or" to typically represent forward-backward correlation object.In addition, the terms " system " and " network " Often it is used interchangeably herein.
As shown in Fig. 2 the processing side of the DHCP Server conflicts for a kind of LAN of router of one embodiment of the invention The schematic flow sheet of method, the processing method of the LAN of router DHCP Server conflicts are applied to include the first router With the communication system of at least one the second router, the first router passes through LAN with least one the second router Interface connects, the corresponding first DHCP Server of the first router, the first router and at least one second tunnel Can be cable router by device, or wireless router, wherein, if the first router with it is described at least one The second router is wireless router, and the wireless router is single-frequency wireless router or double-frequency wireless router, described double Frequency router has two frequency ranges.
In the present embodiment, the first router is connected at least one with the LAN of at least one the second router covering Individual electronic equipment, the electronic equipment can be computer, electronic scale, mobile phone, palm PC, personal digital assistant (Personal DigitalAssistant, PDA) mechanical, electrical brain, television set, refrigerator, washing machine, air-conditioning and lamp etc. have network connecting function Electronic equipment.
Step 201, judge it for active router when the first router normally accesses according to its wide area network (WAN).
For example, the first router judges whether the up-downgoing of the interface of its WAN-side has data transmission, if described The up-downgoing of the interface of WAN-side has data transmission, then the first router determines that its WAN is normally accessed, it is determined that described The first router is active router;Sent if the up-downgoing of the interface of the WAN-side is at least one without data, described the One router determines that its WAN is not accessed, it is determined that the first router is not active router, then described at least one second It is active router to have a router in router, and therefore, each router is according to each at least one the second router From WAN, normally whether access judges whether it is active router, and specific deterministic process is as described above, will not be repeated here.
Step 202, the first router sends DHCP Server in its LAN and finds broadcast message.
For example, the first router periodically sends the DHCP Server in the LAN finds that broadcast disappears Breath.
For example, the first router starts a timer, for example, the timer is set as 10 seconds, then described first In the timer, the moment sends the DHCP Server discoveries broadcast message to router in the LAN at the expiration every time.
Step 203, if the first router receives the 2nd DHCP in addition to the first DHCP Server The response message that broadcast message is found in response to the DHCP Server that Server is returned, it is determined that the described in the LAN One DHCP Server clash with the 2nd DHCP Server.
In the present embodiment, DHCP Server clash the DHCP for referring to there is two and the above in same broadcast domain Server provide dynamic IP addressing distribution service, so, be connected in the broadcast domain client (for example, mobile terminal or Personal computer (person computer, PC)) it is possible to get other DHCP Server address, for example, first DHCP Server and the 2nd DHCP Server are in a broadcast domain together, then client may get the first DHCP The address of Server distribution, it is also possible to the address of the 2nd DHCP Server distribution is got, still, only described the Required for the address of one DHCP Server distribution is client, this results in DHCP conflicts.
In another embodiment of the invention, the first router carried according to the response message described second DHCP Server IP address and subnet mask, judge that the 2nd DHCP Server's that the response message carries is described Whether any one IP address is identical with the address pool of the first DHCP Server of the first router for IP address, such as Fruit has identical, the IP address of modification the first DHCP Server address pool, so as to the 2nd DHCP Server's All IP address of address pool are mutually different.
For example, all IP address of modification the first DHCP Server address pool so that the first DHCP All IP address of any one IP address of Server address pool and the address pool of the 2nd DHCP Server are mutual not Together.
If for example, the IP address of the address pool of the 2nd DHCP Server be 192.168.1.51~ 192.168.1.254, then change the IP address of the address pool of the first DHCP Server for 192.168.1.1~ 192.168.1.50, then do not have between the address pool of the first DHCP Server and the address pool of the 2nd DHCP Server There is identical IP address.
In another embodiment of the invention, the first router is simulated multiple dhcp clients and sent out in the LAN Multiple DHCP requests are sent, wherein, the multiple DHCP request takes the DHCP in addition to the first DHCP Server The IP address of Server address pool so that the electronic equipment newly accessed in the LAN will not receive except the first DHCP again The IP address of DHCP Server distribution outside Server.
In another embodiment of the invention, the indicator lamp of the first router startup LAN interface notifies user DHCP Server conflicts, for example, the LED flicker second timer that the first router starts its all LAN interface is pre- If period, for example, the second timer default period be 10 seconds, the first router starts its all LAN The LED of interface is closed after being flashed 10 seconds according to horse race lamp clockwise.
The processing method to be conflicted according to the LAN of the router of foregoing description DHCP Server, can cause active router Automatic detection whether occur DHCP Server conflict, and carry out correlation processing, can be significantly reduced user investigate manually because The cost of the Network Abnormal triggered for DHCP Server conflicts, and the normal online of new access device is not influenceed.
As shown in figure 3, a kind of structural representation of communication system for another embodiment of the present invention, the communication system bag The first router 30 and at least one the second router 31 are included, for example, the first router 30 and described at least one second Router 31 is connected by LAN interface, for example, the first router 30 is connected respectively by same or different LAN interface Connect the second router 31, third router ..., N routers, corresponding first DHCP of the first router 30 Server 32, the first router 30 and at least one the second router 31 can be cable router, or Wireless router, wherein, if the first router 30 and at least one the second router 31 are wireless router, institute It is single-frequency wireless router or double-frequency wireless router to state wireless router, and the double frequency router has two frequency ranges.
In the present embodiment, the LAN that the first router 30 covers with least one the second router 31 is connected to A few electronic equipment, the electronic equipment can be computer, electronic scale, mobile phone, palm PC, personal digital assistant (Personal DigitalAssistant, PDA) mechanical, electrical brain, television set, refrigerator, washing machine, air-conditioning and lamp etc. has network The electronic equipment of linkage function.
The first router 30 includes the processing unit that LAN DHCP Server conflict, the DHCP of the LAN The processing unit of Server conflicts includes:Transmitter (transmitter) 301, receiver (Receiver) 302, processor (processor) 303, the LAN interface 305 of memory (memory) 304, at least two, first timer (Timer 1) 306, Two timers (Timer 2) 307, communication interface 308 and bus 309;Wherein, the transmitter 301, the receiver 302, institute State the processor 303, memory 304, at least two LAN interface 305, the first timer 306, described second fixed When device 307, the communication interface 308 communicated between each other by the bus 309.
In embodiments of the present invention, the transmitter 301 includes transmission antenna and transtation mission circuit;The receiver 302 wraps Include reception antenna and receiving circuit.
In embodiments of the present invention, the processor 303 can be CPU (Central Processing Unit, CPU), the processor 303 can also be other general controls processors, digital signal processor (Digital Signal Processing, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..The general controls processor can be microcontroller processing Device either any conventional control processor, such as single-chip microcomputer etc..
The memory 304 is used for store program codes or instruction, and described program code includes computer-managed instruction, institute State processor 303 to be used to perform program code or the instruction that the memory 304 stores so that the transmitter 301, described connect Receive device 302, the processor 303, the memory 304, at least two LAN interface 305, the first timer 306, The second timer 307, the communication interface 308 perform the function of correlation, described in detail below.The memory 304 can Can high-speed RAM memory be included, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least One magnetic disk storage.
The LAN interface 305 both can be wired LAN interface, or wireless LAN interfaces, for connecting LAN electricity Sub- equipment and at least described the second router 31 of connection.
The communication interface 308 can be antenna or transmission circuit, for the first router and other equipment, such as First DHCP Server 32 and WAN communication.
The bus 309 can be industry standard architecture (Industry StandardArchitecture, ISA) Bus, Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or extension industry mark Quasi- structure (Extended Industry StandardArchitecture, EISA) bus etc..The system of bus 309 can divide For address bus, data/address bus, controlling bus etc..For ease of representing, only represented in figure with a thick line, it is not intended that only A piece bus or a type of bus.
When the processor 303 is used to normally be accessed according to the wide area network (WAN) of the first router 30 described in judgement The first router 30 is active router.
For example, the processor 303 judges the upper and lower of the communication interface 308 of the WAN-side of the first router 30 Whether row has data transmission, if the up-downgoing of the communication interface 308 of the WAN-side has data transmission, the place Reason device 303 determines that the WAN of the first router 30 is normally accessed, it is determined that the first router 30 is active router;Such as The up-downgoing of the communication interface 308 of WAN-side described in fruit is at least one to be sent without data, then the processor 303 determines The WAN of the first router 30 is not accessed, it is determined that and the first router 30 is not active router, then described at least one It is active router to have a router in individual the second router 31, therefore, is each route at least one the second router According to respective WAN, normally whether access judges whether it is active router to device, and specific deterministic process is as described above, no longer superfluous herein State.
The transmitter 301 is used for the transmission DHCP Server in the LAN of the first router 30 and finds that broadcast disappears Breath.
For example, the transmitter 301 be used to periodically sending by the LAN interface 305 in the LAN it is described DHCP Server have found broadcast message.
For example, the processor 303 is additionally operable to start the first timer 306, for example, the first timer 306 is set It is set to 10 seconds, then in the first timer 306, the moment passes through the LAN to the transmitter 301 in the LAN at the expiration every time Interface 305 sends the DHCP Server and finds broadcast message.
The receiver 302, for receive in addition to the first DHCP Server 32 DHCP Server (such as 2nd DHCP Server 33) what is returned finds the response message of broadcast message in response to the DHCP Server.
The processor 303 is additionally operable to receive what the 2nd DHCP Server33 were returned according to the receiver 301 Determine that the first DHCP Server 32 described in the LAN and the 2nd DHCP Server 33 are sent out during the response message Raw conflict.
In the present embodiment, DHCP Server clash the DHCP for referring to there is two and the above in same broadcast domain Server provide dynamic IP addressing distribution service, so, be connected in the broadcast domain client (for example, mobile terminal or Personal computer (person computer, PC)) it is possible to get other DHCP Server address, for example, described First DHCP Server 32 and the 2nd DHCP Server 33 are in a broadcast domain together, then client may obtain To the address of the first DHCP Server 32 distribution, it is also possible to get the 2nd DHCP Server 33 distribution Address, still, required for the address of only the first DHCP Server 32 distribution is client, this results in DHCP punchings It is prominent.
In another embodiment of the invention, the processor 303 is additionally operable to according to carrying the response message 2nd DHCP Server 33 IP address and subnet mask, judge the 2nd DHCP that the response message carries Whether Server 33 IP address appoints with the first DHCP Server 32 of the first router 30 address pool An IP address of anticipating is identical, if identical, changes the IP address of the address pool of the first DHCP Server 32, so as to All IP address of the address pool of the 2nd DHCP Server 33 are mutually different.
For example, the processor 303 is with being additionally operable to change all IP of the address pool of the first DHCP Server 32 Location so that any one IP address of the address pool of the first DHCP Server 32 and the 2nd DHCP Server 33 Address pool all IP address mutually it is different.
If for example, the IP address of the address pool of the 2nd DHCP Server 33 be 192.168.1.51~ 192.168.1.254, then the processor 303 is additionally operable to change the IP address of the address pool of the first DHCP Server 32 For 192.168.1.1~192.168.1.50, then the address pool of the first DHCP Server 32 and the 2nd DHCP There is no identical IP address between Server 33 address pool.
In another embodiment of the invention, the transmitter 301 is additionally operable to simulate multiple dhcp clients in the LAN In multiple DHCP requests are sent by the LAN interface 305, wherein, the multiple DHCP request is taken except the first DHCP The IP address of the address pool of DHCP Server outside Server 32 so that the electronic equipment newly accessed in the LAN will not The IP address of the DHCP Server distribution in addition to the first DHCP Server 32 is received again.
In another embodiment of the invention, the processor 303 is additionally operable to start the indicator lamp of the LAN interface 305 User is notified there occurs DHCP Server conflicts, for example, the processor 303 is additionally operable to start its all LAN interface 305 LED flashes the 307 default period of second timer, for example, the 307 default period of the second timer is 10 Second, the processor 303 start its all LAN interface 305 LED flashed 10 seconds according to horse race lamp clockwise after close.
According to the first router of foregoing description handle LAN DHCP Server conflict scheme, can cause main road by Whether device automatic detection occurs DHCP Server conflicts, and carries out the processing of correlation, can be significantly reduced user and investigate manually Since the cost for the Network Abnormal that DHCP Server conflicts trigger, and the normal online of new access device is not influenceed.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) or processor or core Piece performs the method described in some parts of each embodiment or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of processing method of the Dynamic Host Configuration Protocol server conflict of router LAN, the first router with least One the second router is connected by lan interfaces, the corresponding first DHCP service of the first router Device, it is characterised in that including:
The first router judges it for active router when normally being accessed according to its wide area network;
The first router sends Dynamic Host Configuration Protocol server in its LAN and finds broadcast message;
If the first router receives the second DynamicHost in addition to first Dynamic Host Configuration Protocol server The response message that broadcast message is found in response to the Dynamic Host Configuration Protocol server that configuration protocol server returns, really It is scheduled on the first Dynamic Host Configuration Protocol server described in the LAN and the second DHCP service Device clashes.
2. the method as described in claim 1, it is characterised in that methods described also includes:
The IP for second Dynamic Host Configuration Protocol server that the first router carries according to the response message Location and subnet mask, judge whether the address pool with first Dynamic Host Configuration Protocol server of the first router Any one IP address is identical, if identical, the IP of the address pool of modification first Dynamic Host Configuration Protocol server Address, it is mutually different so as to all IP address of the address pool from second Dynamic Host Configuration Protocol server.
3. the method as described in claim 1, it is characterised in that methods described also includes:
The first router simulates multiple dhcp client ends and multiple dynamic masters is sent in the LAN Machine configuration protocol is asked, wherein, the multiple dhcp request is taken except first dynamic host configuration is assisted Discuss the IP address of the address pool of the Dynamic Host Configuration Protocol server outside server so that newly accessed in the LAN Electronic equipment will not receive the DHCP service in addition to first Dynamic Host Configuration Protocol server again The IP address of device distribution.
4. the method as described in claim 1-3 is any one, it is characterised in that methods described also includes:The first router The indicator lamp for starting lan interfaces notifies user that there occurs Dynamic Host Configuration Protocol server conflict.
5. the method as described in claim 1-3 is any one, it is characterised in that the first router is sent out in the LAN The Dynamic Host Configuration Protocol server is sent to find that broadcast message specifically includes:
The first router periodically sends the Dynamic Host Configuration Protocol server in the LAN and found extensively Broadcast message.
6. a kind of processing unit of the Dynamic Host Configuration Protocol server conflict of router LAN, the processing unit is the The processing unit of one router, the first via with least one the second router by lan interfaces by being connected, and described Corresponding first Dynamic Host Configuration Protocol server of one router, it is characterised in that the processing unit includes:
Processor, judge during for normally being accessed according to the wide area network of the first router to route based on the first router Device;
Transmitter, find that broadcast disappears for sending Dynamic Host Configuration Protocol server in the LAN of the first router Breath;
Receiver, for receiving the second DHCP in addition to first Dynamic Host Configuration Protocol server The response message that broadcast message is found in response to the Dynamic Host Configuration Protocol server that server returns;
The processor is additionally operable to receive what second Dynamic Host Configuration Protocol server returned according to the receiver The response message determines that the first Dynamic Host Configuration Protocol server described in the LAN and the described second dynamic are main Machine configuration protocol server clashes.
7. processing unit as claimed in claim 6, it is characterised in that the processor is additionally operable to be taken according to the response message The IP and subnet mask of second Dynamic Host Configuration Protocol server of band, judge whether the institute with the first router It is identical to state the address pool of the first Dynamic Host Configuration Protocol server any one IP address, if identical, modification described the The IP address of the address pool of one Dynamic Host Configuration Protocol server, so as to second Dynamic Host Configuration Protocol server Address pool all IP address mutually it is different.
8. processing unit as claimed in claim 6, it is characterised in that the transmitter, which is additionally operable to simulate multiple DynamicHosts, matches somebody with somebody Put protocol client and multiple dhcp requests are sent in the LAN, wherein, the multiple DynamicHost Configuration protocol request takes the Dynamic Host Configuration Protocol server in addition to first Dynamic Host Configuration Protocol server Address pool IP address so that the electronic equipment newly accessed in the LAN will not receive except first DynamicHost again The IP address of Dynamic Host Configuration Protocol server distribution outside configuration protocol server.
9. the processing unit as described in claim 6-8 is any one, it is characterised in that institute's processor is additionally operable to start local The indicator lamp of network interface notifies user that there occurs Dynamic Host Configuration Protocol server conflict.
10. the processing unit as described in claim 6-8 is any one, it is characterised in that the transmitter is used to send described move State host configuration protocol server finds that broadcast message is specially:The transmitter is used to periodically send out in the LAN The Dynamic Host Configuration Protocol server is sent to find broadcast message.
CN201711014430.9A 2017-10-26 2017-10-26 A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN Withdrawn CN107872547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711014430.9A CN107872547A (en) 2017-10-26 2017-10-26 A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711014430.9A CN107872547A (en) 2017-10-26 2017-10-26 A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN

Publications (1)

Publication Number Publication Date
CN107872547A true CN107872547A (en) 2018-04-03

Family

ID=61753358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711014430.9A Withdrawn CN107872547A (en) 2017-10-26 2017-10-26 A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN

Country Status (1)

Country Link
CN (1) CN107872547A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811164A (en) * 2011-05-31 2012-12-05 巴比禄股份有限公司 Portable network connection device,and method of setting portable network connection device
CN103581107A (en) * 2012-07-19 2014-02-12 国基电子(上海)有限公司 Server and working mode setting method thereof
EP3062489A1 (en) * 2015-02-25 2016-08-31 Deutsche Telekom AG DHCP using a distributed data structure
CN107172229A (en) * 2017-06-27 2017-09-15 中国联合网络通信集团有限公司 The collocation method and device of router

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811164A (en) * 2011-05-31 2012-12-05 巴比禄股份有限公司 Portable network connection device,and method of setting portable network connection device
CN103581107A (en) * 2012-07-19 2014-02-12 国基电子(上海)有限公司 Server and working mode setting method thereof
EP3062489A1 (en) * 2015-02-25 2016-08-31 Deutsche Telekom AG DHCP using a distributed data structure
CN107172229A (en) * 2017-06-27 2017-09-15 中国联合网络通信集团有限公司 The collocation method and device of router

Similar Documents

Publication Publication Date Title
CN108075987A (en) A kind of multi-path data transmission method and equipment
CN108566286B (en) Method for realizing service quality of intelligent router, router and electronic equipment
CN109889499A (en) File transmitting method and relevant apparatus
Nam et al. Collaborative approach to mitigating ARP poisoning-based Man-in-the-Middle attacks
CN109691026A (en) Method and apparatus for updating multiple multiprotocol label switching (MPLS) two-way converting detection (BFD) sessions
CN107645496A (en) A kind of distribution method and system of intelligent electronic device
CN107579880A (en) A kind of network-building method and system of test router various flow rate model
JP2020077919A (en) On-vehicle communication device, communication control method, and communication control program
CN107980229A (en) A kind of detection method and device of exception frequency point, computer-readable storage medium
CN106255226A (en) network connection processing method and device
CN107710634B (en) Communication means and equipment based on optical network system
WO2016065910A1 (en) Network mode switching processing method, device and terminal
CN105591967B (en) A kind of data transmission method and device
EP3207737A2 (en) Methods and apparatuses for flexible mobile steering in cellular networks
JP2006515730A (en) Method and system for transparent transmission of data traffic between data processing devices, said computer program product and said computer-readable storage medium
CN107872547A (en) A kind for the treatment of method and apparatus of the DHCPServer conflicts of router LAN
US10212090B2 (en) Policy control method and related apparatus and system
CN107359882A (en) A kind of double-frequency wireless router and its data transmission method
CN103619032B (en) Wireless routing device optimization method and device
CN107534585A (en) Communication means and terminal
CN105814853B (en) Qos method for improving, apparatus and system
WO2017175027A1 (en) Quality of service (qos) support for tactile traffic
CN114125883B (en) Network access method and device of intelligent equipment, electronic equipment and storage medium
CN110166518A (en) Transmission method, device, storage medium and the electronic device of session information
Cisco Cisco Broadband Operating System 2.3.0 Release Notes

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201104

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Applicant after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180403