CN110351399A - A kind of gateway terminal LAN side address dynamic allocation management method and managing device - Google Patents
A kind of gateway terminal LAN side address dynamic allocation management method and managing device Download PDFInfo
- Publication number
- CN110351399A CN110351399A CN201910600857.XA CN201910600857A CN110351399A CN 110351399 A CN110351399 A CN 110351399A CN 201910600857 A CN201910600857 A CN 201910600857A CN 110351399 A CN110351399 A CN 110351399A
- Authority
- CN
- China
- Prior art keywords
- dhcp
- message
- list item
- client
- inquiry
- 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.)
- Pending
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
-
- 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]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of gateway terminal LAN side address dynamic allocation management method and managing devices, method is the following steps are included: S1: the Address requests dhcp broadcast message that real-time detection LAN side client is initiated, and building energy unique identification goes out the DHCP inquiry list item of the Address requests process;S2: it only gives the broadcasting packet to the processing of top service device end, does not do flood process;S3: the dhcp broadcast message that real-time detection server end returns, inquiry DHCP inquire list item, the message of return are sent only to application IP addresses client, does not do flood process.In the LAN side local area network of gateway Terminal Type equipment, broadcasting packet is reduced, avoids down hanging for from other places dynamic acquisition address, causes address administration chaotic.
Description
Technical field
The present invention relates to wired and wireless LAN management technique field more particularly to a kind of gateway terminal LAN side addresses
Dynamic allocation management method and managing device.
Background technique
Gateway terminal equipment is hung under as server-side for IP address is configured by DHCP protocol.The mistake of configuration address
Journey hangs standby by down as client and initiates a broadcasting packet, the equipment that broadcasting packet can be sent to entire local area network;Service
Client is responded after receiving message in end in a broadcast manner again, and address distribution is completed in interacting.In this process, extensively
Casting text can be sent to all devices, increase the danger of network burden and address allocation information exposure.
Summary of the invention
To solve the above-mentioned problems, the present invention proposes a kind of gateway terminal LAN side address dynamic allocation management method, including
Following steps:
S1: the Address requests dhcp broadcast message that real-time detection LAN side client is initiated, building energy unique identification go out the address
The DHCP of process is requested to inquire list item;
S2: it only gives the broadcasting packet to the processing of top service device end, does not do flood process;
S3: the dhcp broadcast message that real-time detection server end returns, inquiry DHCP inquire list item, the message of return are only sent out
It is sent to application IP addresses client, does not do flood process.
S4:DHCP inquiry list item life cycle expires, Delete query list item.
Further, the step S1 includes:
S11: in the message that two layers of bridge real-time detection client is initiated;
S12: judge whether it is dhcp broadcast message;
S13: if so, inquiry DHCP inquiry list item whether there is, if it does not exist, then dhcp broadcast message is extracted
Transation ID and packet reach port, and building DHCP inquires list item.
Further, the step S3 includes:
S31: the message that real-time detection server end is replied judges whether it is dhcp broadcast message;
S32: if so, comparing DHCP inquiry list item, the bridge joint port of forwarding is found out;
S33: returned packet is sent to application IP addresses client by the bridge joint port, does not do flood process.
A kind of gateway terminal LAN side address dynamic resource management device, inquiry table administrative unit and DHCP including DHCP
Message retransmission unit;The inquiry table administrative unit of the DHCP does life for constructing DHCP inquiry list item, and to inquiry list item
Cycle management;The DHCP message retransmission unit is used for when two layers of bridge receive DHCP message, and DHCP message is transmitted to upper layer
Server end does not do flood process;Or it when server-side replys message, E-Packets to client, does not do flood process.
Further, the inquiry table administrative unit of the DHCP includes that DHCP inquiry table establishes unit and the deletion of DHCP inquiry table
Unit, the DHCP inquiry table establish unit for extracting Transaction ID to DHCP message, and building DHCP inquires list item;
The DHCP inquiry table deletes unit and is used for the Delete query list item after inquiry list item life cycle reaches.
Further, the DHCP message retransmission unit includes receiving unit, judging unit and retransmission unit;The reception is single
The message that first real-time reception client server is sent, whether received message is DHCP report to judging unit for identification
Text, retransmission unit is used to for the message that client is sent being forwarded to top service device end, or server end is replied message forwarding
To client.
Further, the DHCP message retransmission unit further includes port selecting unit, for replying at forwarding server end
When message, the bridge joint port that list item finds initiation Address requests is inquired according to DHCP, the message that server end is sent passes through described
Bridge joint port is forwarded to client.
The beneficial effects of the present invention are: in the LAN side local area network of gateway Terminal Type equipment, dhcp broadcast message is carried out
Accurate management, reduces dhcp broadcast message;The dhcp broadcast message that client is come, is transmitted only to server-side;Server-side
The message of reply precisely sends back corresponding client, dhcp broadcast message in local area network without flooding, avoid because
When local area network exists simultaneously multiple Dynamic Host Configuration Protocol server, client takes address conflict to cause address administration chaotic, improves reliable
Property.
Detailed description of the invention
Fig. 1 is message forwarding process schematic diagram.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to make those skilled in the art more fully understand technical solution of the present invention
Applying example, the present invention is described in further detail.
As shown in Figure 1, gateway terminal LAN side proposed by the present invention address dynamic allocation management method the following steps are included:
S1: the Address requests dhcp broadcast message that real-time detection LAN side client is initiated, building energy unique identification go out the address
The DHCP of process is requested to inquire list item;
S2: it only gives the broadcasting packet to the processing of client top service device end, does not do flood process;
S3: the dhcp broadcast message that real-time detection server end returns, inquiry DHCP inquire list item, the message of return are only sent
To application IP addresses client, flood process is not done.
S4:DHCP inquiry list item life cycle expires, Delete query list item.
Further, the step S1 includes:
S11: in the message that two layers of bridge real-time detection client is initiated;
S12: judge whether it is dhcp broadcast message;
S13: if so, inquiry DHCP inquiry list item whether there is, if it does not exist, then dhcp broadcast message is extracted
Transation ID and packet reach port, and building DHCP inquires list item.
Further, the step S3 includes:
S31: the message that real-time detection server end is replied judges whether it is dhcp broadcast message;
S32: if so, comparing DHCP inquiry list item, the bridge joint port of forwarding is found out;
S33: returned packet is sent to application IP addresses client by the bridge joint port, does not do flood process.
Based on the above method, the present invention also proposes a kind of gateway terminal LAN side address dynamic resource management device, including
The inquiry table administrative unit and DHCP message retransmission unit of DHCP;The inquiry table administrative unit of the DHCP is looked into for constructing DHCP
List item is ask, and life cycle management is done to inquiry list item;The DHCP message retransmission unit is used to receive DHCP report in two layers of bridge
DHCP message is transmitted to top service device end, does not do flood process by Wen Shi;Or it when server-side replys message, E-Packets
To client, flood process is not done.
Further, the inquiry table administrative unit of the DHCP includes that DHCP inquiry table establishes unit and the deletion of DHCP inquiry table
Unit, the DHCP inquiry table establish unit for extracting Transaction ID to DHCP message, and building DHCP inquires list item;
The DHCP inquiry table deletes unit and is used for the Delete query list item after inquiry list item life cycle reaches.
Further, the DHCP message retransmission unit includes receiving unit, judging unit and retransmission unit;The reception is single
The message that first real-time reception client server is sent, whether received message is DHCP report to judging unit for identification
Text, retransmission unit is used to for the message that client is sent being forwarded to top service device end, or server end is replied message forwarding
To client.
Further, the DHCP message retransmission unit further includes port selecting unit, for replying at forwarding server end
When message, the bridge joint port that list item finds initiation Address requests is inquired according to DHCP, the message that server end is sent passes through described
Bridge joint port is forwarded to client.
After terminal operating, device synchronous operation, device detects the DHCP message of LAN side, if it is broadcasting packet, device
It is further processed.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, ROM, RAM etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (8)
1. a kind of gateway terminal LAN side address dynamic allocation management method, which comprises the following steps:
S1: the Address requests dhcp broadcast message that real-time detection LAN side client is initiated, building energy unique identification go out the address
The DHCP of process is requested to inquire list item;
S2: it only gives the broadcasting packet to the processing of top service device end, does not do flood process;
S3: the dhcp broadcast message that real-time detection server end returns, inquiry DHCP inquire list item, the message of return are only sent
To application IP addresses client, flood process is not done.
2. a kind of gateway terminal LAN side address according to claim 1 dynamic allocation management method, which is characterized in that also
Include:
S4:DHCP inquiry list item life cycle expires, Delete query list item.
3. a kind of gateway terminal LAN side address according to claim 1 dynamic allocation management method, which is characterized in that institute
Stating step S1 includes:
S11: in the message that two layers of bridge real-time detection client is initiated;
S12: judge whether it is dhcp broadcast message;
S13: if so, inquiry DHCP inquiry list item whether there is, if it does not exist, then dhcp broadcast message is extracted
Transation ID and packet reach port, and building DHCP inquires list item.
4. a kind of gateway terminal LAN side address according to claim 1 dynamic allocation management method, which is characterized in that institute
Stating step S3 includes:
S31: the message that real-time detection server end is replied judges whether it is dhcp broadcast message;
S32: if so, comparing DHCP inquiry list item, the bridge joint port of forwarding is found out;
S33: returned packet is sent to application IP addresses client by the bridge joint port, does not do flood process.
5. a kind of gateway terminal LAN side address dynamic resource management device, which is characterized in that the inquiry table including DHCP manages single
Member and DHCP message retransmission unit;The inquiry table administrative unit of the DHCP inquires list item for constructing DHCP, and to inquiry table
Item does life cycle management;The DHCP message retransmission unit is used for when two layers of bridge receive DHCP message, and DHCP message is turned
Top service device end is issued, flood process is not done;Or it when server end replys message, E-Packets to client, does not do general
Flood processing.
6. a kind of gateway terminal LAN side address according to claim 5 dynamic resource management device, which is characterized in that institute
The inquiry table administrative unit for stating DHCP includes that DHCP inquiry table establishes unit and DHCP inquiry table deletion unit, the DHCP inquiry
Table establishes unit for extracting Transaction ID to DHCP message, and building DHCP inquires list item;The DHCP inquiry table is deleted
Except unit is used for the Delete query list item after inquiry list item life cycle reaches.
7. a kind of gateway terminal LAN side address according to claim 5 dynamic resource management device, which is characterized in that institute
Stating DHCP message retransmission unit includes receiving unit, judging unit and retransmission unit;The receiving unit real-time reception client
Or the message that server end is sent, whether received message is DHCP message to judging unit for identification, and retransmission unit is used for will
The message that client is sent is forwarded to top service device end, or server end reply message is forwarded to client.
8. a kind of gateway terminal LAN side address according to claim 7 dynamic resource management device, which is characterized in that institute
Stating DHCP message retransmission unit further includes port selecting unit, for being looked into according to DHCP when message is replied at forwarding server end
It askes list item and finds the bridge joint port for initiating Address requests, the message that server end is sent is forwarded to client by the bridge joint port
End.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910600857.XA CN110351399A (en) | 2019-07-04 | 2019-07-04 | A kind of gateway terminal LAN side address dynamic allocation management method and managing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910600857.XA CN110351399A (en) | 2019-07-04 | 2019-07-04 | A kind of gateway terminal LAN side address dynamic allocation management method and managing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351399A true CN110351399A (en) | 2019-10-18 |
Family
ID=68178116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910600857.XA Pending CN110351399A (en) | 2019-07-04 | 2019-07-04 | A kind of gateway terminal LAN side address dynamic allocation management method and managing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351399A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726632A (en) * | 2021-07-31 | 2021-11-30 | 新华三信息安全技术有限公司 | Message forwarding method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1885763A (en) * | 2006-07-06 | 2006-12-27 | 华为技术有限公司 | Method for preventing IP address leakage |
CN1897595A (en) * | 2005-07-11 | 2007-01-17 | 华为技术有限公司 | Method for processing dynamic IP address by wireless access technology |
CN101442425A (en) * | 2007-11-22 | 2009-05-27 | 华为技术有限公司 | Gateway management method, address distribution method and apparatus, system |
CN101471966A (en) * | 2006-07-06 | 2009-07-01 | 华为技术有限公司 | Method for preventing IP address from leakage |
CN101741702A (en) * | 2008-11-25 | 2010-06-16 | 中兴通讯股份有限公司 | Method and device for limiting broadcast of ARP request |
CN102710811A (en) * | 2012-06-14 | 2012-10-03 | 杭州华三通信技术有限公司 | Method for realizing security assignment of DHCP (Dynamic Host Configuration Protocol) address and switch board |
CN102790722A (en) * | 2012-08-28 | 2012-11-21 | 北京傲天动联技术有限公司 | DHCP (dynamic host configuration protocol) message forwarding method and wireless access control equipment |
CN105337886A (en) * | 2015-11-02 | 2016-02-17 | 福建星网锐捷网络有限公司 | DHCP address allocation method and DHCP address allocation device |
CN105376346A (en) * | 2015-12-09 | 2016-03-02 | 北京艾科网信科技有限公司 | Method and system for improving safety of dynamic host configuration protocol (DHCP) |
-
2019
- 2019-07-04 CN CN201910600857.XA patent/CN110351399A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1897595A (en) * | 2005-07-11 | 2007-01-17 | 华为技术有限公司 | Method for processing dynamic IP address by wireless access technology |
CN1885763A (en) * | 2006-07-06 | 2006-12-27 | 华为技术有限公司 | Method for preventing IP address leakage |
CN101471966A (en) * | 2006-07-06 | 2009-07-01 | 华为技术有限公司 | Method for preventing IP address from leakage |
CN101442425A (en) * | 2007-11-22 | 2009-05-27 | 华为技术有限公司 | Gateway management method, address distribution method and apparatus, system |
CN101741702A (en) * | 2008-11-25 | 2010-06-16 | 中兴通讯股份有限公司 | Method and device for limiting broadcast of ARP request |
CN102710811A (en) * | 2012-06-14 | 2012-10-03 | 杭州华三通信技术有限公司 | Method for realizing security assignment of DHCP (Dynamic Host Configuration Protocol) address and switch board |
CN102790722A (en) * | 2012-08-28 | 2012-11-21 | 北京傲天动联技术有限公司 | DHCP (dynamic host configuration protocol) message forwarding method and wireless access control equipment |
CN105337886A (en) * | 2015-11-02 | 2016-02-17 | 福建星网锐捷网络有限公司 | DHCP address allocation method and DHCP address allocation device |
CN105376346A (en) * | 2015-12-09 | 2016-03-02 | 北京艾科网信科技有限公司 | Method and system for improving safety of dynamic host configuration protocol (DHCP) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726632A (en) * | 2021-07-31 | 2021-11-30 | 新华三信息安全技术有限公司 | Message forwarding method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101577722B (en) | Method for realizing MAC forced forwarding function and device | |
CN102685270B (en) | Method and equipment for distributing dynamic addresses | |
CN102271050B (en) | Method and system for automatically configuring network equipment in Internet protocol version 6 (IPv6) network, and network equipment | |
CN103096435B (en) | Connect keeping method, device and mobile terminal | |
US20080281973A1 (en) | Management Method, Device And System For Session Connection | |
CN107342925B (en) | Message transmission method and device | |
CN103929507A (en) | Method and device capable of achieving off-line DNS services | |
CN104601365B (en) | A kind of node device monitoring method and device | |
CN100442706C (en) | Method for making maintaining node labels to match with media visiting controlled addresses | |
CN109246762B (en) | Local service distribution method and device | |
JP7345645B2 (en) | A system that provides accurate communication delay guarantees for request responses to distributed services. | |
CN110493366A (en) | The method and device of network management is added in a kind of access point | |
CN102325202A (en) | Method and equipment for managing customer address table | |
CN107872423B (en) | Method, device and system for realizing CDN scheduling | |
CN107615723B (en) | Internet protocol address allocation method and relay equipment | |
CN103685584A (en) | Method and system of resisting domain name hijacking based on tunnelling | |
CN102801716B (en) | DHCP (Dynamic Host Configuration Protocol) anti-attacking method and device | |
CN102594839B (en) | Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards | |
CN104581977B (en) | WLAN user management method, apparatus and system | |
CN110351399A (en) | A kind of gateway terminal LAN side address dynamic allocation management method and managing device | |
CN100334855C (en) | Method to allocate protocol relay address table and server address pool for synchronization dynamic host machine | |
CN103414800B (en) | A kind of NAT passes through the distribution of middle distributed relay server and system of selection and system | |
CN109561004B (en) | Message forwarding method and device and switch | |
CN106412146B (en) | The method and apparatus that a kind of dhcp client updates IP | |
CN107707689A (en) | A kind of DHCP message processing method, Dynamic Host Configuration Protocol server and gateway device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |
|
RJ01 | Rejection of invention patent application after publication |