CN110071983A - A kind of retransmission method and device - Google Patents

A kind of retransmission method and device Download PDF

Info

Publication number
CN110071983A
CN110071983A CN201810059352.2A CN201810059352A CN110071983A CN 110071983 A CN110071983 A CN 110071983A CN 201810059352 A CN201810059352 A CN 201810059352A CN 110071983 A CN110071983 A CN 110071983A
Authority
CN
China
Prior art keywords
address
host
mac address
forward rule
mac
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
Application number
CN201810059352.2A
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.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201810059352.2A priority Critical patent/CN110071983A/en
Priority to PCT/CN2018/109732 priority patent/WO2019140958A1/en
Publication of CN110071983A publication Critical patent/CN110071983A/en
Pending 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
    • 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]
    • 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
    • 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]

Landscapes

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

Abstract

The invention discloses a kind of retransmission methods, and forward rule is added on forwarding device, and the forward rule includes to have accessed the IP address of the host of the forwarding device;The described method includes: the IP address for unbound MAC Address in the forward rule binds the MAC Address of host corresponding to the IP address, and generate corresponding relationship;After the IP address for receiving host is requested, the MAC Address of institute's IP address requesting host is matched with the corresponding relationship;The IP address determined after successful match is assigned as the IP address requesting host in the IP address of the local area network.The invention also discloses a kind of forwarding device and computer readable storage mediums.

Description

A kind of retransmission method and device
Technical field
The present invention relates to computer technology more particularly to a kind of retransmission methods, equipment and computer readable storage medium.
Background technique
In the prior art, it proposes client in local area network in order to cope with forward rule failure and actively accesses outer net host, The port numbers oneself opened are informed that outer net host, customer headend equipment receive the access message of host in local area network in the access Dynamic addition port forward rule afterwards.Port is substantially used to trigger for this method rather than port forwards, although having evaded LAN The problem of side client ip address changes, but be that outer net host is disagreed with the initiator of port forwarding.Therefore, there is presently no Thoroughly solve the problems, such as that the variation of LAN side client ip address causes forward rule to fail.
Summary of the invention
In view of this, being protected an embodiment of the present invention is intended to provide a kind of retransmission method, device and computer readable storage medium It is all identical for having demonstrate,proved the IP address that the IP address of corresponding host in forward rule obtains every time, to make external host by turning The local area network host of intervention forwarding device is accessed in the port forward rule of hair equipment.
In order to achieve the above objectives, the embodiment of the invention provides retransmission methods, which comprises adds on forwarding device Add forward rule, the forward rule includes to have accessed the IP address of the host of the forwarding device;The described method includes:
The MAC of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule Location, and generate corresponding relationship;
After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and the corresponding relationship It is matched;
The IP address determined after successful match is assigned as the IP address requesting host in the IP of the local area network Location.
Wherein, above-mentioned that forward rule is added on forwarding device, comprising: to add on the Web UI by the forwarding device Add the forward rule, the forward rule includes at least: port forward rule, port mapping rule, isolated area DMZ rule.
Wherein, the above-mentioned IP address for unbound MAC Address in the forward rule is bound main corresponding to the IP address Before the MAC Address of machine, the method also includes:
Judge IP address in the forward rule whether binding MAC address;Not to the IP address of binding MAC address It processes;To the IP address of unbound MAC Address, the MAC Address of local area network host corresponding to the IP address is determined.
Wherein, the above-mentioned IP address to unbound MAC Address, determines the MAC Address of host corresponding to the IP address, Include:
According to address resolution protocol, the MAC Address of host corresponding to the IP address of the unbound MAC Address is determined;
If MAC Address can not be obtained, it is determined that host corresponding to the IP address does not access the forwarding device, The IP address is not handled.
Wherein, above-mentioned after the IP address for receiving interior host is requested, by the MAC Address of institute's IP address requesting host and institute It states after corresponding relationship matched, which comprises after it fails to match, then according to dynamic host configuration protocol, for institute State the host assignment IP address of IP address requesting.
Forwarding device provided in an embodiment of the present invention, described device include: adding unit, binding unit, matching unit, point With unit;Wherein,
Adding unit, for adding forward rule on forwarding device, the forward rule includes to have accessed described turn Send out the IP address of the host of equipment;
It is right to bind the IP address for the IP address for unbound MAC Address in the forward rule for binding unit The MAC Address of host is answered, and generates corresponding relationship;
Matching unit, for when receive host IP address request after, by the MAC Address of institute's IP address requesting host with The corresponding relationship is matched;
Allocation unit, for the IP address determined after successful match to be assigned as the IP address requesting host described The IP address of local area network.
Wherein, above-mentioned adding unit, for adding the forward rule, institute on the Web UI by the forwarding device It states forward rule to include at least: port forward rule, port mapping rule, isolated area DMZ rule.
Wherein, above-mentioned apparatus further includes judging unit, and whether the IP address for judging in the forward rule has bound MAC Address;The IP address of binding MAC address is not processed;To the IP address of unbound MAC Address, the IP is determined The MAC Address of local area network host corresponding to address.
Wherein, above-mentioned judging unit is used for, according to address resolution protocol, with determining the IP of the unbound MAC Address The MAC Address of host corresponding to location;If MAC Address can not be obtained, it is determined that host corresponding to the IP address does not connect Enter the forwarding device, the IP address is not handled.
Wherein, above-mentioned allocation unit, for being then the request according to dynamic host configuration protocol after it fails to match The host assignment IP address of IP address.
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment include: include: processor and for storing The memory for the computer program that can be run on a processor,
Wherein, the processor is for executing when running the computer program:
Forward rule is added on forwarding device, the forward rule includes to have accessed the host of the forwarding device IP address;The described method includes:
The MAC of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule Location, and generate corresponding relationship;
After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and the corresponding relationship It is matched;
The IP address determined after successful match is assigned as the IP address requesting host in the IP of the local area network Location.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer program, feature It is, realization when which is executed by processor:
Forward rule is added on forwarding device, the forward rule includes to have accessed the host of the forwarding device IP address;The described method includes:
The MAC of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule Location, and generate corresponding relationship;
After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and the corresponding relationship It is matched;
The IP address determined after successful match is assigned as the IP address requesting host in the IP of the local area network Location.
The invention discloses a kind of retransmission method, device and computer readable storage mediums, and addition turns on forwarding device Hair rule, the forward rule includes to have accessed the IP address of the host of the forwarding device;The described method includes: being described The IP address of unbound MAC Address binds the MAC Address of host corresponding to the IP address in forward rule, and generates corresponding pass System;After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and corresponding relationship progress Match;The IP address determined after successful match is assigned as the IP address requesting host in the IP address of the local area network.Such as This, ensure that IP address that the IP address of corresponding host in forward rule obtains every time be all it is identical, to make external host The local area network host of intervention forwarding device is accessed by the port forward rule of forwarding device.
Detailed description of the invention
Fig. 1 is the flow diagram that the present invention implements retransmission method;
Fig. 2 is forwarding device of embodiment of the present invention composed structure schematic diagram;
Fig. 3 a is the application environment schematic diagram of retransmission method of the embodiment of the present invention;
Fig. 3 b is the implementation process of retransmission method of the embodiment of the present invention in practical applications.
Specific embodiment
With reference to the accompanying drawing and specific embodiment is described in further detail the present invention again.
Fig. 1 is the flow diagram that the present invention implements retransmission method, as shown in Figure 1, retransmission method packet of the embodiment of the present invention Include following steps:
Step 101: binding host corresponding to the IP address for the IP address of unbound MAC Address in the forward rule MAC Address, and generate corresponding relationship;
In practical applications, before the step 101, further includes: add forward rule, the forwarding on forwarding device Rule includes to have accessed the IP address of the host of the forwarding device;Wherein, in the web application by the forwarding device The forward rule is added on program user interface (Web UI, Web User Interface), the forward rule is at least wrapped Include one of following rule: port forward rule, port mapping rule, isolated area (DMZ, Demilitarized Zone) rule Then.
In the step 101, IP address in the forward rule whether binding MAC address is judged;To binding MAC The IP address of address is not processed;To the IP address of unbound MAC Address, local area network host corresponding to the IP address is determined MAC Address;Wherein, if the IP address in rule did not carry out MAC-IP address binding, according to address resolution protocol Find the MAC Address of host corresponding to IP address;If MAC Address can not be obtained, illustrate the host not currently exist in In current local area network, MAC-IP address binding operations are not carried out to it at this time.
Step 102: when receive host IP address request after, by the MAC Address of institute's IP address requesting host with it is described Corresponding relationship is matched;
It in practical applications, can be corresponding by the MAC Address of the All hosts in the local area network by customer headend equipment In unique IP address, that is to say, that be one fixed IP address of each host assignment, when host is when requesting IP, directly to By the host assignment, corresponding IP address substantially makes the host not change IP address for outer net in advance, therefore, outside Host's machine can also access again the local area network host accessing by the IP address after user in the local area network.
Step 103: the IP address determined after successful match is assigned as the IP address requesting host in the local The IP address of net.
It wherein, is then the host assignment IP of the IP address requesting according to dynamic host configuration protocol after it fails to match Address.
Under the prior art, if host offline in local area network or the host newly accessed are in access to LAN, office The host that the gateway of domain net can be accessed to the offline host or newly redistributes an idle IP address, and causes Outer net host for having accessed host in local area network can not be accessed again in the local area network by the IP address of original access Host.Therefore, the retransmission method that the embodiment of the present invention is proposed effectively is solved by the method for binding MAC Address with IP address The problem of above-mentioned outer net host of having determined can not access local area network host.
In conclusion the embodiment of the present invention first passes through the IP address fixed for host assignment in local area network in advance.In this way, guaranteeing The IP address that the IP address of corresponding host obtains every time in forward rule is all identical, so that external host be made to pass through forwarding The local area network host of intervention forwarding device is accessed in the port forward rule of equipment.
Fig. 2 is forwarding device of embodiment of the present invention composed structure schematic diagram, as shown in Fig. 2, forwarding of the embodiment of the present invention is set Standby composition includes: adding unit 201, binding unit 202, matching unit 203, allocation unit 204;Wherein,
Adding unit 201, for adding forward rule, the forward rule includes to have accessed the master of the forwarding device The IP address of machine;
Binding unit 202, for binding the IP address institute for the IP address of unbound MAC Address in the forward rule The MAC Address of corresponding host, and generate corresponding relationship;
Matching unit 203, for when receive host IP address request after, by the MAC of institute's IP address requesting host Location is matched with the corresponding relationship;
Allocation unit 204 exists for the IP address determined after successful match to be assigned as the IP address requesting host The IP address of the local area network.
Wherein, above-mentioned adding unit 201, in the Web page application program user interface by the forwarding device The forward rule is added on WebUI, the forward rule includes at least: port forward rule, port mapping rule, isolated area DMZ rule.
Wherein, above-mentioned apparatus further includes judging unit 205, and whether the IP address for judging in the forward rule has tied up Determine MAC Address;The IP address of binding MAC address is not processed;To the IP address of unbound MAC Address, determine described The MAC Address of host corresponding to IP address.
Wherein, above-mentioned judging unit 205 is used for, and according to address resolution protocol, determines the IP of the unbound MAC Address The MAC Address of host corresponding to address;If MAC Address can not be obtained, it is determined that host corresponding to the IP address is not The forwarding device is accessed, the IP address is not handled.
Wherein, above-mentioned allocation unit 204, for after it fails to match, then according to dynamic host configuration protocol, being asked to be described Seek the host assignment IP address of IP address.
The embodiment of the invention provides a kind of electronic equipment, the electronic equipment include: include: processor and for storing The memory for the computer program that can be run on a processor,
Wherein, the processor is for executing when running the computer program:
Forward rule is added on forwarding device, the forward rule includes to have accessed the host of the forwarding device IP address;The described method includes:
The MAC of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule Location, and generate corresponding relationship;
After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and the corresponding relationship It is matched;
The IP address determined after successful match is assigned as the IP address requesting host in the IP of the local area network Location.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the calculating Realization when machine program is executed by processor:
Forward rule is added on forwarding device, the forward rule includes to have accessed the host of the forwarding device IP address;The described method includes:
The MAC of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule Location, and generate corresponding relationship;
After the IP address for receiving host is requested, by the MAC Address of institute's IP address requesting host and the corresponding relationship It is matched;
The IP address determined after successful match is assigned as the IP address requesting host in the IP of the local area network Location.
It should be noted that above-mentioned adding unit 201, binding unit 202, matching unit 203, allocation unit 204, judgement The function of module 205 is realized can be with specific reference to the associated description about retransmission method in the embodiment of the present invention one, and the present invention is real It applies in example and repeats no more.
Above-mentioned adding unit 201, binding unit 202, matching unit 203, allocation unit 204, judgment module 205 can be by Any kind of volatibility or non-volatile memory device or their combination are realized.Wherein, nonvolatile memory can To be read-only memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read- Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic RAM (FRAM, Ferromagnetic Random Access Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be magnetic disk storage or magnetic tape storage.Volatile memory It can be random access memory (RAM, Random Access Memory), be used as External Cache.By exemplary It but is not restricted explanation, the RAM of many forms is available, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random are deposited Access to memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate synchronous dynamic Random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus random access memory (DRRAM, Direct Rambus Random Access Memory).The unit of description of the embodiment of the present invention is intended to include but is not limited to these and any other suitable type Memory.
In practical applications, above-mentioned adding unit 201, binding unit 202, matching unit 203, allocation unit 204, judgement Module 205 can by be located at base station in central processing unit (CPU, Central Processing Unit), microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP, Digital Signal Processor) or scene can compile Journey gate array (FPGA, Field Programmable Gate Array) etc. is realized.
The retransmission method progress for, to proposition of the embodiment of the present invention by port forward rule in practice below It elaborates.
Fig. 3 a is the application environment schematic diagram of retransmission method of the embodiment of the present invention, and as shown in Figure 3a, the embodiment of the present invention turns The application environment of forwarding method includes: host 301a in local area network, customer headend equipment 302a, outer net host 303a;
In practical applications, customer headend equipment 302a is obtaining public network IP address 3.3.3.10, user after networking successfully Headend equipment 302a is that host 301a distributes private network IP address: 192.168.0.100 in domain is netted, in order to realize outer net host 303a It is host 301a in the local area network of 192.168.0.100 by address 61.135.10.10 access address, needs in user front end Port forward rule is added on equipment 302a, after host 301a is powered on every time in local area network, host 301a is obtained in local area network IP address may be different, therefore it is main in the local area network accessed under the accessible CPE302a of outer net host 303a in order to realize Machine 301, the retransmission method proposed through the embodiment of the present invention fix the IP address of host 301a in local area network are as follows: 192.168.0.100。
Fig. 3 b is the implementation process of retransmission method of the embodiment of the present invention in practical applications, as shown in figure 3, the present invention is implemented Three retransmission method of example specifically includes the following steps:
Step 301b: addition forward rule;
In practical applications, can be by adding forward rule on the WebUI page of customer headend equipment, addition turns Sending out rule includes: port forwarding, port mapping, DMZ etc..There is IP address information in the rule of addition, which is local area network The IP address of interior client host, after adding port forward rule, positioned at the host of outer net, such as: internet host, it can be with The corresponding host of the IP address is accessed by family headend equipment.
Step 302b: judge in forward rule IP address whether binding MAC address;If bound, terminate current process; As unbound, execution step 303b;
In practical applications, it adds after the forward rule of port to be somebody's turn to do the corresponding host of IP address in rule forever IP address needs to carry out it operation of binding of address MAC-IP, therefore, it is necessary first to judge the IP address in forward rule Whether MAC-IP address binding was carried out, if having done binding, relevant operation terminates, no to then follow the steps 303b;
Step 303b: request MAC Address;
In practical applications, it if the IP address in rule did not carry out MAC-IP address binding, is solved according to address Analysis agreement finds the MAC Address of host corresponding to IP address;If MAC Address can not be obtained, illustrate the host at present not It is present in current local area network, MAC-IP address binding operations is not carried out to it at this time.If can be with by address resolution protocol The MAC Address for finding IP address corresponding host, thens follow the steps 304b;
Step 304b: judge whether successfully to obtain MAC Address;Such as failure, terminate current process;Such as success, step is executed 305b;
Step 305b: MAC Address and IP address are bound;
In practical applications, the MAC Address of IP address corresponding host has been got by step 303, it therefore, can be by IP The pairing relationship of address and corresponding MAC Address composition MAC-IP, after can be used for for the pairing relationship of the MAC-IP of composition When continuing for host assignment IP address, for the specified IP address of MAC Address corresponding host distribution, to realize being host in local area network New IP address is distributed when interior re-accessing network.
Step 306b: the solicited message of host request distribution IP address is obtained;
Step 307b: judge that the IP address is matched with binding relationship;If mismatched, step 308 is executed;
If it matches, executing step 309b;
Step 308b: to the IP address of host assignment free time;
Step 309: giving host assignment corresponding IP address in binding relationship.
In practical applications, when the dynamic host configuration protocol for being set to customer headend equipment is receiving local area network client When the request for the application IP address that host is sent, check that the MAC Address of client host whether there is in the pairing pass of MAC-IP Among system, if it is present to the corresponding IP address of client distribution MAC Address;It is such as not present, is then assisted from dynamic host configuration A free time IP is distributed in the address pool of view gives existing customer end main frame.
As described above, a kind of retransmission method, device and computer-readable storage that the embodiment of the present invention proposes, set in forwarding Standby upper addition forward rule, the forward rule includes to have accessed the IP address of the host of the forwarding device;The method It include: the MAC Address that host corresponding to the IP address is bound for the IP address of MAC Address unbound in the forward rule, And generate corresponding relationship;When receive host IP address request after, by the MAC Address of institute's IP address requesting host with it is described right It should be related to and be matched;The IP address determined after successful match is assigned as the IP address requesting host in the local area network IP address.In this way, ensure that the IP address that the IP address of corresponding host in forward rule obtains every time is all identical, thus Make external host that the local area network host of intervention forwarding device be accessed by the port forward rule of forwarding device.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.

Claims (12)

1. a kind of retransmission method, which is characterized in that add forward rule on forwarding device, the forward rule includes to have connect Enter the IP address of the host of the forwarding device;The described method includes:
The MAC Address of host corresponding to the IP address is bound for the IP address of unbound MAC Address in the forward rule, and Generate corresponding relationship;
After the IP address for receiving host is requested, the MAC Address of institute's IP address requesting host and the corresponding relationship are carried out Matching;
The IP address determined after successful match is assigned as the IP address requesting host in the IP address of the local area network.
2. the method according to claim 1, wherein described add forward rule on forwarding device, comprising: By adding the forward rule on the Web page application program user interface WebUI of the forwarding device, the forward rule is extremely It less include one of following rule: port forward rule, port mapping rule, isolated area DMZ rule.
3. the method according to claim 1, wherein described for unbound MAC Address in the forward rule Before IP address binds the MAC Address of host corresponding to the IP address, the method also includes:
Judge IP address in the forward rule whether binding MAC address;The IP address of binding MAC address is not done and is located Reason;To the IP address of unbound MAC Address, the MAC Address of host corresponding to the IP address is determined.
4. according to the method described in claim 3, it is characterized in that, the IP address to unbound MAC Address, determines institute State the MAC Address of host corresponding to IP address, comprising:
According to address resolution protocol, the MAC Address of host corresponding to the IP address of the unbound MAC Address is determined;
If MAC Address can not be obtained, it is determined that host corresponding to the IP address does not access the forwarding device, not right The IP address is handled.
5. the method according to claim 1, wherein described after the IP address for receiving interior host is requested, general After the MAC Address of institute's IP address requesting host is matched with the corresponding relationship, which comprises when it fails to match It afterwards, then is the host assignment IP address of the IP address requesting according to dynamic host configuration protocol.
6. a kind of forwarding device, which is characterized in that described device includes: adding unit, binding unit, matching unit, distribution list Member;Wherein,
Adding unit, for adding forward rule on forwarding device, the forward rule includes to have accessed the forwarding to set The IP address of standby host;
Binding unit is bound main corresponding to the IP address for the IP address for unbound MAC Address in the forward rule The MAC Address of machine, and generate corresponding relationship;
Matching unit, for when receive host IP address request after, by the MAC Address of institute's IP address requesting host with it is described Corresponding relationship is matched;
Allocation unit, for the IP address determined after successful match to be assigned as the IP address requesting host in the local The IP address of net.
7. forwarding device according to claim 6, which is characterized in that the adding unit, for being set by the forwarding The forward rule is added on standby Web page application program user interface WebUI, the forward rule includes at least: port forwarding Rule, port mapping rule, isolated area DMZ rule.
8. forwarding device according to claim 6, which is characterized in that described device further includes judging unit, for judging State IP address in forward rule whether binding MAC address;The IP address of binding MAC address is not processed;To not tying up The IP address for determining MAC Address determines the MAC Address of host corresponding to the IP address.
9. forwarding device according to claim 8, which is characterized in that the judging unit is used for, according to address resolution protocol, Determine the MAC Address of host corresponding to the IP address of the unbound MAC Address;If MAC Address can not be obtained, it is determined that Host corresponding to the IP address does not access the forwarding device, does not handle the IP address.
10. forwarding device according to claim 6, which is characterized in that the allocation unit is used for after it fails to match, then It is the host assignment IP address of the IP address requesting according to dynamic host configuration protocol.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes: to include: processor and can locate for storing The memory of the computer program run on reason device,
Wherein, the processor is for when running the computer program, perform claim to require the step of 1 to 5 any the method Suddenly.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of claim 1 to 5 any the method is realized when processor executes.
CN201810059352.2A 2018-01-22 2018-01-22 A kind of retransmission method and device Pending CN110071983A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810059352.2A CN110071983A (en) 2018-01-22 2018-01-22 A kind of retransmission method and device
PCT/CN2018/109732 WO2019140958A1 (en) 2018-01-22 2018-10-10 Forwarding method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810059352.2A CN110071983A (en) 2018-01-22 2018-01-22 A kind of retransmission method and device

Publications (1)

Publication Number Publication Date
CN110071983A true CN110071983A (en) 2019-07-30

Family

ID=67301952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810059352.2A Pending CN110071983A (en) 2018-01-22 2018-01-22 A kind of retransmission method and device

Country Status (2)

Country Link
CN (1) CN110071983A (en)
WO (1) WO2019140958A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338496B (en) * 2020-10-12 2023-09-05 中移(苏州)软件技术有限公司 Resource forwarding method, device, terminal and computer storage medium
CN115550290A (en) * 2022-10-14 2022-12-30 浪潮思科网络科技有限公司 Method and equipment for realizing Zone isolation in storage area network

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883090A (en) * 2010-04-29 2010-11-10 北京星网锐捷网络技术有限公司 Client access method, equipment and system
CN102594882A (en) * 2012-02-08 2012-07-18 神州数码网络(北京)有限公司 Neighbor discovery proxy method and system based on Dynamic Host Configuration Protocol for Internet Protocol Version 6 (DHCPv6) monitoring
CN102694771A (en) * 2011-03-22 2012-09-26 上海艾泰科技有限公司 A method for binding IP-MAC to gateway DHCP server side and gateway DHCP server side
CN102970301A (en) * 2012-11-29 2013-03-13 无锡华御信息技术有限公司 Server and terminal admission control method and system based on dynamic host configuration protocol (DHCP)
CN103905582A (en) * 2014-03-18 2014-07-02 汉柏科技有限公司 Method and system for automatically detecting and binding IP/MAC
CN106231001A (en) * 2016-07-25 2016-12-14 浙江大华技术股份有限公司 A kind of method, apparatus and system carrying out IP address configuration
CN106534395A (en) * 2016-11-08 2017-03-22 西安云雀软件有限公司 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism
CN107241456A (en) * 2017-05-12 2017-10-10 北京星网锐捷网络技术有限公司 The method and server of a kind of terminal Access Control
CN107454198A (en) * 2016-05-31 2017-12-08 上海斐讯数据通信技术有限公司 IP address distribution method, data forwarding method and optical access device
US20180006969A1 (en) * 2016-06-29 2018-01-04 Cisco Technology, Inc. Technique for gleaning mac and ip address bindings

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6982953B1 (en) * 2000-07-11 2006-01-03 Scorpion Controls, Inc. Automatic determination of correct IP address for network-connected devices
KR101042860B1 (en) * 2009-11-23 2011-06-20 주식회사 잉카인터넷 tracing method of IP address of a routing node in virtual private network environment
CN102904977B (en) * 2012-10-24 2015-07-08 华为技术有限公司 Network address allocation method, server and node
CN103401706B (en) * 2013-07-26 2017-07-21 迈普通信技术股份有限公司 A kind of method and device for configuring port security

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883090A (en) * 2010-04-29 2010-11-10 北京星网锐捷网络技术有限公司 Client access method, equipment and system
CN102694771A (en) * 2011-03-22 2012-09-26 上海艾泰科技有限公司 A method for binding IP-MAC to gateway DHCP server side and gateway DHCP server side
CN102594882A (en) * 2012-02-08 2012-07-18 神州数码网络(北京)有限公司 Neighbor discovery proxy method and system based on Dynamic Host Configuration Protocol for Internet Protocol Version 6 (DHCPv6) monitoring
CN102970301A (en) * 2012-11-29 2013-03-13 无锡华御信息技术有限公司 Server and terminal admission control method and system based on dynamic host configuration protocol (DHCP)
CN103905582A (en) * 2014-03-18 2014-07-02 汉柏科技有限公司 Method and system for automatically detecting and binding IP/MAC
CN107454198A (en) * 2016-05-31 2017-12-08 上海斐讯数据通信技术有限公司 IP address distribution method, data forwarding method and optical access device
US20180006969A1 (en) * 2016-06-29 2018-01-04 Cisco Technology, Inc. Technique for gleaning mac and ip address bindings
CN106231001A (en) * 2016-07-25 2016-12-14 浙江大华技术股份有限公司 A kind of method, apparatus and system carrying out IP address configuration
CN106534395A (en) * 2016-11-08 2017-03-22 西安云雀软件有限公司 Method for realizing locking of terminal MAC address and IP address through controlled DHCP mechanism
CN107241456A (en) * 2017-05-12 2017-10-10 北京星网锐捷网络技术有限公司 The method and server of a kind of terminal Access Control

Also Published As

Publication number Publication date
WO2019140958A1 (en) 2019-07-25

Similar Documents

Publication Publication Date Title
CN110727499B (en) Method, device, computer equipment and storage medium for acquiring resource data
WO2021219104A1 (en) Hybrid cloud system, gatekeeper, network access method and storage medium
CN107077367A (en) Privately owned alias end points for isolating virtual network
WO2022247751A1 (en) Method, system and apparatus for remotely accessing application, device, and storage medium
CN106131066B (en) A kind of authentication method and device
CN111200633A (en) Indirect access method and system for business system
CN110071983A (en) A kind of retransmission method and device
CN107135242B (en) Mongodb cluster access method, device and system
CN104468619A (en) Method and gateway for achieving dual-stack web authentication
JP2012518947A (en) Service access using service address
CN114465791B (en) Method and device for establishing white list in network management equipment, storage medium and processor
CN113992642B (en) Flow auditing method, device and related equipment of gateway proxy server
US20090019523A1 (en) Controlling network communications
RU2517377C2 (en) Allotting of functional possibilities for client services by implementation and translocation
CN113194099B (en) Data proxy method and proxy server
CN109743357A (en) A kind of successional implementation method of business access and device
CN103155495B (en) For the method for Routing Protocol configuration, Apparatus and system
EP3602993B1 (en) Distributed scanning
CN105939316A (en) Message forwarding method and device
CN112040027B (en) Data processing method and device, electronic equipment and storage medium
CN112468384A (en) Communication method, device, switch, AP and AC
US20070130355A1 (en) System and Method for Determining a Preferred Mirrored Service in a Network by Evaluating a Border Gateway Protocol
CN111131538B (en) Access control method and access control system
CN117478596B (en) SDN traffic forwarding system, equipment and method
CN114614999B (en) Network access method, device, equipment and storage medium

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: 20190730

RJ01 Rejection of invention patent application after publication