CN110062063A - Network address controller device and method - Google Patents
Network address controller device and method Download PDFInfo
- Publication number
- CN110062063A CN110062063A CN201910461956.4A CN201910461956A CN110062063A CN 110062063 A CN110062063 A CN 110062063A CN 201910461956 A CN201910461956 A CN 201910461956A CN 110062063 A CN110062063 A CN 110062063A
- Authority
- CN
- China
- Prior art keywords
- network address
- server module
- value
- controller device
- collision
- 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/5046—Resolving address allocation conflicts; Testing of addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to a kind of network address controller devices, including a processing unit, a Wide Area Network interface, a local area network interface and a server module.Server module is coupled to processing unit, for managing the network address for distributing to one or more client terminal devices that the local area network interface is connected.Processing unit is configured to execute: a lease time of server module is set as one first value;A network address collision is detected whether;If detecting network address collision, network address collision is excluded;The lease value of server module is changed to a second value;And restart server module.
Description
Technical field
The present invention relates to a kind of network address controller device and methods.
Background technique
Network address controller device, such as router (router), play the part of indispensable role in modern life.
In general, router interior can open a dynamic host configuration protocol (Dynamic Host Configuration
Protocol, DHCP) or the server of similar agreement come local area network (the Local Area to be connected to router
Network, LAN) interface device distribute network address (Internet Protocol Address, IP address), and this
The network address of router distribution is usually private network address, and hereinafter referred to as the affiliated section of these private network address is the first net
Section.When the LAN interface for having a first router is connected to the wide area network (Wide Area Network, WAN) of a second router
Interface, and when the LAN interface of the second router is connected to client terminal device, the second router is relayed as one
(relay) level 2 router uses.When the second router obtains one second network address distribute by the first router and the
When the first network segment that the Dynamic Host Configuration Protocol server of two routers is managed has overlapping, it may occur that the case where network address collision, and
Cause client terminal device can not normal connectivity.The scheme that tradition solves the above problems, which can be, is detecting net by the second router
Network address conflict simultaneously excludes sending prompt after conflict, reminds user to restart the second router manually, to enable client terminal device weight
It is new to obtain network address.It is apparent that traditional solution is for the user and not convenient and time-consuming.
Summary of the invention
The invention discloses a kind of network address controller devices, including a processing unit, a Wide Area Network interface, a local area network
Network interface and a server module.Server module is coupled to processing unit, distributes to the local area network interface institute to manage
The network address of one or more client terminal devices of connection.Processing unit is configured to execute: by a rent of server module
It makes an appointment and is set as one first value;A network address collision event is detected whether;If detecting network address collision, net is excluded
Network address conflict;The lease value of server module is changed to a second value;And restart server module.
The invention also discloses a kind of network address controller methods, are held by a processing unit of a network address controller device
Row.Network address controller method includes: that a lease time of a server module of network address controller device is set as one
First value;A network address collision is detected whether;If detecting network address collision, network address collision is excluded;It will service
The lease value of device module is changed to a second value;And restart server module.
The network address controller device and method provided according to the present invention, user need not restart network address controller dress manually
Set, distributed after the exclusion network address collision obstacle that network address controller device can automate one it is new, do not conflict
Network address is to client terminal device, so that client terminal device obtains one with normal lease time and the network that does not conflict
Location.
Below in conjunction with the drawings and specific embodiments, the present invention will be described in detail, but not as a limitation of the invention.
Detailed description of the invention
Fig. 1 is the frame diagram of the network address controller device of one embodiment of the invention.
Fig. 2 is the network address controller method flow diagram of one embodiment of the invention.
Fig. 3 is the work flow diagram after the network address of step S207 client terminal device acquirement Lothrus apterus.
Wherein, appended drawing reference:
10: network address controller device
102: processing unit
104: server module
106: Wide Area Network interface
108: local area network interface
S201~S211: step
Specific embodiment
Structural principle and working principle of the invention are described in detail with reference to the accompanying drawing:
Fig. 1 is please referred to, Fig. 1 is the frame diagram of the network address controller device of one embodiment of the invention.Network address controller
Device 10 is, for example, a router, and type is, for example, DSL/PON/DOCSIS gateway (gateway), home router (home
Router), network access point (Network Access Point), wireless network card, wireless network stretcher (WiFi
Extender), movement/cellular communications network (such as LTE, 5G) customer premises equipment, CPE (CPE) etc..Network address controller device
10 include that a processing unit 102, a server module 104, a wide area network (WAN) interface 106 and a local area network (LAN) connect
Mouth 108.Network address controller device 10 can have multiple LAN interface and/or multiple wan interfaces, and Fig. 1 is based on terseness only each picture
One out.In one embodiment, processing unit 102 and server module 104 can be integrated into single component.
Server module 104 is coupled to processing unit 102.Server module 104 is, for example, dynamic host configuration protocol
The server module of (Dynamic Host Configuration Protocol, DHCP) server module or similar agreement,
To manage one first network segment (or LAN segment), lan network address including network address controller device 10 (lower also known as the
One network address) and distribute to the network address of the client terminal device that LAN interface 108 is connected.In one embodiment, network
Location managing device 10 is as a relay router in use, wan interface 106 can be connected to the LAN interface of level router on one, net
The LAN interface 108 of network address management apparatus 10 can be connected to a client terminal device.Network address controller device 10 can pass through WAN
Interface, which is obtained, (can be considered the WAN network of network address controller device 10 by one second network address that upper level router is distributed
Address), and a third network address is distributed to client terminal device by LAN interface.The lan network of network address controller device 10
The lan network address for the client terminal device that address and LAN interface 108 are connected belongs to same LAN segment, i.e., by server module
104 are responsible for the first network segment of management.
Under above-mentioned or other special situations, be likely to result in the WAN network address of network address controller device 10 with
The LAN segment overlapping that server module 104 is managed, this situation can be described as network address collision (IP address
conflict).When network address collision occurs, it would be possible to cause client terminal device can not normal connectivity.In order to promote convenience,
The present invention proposes the scheme that restarts and can solve network address collision manually without user.
Referring to figure 2., Fig. 2 is the flow chart of the network address controller method of one embodiment of the invention.Network in 2nd figure
Address management method can be executed by processing unit 102.In one embodiment, the opportunity that network address controller method executes can be net
Network address management apparatus 10 triggers after being switched on.
In step s 201, a network address lease time of server module 104 is set as one first value.First value
For a lesser value.In one embodiment, the first value was less than 180 seconds, and the first value can be greater than 30 seconds.Network address lease time
The time is used defined by can be when server module 104 distributes network address to client terminal device.After step S201,
The lease time that network address controller device 10 distributes to the third network address of client terminal device is the first value, i.e. client fills
It is shorter for setting the time of usable third network address.
In step S203, judge whether to detect network address collision.If the determination result is YES, step S205 is executed,
If judging result is no, execution step S207.The mode of judgement is with e.g. judging the WAN network of network address controller device 10
It is overlapping whether location has with the LAN segment that server module 104 is responsible for management.
In step S205, network address collision is excluded.Network address collision is excluded there are many implementation, in this field
The various schemes for excluding network address collision all can be applied in step S205.
In step S207, the lease value of server module 104 is changed to a second value and restarts server module
104, wherein second value is greater than the first value.In one embodiment, second value is greater than 6 hours.
The network address that network address controller device 10 distributes to client terminal device after by above-mentioned process would not
It is clashed with the WAN network address (i.e. the second network address) of network address controller device 10.Further process such as Fig. 3 institute
Show.The step of Fig. 3 is after being connected at step S207, to enable client terminal device obtain network address that is new, not conflicting.
In step S209, the distribution network address request from client terminal device is received.Due in step s 201
Set lease time is the first value, is a lesser value, thus client terminal device obtained after step S201 the
Three network address can not can be continued to use because lease time expires in a short time, and be issued to network address controller device 10
Network address request is distributed, to reacquire network address.In one embodiment, the first value is set to be greater than processing unit
It 102 detections and excludes network address collision event and restarts the temporal summation of server module 104, to enable client terminal device can be
Processing unit 102 transmits distribution network address request after executing the step S209, and avoids not weighing because of server module 104
It opens completion and makes client terminal device that need to repeat to issue distribution network address request.
In step S211, in response to distributing network address request, one the 4th net is distributed according to updated lease time
Network address is to client terminal device.Since network address collision has excluded, and lease time is also set to longer second value, visitor
4th network address acquired by the end device of family is the new network address solved after network address collision, and is had normal
Lease time.
By aforesaid way, user need not restart manually network address controller device 10, network address controller device 10
A network address that is new, not conflicting is distributed after the exclusion network address collision that can be automated to client terminal device, is made
It obtains client terminal device and obtains the network address that there is normal lease time and do not conflict.For example, the first value is less than 180
Second, the second value are greater than 6 hours, so can ensure that client terminal device will not be influenced too long by network address collision, and network
The work that location managing device 10 has time enough to execute detection conflict, exclude conflict and restart.
In conclusion although the present invention has been disclosed by way of example above, it is not intended to limit the present invention..Institute of the present invention
Belong in technical field and have usually intellectual, without departing from the spirit and scope of the present invention, when various variation and profit can be made
Decorations.Therefore, protection scope of the present invention ought be subject to the scope defined in the claims.
Claims (10)
1. a kind of network address controller device, comprising:
One processing unit;
One Wide Area Network interface;
One local area network interface;And
One server module is coupled to the processing unit, to manage distribute to the local area network interface connected it is one or more
The network address of a client terminal device;
Wherein the processing unit is configured to execute:
One network address lease time of the server module is set as one first value;
A network address collision is detected whether;
If detecting the network address collision, the network address collision is excluded;
The network address lease time of the server module is changed to a second value;And
Restart the server module.
2. network address controller device according to claim 1, which is characterized in that first value less than 180 seconds, this second
Value is greater than 6 hours.
3. network address controller device according to claim 1, which is characterized in that first value is less than second value.
4. network address controller device according to claim 1, which is characterized in that first value is examined greater than the processing unit
It surveys and excludes the network address collision and restart the temporal summation of the server module.
5. network address controller device according to claim 1, which is characterized in that the server module is matched for DynamicHost
Set protocol server module.
6. a kind of network address controller method is executed, the network address pipe by a processing unit of a network address controller device
Reason method includes:
One network address lease time of one server module of the network address controller device is set as one first value;
A network address collision is detected whether;
If detecting the network address collision, the network address collision event is excluded;
The network address lease time of the server module is changed to a second value;And
Restart the server module.
7. network address controller method according to claim 6, which is characterized in that first value less than 180 seconds, this second
Value is greater than 6 hours.
8. network address controller method according to claim 6, which is characterized in that first value is less than second value.
9. network address controller method according to claim 6, which is characterized in that first value is examined greater than the processing unit
It surveys and excludes the network address collision and restart the temporal summation of the server module.
10. network address controller method according to claim 6, which is characterized in that the server module is DynamicHost
Configuration protocol server module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910461956.4A CN110062063B (en) | 2019-05-30 | 2019-05-30 | Network address management device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910461956.4A CN110062063B (en) | 2019-05-30 | 2019-05-30 | Network address management device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110062063A true CN110062063A (en) | 2019-07-26 |
CN110062063B CN110062063B (en) | 2022-03-29 |
Family
ID=67325144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910461956.4A Active CN110062063B (en) | 2019-05-30 | 2019-05-30 | Network address management device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110062063B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101951417A (en) * | 2010-09-21 | 2011-01-19 | 北京星网锐捷网络技术有限公司 | Method, system and trunk equipment for assigning multiple server addresses |
CN102098347A (en) * | 2009-12-15 | 2011-06-15 | 中兴通讯股份有限公司 | Internet address management method and system based on terminal |
CN102238245A (en) * | 2011-06-03 | 2011-11-09 | 杭州华三通信技术有限公司 | Address allocation method and equipment |
CN102299932A (en) * | 2011-09-22 | 2011-12-28 | 杭州华三通信技术有限公司 | Backup method for DHCP (Dynamic Host Configuration Protocol) server and DHCP server |
CN102647486A (en) * | 2012-04-28 | 2012-08-22 | 华为技术有限公司 | Address distributing method, address distributing equipment and address distributing system |
CN105635344A (en) * | 2016-02-04 | 2016-06-01 | 北京邮电大学 | IP address distribution method, device and system |
US20170214657A1 (en) * | 2016-01-22 | 2017-07-27 | Cisco Technology, Inc. | DHCP Client Lease Time Based Threat Detection for Authorised Users |
CN107613042A (en) * | 2017-09-22 | 2018-01-19 | 捷开通讯(深圳)有限公司 | Obtain the method, device and mobile terminal of IP address |
CN108712514A (en) * | 2018-04-28 | 2018-10-26 | 新华三技术有限公司 | IP address management method, apparatus and electronic equipment |
-
2019
- 2019-05-30 CN CN201910461956.4A patent/CN110062063B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098347A (en) * | 2009-12-15 | 2011-06-15 | 中兴通讯股份有限公司 | Internet address management method and system based on terminal |
CN101951417A (en) * | 2010-09-21 | 2011-01-19 | 北京星网锐捷网络技术有限公司 | Method, system and trunk equipment for assigning multiple server addresses |
CN102238245A (en) * | 2011-06-03 | 2011-11-09 | 杭州华三通信技术有限公司 | Address allocation method and equipment |
CN102299932A (en) * | 2011-09-22 | 2011-12-28 | 杭州华三通信技术有限公司 | Backup method for DHCP (Dynamic Host Configuration Protocol) server and DHCP server |
CN102647486A (en) * | 2012-04-28 | 2012-08-22 | 华为技术有限公司 | Address distributing method, address distributing equipment and address distributing system |
US20170214657A1 (en) * | 2016-01-22 | 2017-07-27 | Cisco Technology, Inc. | DHCP Client Lease Time Based Threat Detection for Authorised Users |
CN105635344A (en) * | 2016-02-04 | 2016-06-01 | 北京邮电大学 | IP address distribution method, device and system |
CN107613042A (en) * | 2017-09-22 | 2018-01-19 | 捷开通讯(深圳)有限公司 | Obtain the method, device and mobile terminal of IP address |
CN108712514A (en) * | 2018-04-28 | 2018-10-26 | 新华三技术有限公司 | IP address management method, apparatus and electronic equipment |
Non-Patent Citations (1)
Title |
---|
邬平杰: "基于DHCP的网络IP地址管理", 《中国新技术新产品》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110062063B (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2011235937B2 (en) | Method and apparatus for automatically resolving conflicting devices on a network | |
US9774470B2 (en) | Device and method for managing two types of devices | |
US8432833B2 (en) | Auto MEP ID assignment within CFM maintenance association | |
CN105681484B (en) | A kind of IPC Auto-Sensing connection method based on ARP protocol and ONVIF standard | |
CN106506720B (en) | Automatic network IP address allocation method | |
US20110228791A1 (en) | network node | |
CN103544575A (en) | Attendance checking method and server based on terminals | |
CN104113443A (en) | Network equipment detection method, device and cloud detection system | |
CN111130902B (en) | Switch management method, device and storage medium | |
CN101895587A (en) | Method, device and system for preventing users from modifying IP addresses privately | |
CN106470253B (en) | IP address recovery method and device | |
CN102594944A (en) | Automatic configuration method and network device | |
CN106850867A (en) | A kind of Home eNodeB obtains location device and obtains location method | |
CN106254312A (en) | A kind of method and device being realized server attack protection by virtual machine isomery | |
CN106452860B (en) | Equipment deployment method and device | |
CN108234217A (en) | Networking equipment method of automatic configuration, electronic equipment and storage medium | |
CN110062063A (en) | Network address controller device and method | |
CN102308553B (en) | Managing a home network | |
JP4294044B2 (en) | IP segment automatic extension method, system and program | |
US11650572B2 (en) | Remote management system, control device, server, method, and recording medium | |
CN107995125B (en) | Traffic scheduling method and device | |
CN109819059B (en) | Method, device, equipment and storage medium for managing network equipment | |
CN107688461B (en) | Firmware updating system and firmware updating method | |
CN113098834B (en) | Access control method, device, equipment and system | |
US8391283B2 (en) | System and method for obtaining physical location information for networked devices |
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 |