CN106534395A - Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism - Google Patents

Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism Download PDF

Info

Publication number
CN106534395A
CN106534395A CN201610977548.0A CN201610977548A CN106534395A CN 106534395 A CN106534395 A CN 106534395A CN 201610977548 A CN201610977548 A CN 201610977548A CN 106534395 A CN106534395 A CN 106534395A
Authority
CN
China
Prior art keywords
address
terminal
service
dhcp
mac address
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
CN201610977548.0A
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.)
XI'AN SKYLARK SOFTWARE Co Ltd
Original Assignee
XI'AN SKYLARK SOFTWARE 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 XI'AN SKYLARK SOFTWARE Co Ltd filed Critical XI'AN SKYLARK SOFTWARE Co Ltd
Priority to CN201610977548.0A priority Critical patent/CN106534395A/en
Publication of CN106534395A publication Critical patent/CN106534395A/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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A manual IP address setting method is troublesome in setting and complex in address change and has a certain network knowledge requirements for an address setting user. A DHCP automatic acquisition method is simple in setting, is very flexible to use, and has no requirement for technological level of the user; and however, through DHCP automatic address acquisition, IP address of a terminal changes with setting of an address lease period, and once a safety even occurs, it is hard to lock the MAC address using the IP when tracking back. The invention is to provide a novel DHCP service, which can carry out IP address issuing according to user-preset binding information of the IP address and the MAC address; the service can be configured to forbid providing IP address service for un-preset MAC address, or is configured to automatic issue an available smallest IP address in an action scope, and learn the issued IP address and carry out binding of the IP address and the MAC address, so that the device is allowed to use the address permanently; and therefore, convenience of the DHCP is realized, and safety requirements for binding of the IP address and the MAC address are met.

Description

It is a kind of to realize terminal MAC address with IP address locking using controlled DHCP mechanism Method
Technical field
The present invention relates to a kind of mode of IP address management, is that a kind of advantage for being arranged IP address manually is excellent with DHCP The method that point combines.
Background technology
The IP address of current each big business required and can be carried out with MAC Address corresponding, and keeps constant, when any peace of appearance During total event, to carry out fix duty.The currently used IP address management mode of 90% user is to arrange the side of static address manually Formula.Without two kinds of way to manages of non-usage, one kind is to arrange IP address manually for IP address management, and one kind is that DHCP obtains IP address. But both approaches have respective pluses and minuses.
IP address the method is set manually:Trouble is set, and change address is complicated, underaction, and to arranging the use of address There is certain network knowledge requirement at family.
DHCP obtains the method automatically:Arrange simple, use very flexibly, and to user's technical merit no requirement (NR), But, DHCP obtains address automatically, and the IP address of terminal can change with the setting of address lease, safe thing occurs Part, during backtracking, it is difficult to lock its MAC Address for using this IP.
The content of the invention
In order to solve above-mentioned problem, we specially have developed a kind of controlled DHCP service, and static state is set manually The advantage and the advantage of dynamic DHCP for determining IP address is combined, and reaches user and need not be concerned about the complexity for arranging IP manually Do not stop to change without scruple IP address, it is difficult to the problem called to account.
It is an object of the invention to provide a kind of new DHCP service, can according to user's IP address set in advance with The binding information of MAC Address, carries out issuing for IP address.Service may be configured as, and MAC Address not set in advance is forbidden providing IP address is serviced, or is set as issuing automatically the minimum IP address of available action scope, and is learnt to the IP address for issuing automatically, The binding of IP address and MAC is carried out, so that forever using the address after this equipment networks.The convenience of DHCP is realized, Also achieve the safety requirements bound with MAC Address by IP address.Realize that step is as follows:
Step1:After equipment access network, DHCP request bag is initiated;
Step2:After DHCP service receives DHCP request, the MAC Address for carrying out data base querying this equipment receives no in policy library Configured corresponding IP address;
Step3:If policy library has the corresponding IP address of this equipment MAC, this IP address is issued;If not there is this equipment MAC Corresponding IP address strategy, checks parameter setting, if provided as address service is not provided, does not then distribute IP address, such as sets For providing IP address service, then distribute untapped minimum IP address to this terminal, and record the MAC of this terminal in policy library Address and the IP address of distribution, form new binding strategy.
Through three steps above so as to realizing that IP address and MAC Address carry out the binding according to strategy under DHCP patterns Distribution.
Description of the drawings
Fig. 1 is the terminal networking logic chart of the present invention.
Fig. 2 is the terminal networking flow chart of the present invention.
Specific embodiment
In order that the creation characteristic of the present invention, technological means and reached purpose are readily apparent from understanding, below in conjunction with concrete reality Apply example and the present invention is expanded on further:
Embodiment:
1st, the DHCP service of the present invention is installed on the server;
2nd, as shown in Figure 1, Figure 2, terminal unit networks, and terminal initiates DHCP request S1;
3rd, service receives DHCP request S2;
4th, service carries out tactful library inquiry S3;
5th, judge whether the corresponding tactful S4 of this terminal MAC address;
6th, if it does, the corresponding IP address of this device mac address in policy library is handed down to this terminal S5;
7th, if it does not, query argument setting S6;
8th, judge parameter setting situation S7;
9th, such as parameter setting is for providing address service, then by minimum IP address issue terminal and preserve this device mac address with The corresponding relation S8 of this IP address for issuing, such as parameter setting are not then provided to above-mentioned terminal for not providing address service Address service.

Claims (6)

1. a kind of method for realizing the locking of terminal MAC address and IP address using controlled DHCP mechanism, it is characterised in that include Following steps:
Install independently developed DHCP service server receive terminal D HCP request, the terminal access Intranet when, meeting DHCP request bag is sent, server can receive the DHCP request bag of this terminal, the MAC Address comprising this terminal in request bag, The server can carry out the database retrieval of MAC Address and IP address corresponding relation, be sending for the terminal according to condition DHCP request bag in MAC Address, after the server retrieves the relative strategy of MAC Address and IP address, according to strategy IP address is pushed to the terminal;The server does not retrieve the relative strategy of MAC Address and IP address, in meeting inquiry system The parameter being correspondingly arranged, when parameter is set to provide address service, is then pushed to using available address minimum in action scope The terminal, and preserve this IP address of push and the relative strategy of the terminal MAC address;When next time, the terminal networked, And ensure that its IP address is constant, when such as parameter is set to not provide address service, then address service is not provided to above-mentioned terminal.
2. method according to claim 1, it is characterised in that DHCP service is not to issue address at random, is according to data The allocation strategy pre-set in storehouse enters row address and issues.
3. the method according to claim 1-2, it is characterised in that system is provided and is not provided with the right of above-mentioned terminal MAC address Parameter setting when should be tactful, may be set to:The 1st, address service be provided, 2, address service is not provided.
4. the method according to claim 1-3, it is characterised in that the parameter described in claim 3 is set to provide During address service, the terminal of unallocated IP address relative strategy, under learning its MAC Address simultaneously in first time IP address requesting Minimum available IP address in its action scope is sent out, this allocation strategy is recorded, for distribution later.
5. the method according to claim 1-4, it is characterised in that the parameter described in claim 3 is set to not carry During for address service, system does not provide address service to above-mentioned terminal, and above-mentioned terminal cannot network, available without IP address.
6. the method according to any one of claim 1-5, it is characterised in that the terminal can for desktop computer, notebook, The first-class terminal for possessing network function of work station, palm PC, mobile phone, the network printer, network shooting.
CN201610977548.0A 2016-11-08 2016-11-08 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism Withdrawn CN106534395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610977548.0A CN106534395A (en) 2016-11-08 2016-11-08 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610977548.0A CN106534395A (en) 2016-11-08 2016-11-08 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism

Publications (1)

Publication Number Publication Date
CN106534395A true CN106534395A (en) 2017-03-22

Family

ID=58350008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610977548.0A Withdrawn CN106534395A (en) 2016-11-08 2016-11-08 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism

Country Status (1)

Country Link
CN (1) CN106534395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019140958A1 (en) * 2018-01-22 2019-07-25 西安中兴新软件有限责任公司 Forwarding method and device, electronic device and storage medium
CN110798507A (en) * 2019-09-30 2020-02-14 互联网域名***北京市工程研究中心有限公司 Method and system for DHCP address allocation memory
CN112689031A (en) * 2021-01-08 2021-04-20 杭州雾联科技有限公司 IP address allocation method, device and medium
CN114866515A (en) * 2022-04-21 2022-08-05 重庆紫光华山智安科技有限公司 IP address configuration method, device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309305A (en) * 2008-07-07 2008-11-19 杭州华三通信技术有限公司 IP address allocating method and apparatus
CN104144092A (en) * 2013-12-03 2014-11-12 国家电网公司 Method for being automatically access to LAN terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309305A (en) * 2008-07-07 2008-11-19 杭州华三通信技术有限公司 IP address allocating method and apparatus
CN104144092A (en) * 2013-12-03 2014-11-12 国家电网公司 Method for being automatically access to LAN terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019140958A1 (en) * 2018-01-22 2019-07-25 西安中兴新软件有限责任公司 Forwarding method and device, electronic device and storage medium
CN110071983A (en) * 2018-01-22 2019-07-30 西安中兴新软件有限责任公司 A kind of retransmission method and device
CN110798507A (en) * 2019-09-30 2020-02-14 互联网域名***北京市工程研究中心有限公司 Method and system for DHCP address allocation memory
CN110798507B (en) * 2019-09-30 2022-05-03 互联网域名***北京市工程研究中心有限公司 Method and system for DHCP address allocation memory
CN112689031A (en) * 2021-01-08 2021-04-20 杭州雾联科技有限公司 IP address allocation method, device and medium
CN114866515A (en) * 2022-04-21 2022-08-05 重庆紫光华山智安科技有限公司 IP address configuration method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106534395A (en) Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism
CN101593260B (en) Method and system for applying privileges of management system
US10261556B2 (en) Supporting power management on power-over-Ethernet (PoE) enabled ports
WO2020142446A3 (en) Facilitating remote access
CN103441864A (en) Method for monitoring illegal external connection of terminal equipment
US8108699B2 (en) System and method for power over ethernet configuration for a power sourcing equipment using a network profile
WO2009026096A3 (en) System and method for enforcing network device provisioning policy
CN103546434A (en) Network access control method, device and system
WO2021194584A3 (en) Firearm authentication and tracking system
CN105635235A (en) Access control method and network node for access control
EP1976184A4 (en) A guaranteed quality of service (qos) method, resource management device and accessing system for multi-services
CN109005044A (en) Data transfer control method and relevant apparatus
CN110069210A (en) A kind of storage system, the distribution method of storage resource and device
CN102291239A (en) Remote authentication method, system, agent component and authentication servers
CN109088959A (en) A kind of address distribution method, apparatus and system
CN106604278B (en) Multi-authority mobile network sharing method
CN105743915A (en) Authority management method and device
CN103973874A (en) Device associating method and device
US10405132B2 (en) Precise and custom location based service discovery application for wired and wireless devices
CN111162926A (en) User demand-oriented equipment management method and device
CN110427759B (en) Network resource browsing control method and system supporting service security mark
CN105282819B (en) Access method of wireless device, gateway device and wireless network
CN104038558A (en) Method and system for controlling application networking
CN105391686A (en) Data access method and data access device
CN104639630B (en) A kind of end-to-end area data synchronous method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170322