WO2019140958A1 - 转发方法及设备、电子设备和存储介质 - Google Patents

转发方法及设备、电子设备和存储介质 Download PDF

Info

Publication number
WO2019140958A1
WO2019140958A1 PCT/CN2018/109732 CN2018109732W WO2019140958A1 WO 2019140958 A1 WO2019140958 A1 WO 2019140958A1 CN 2018109732 W CN2018109732 W CN 2018109732W WO 2019140958 A1 WO2019140958 A1 WO 2019140958A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
host
forwarding
mac address
mac
Prior art date
Application number
PCT/CN2018/109732
Other languages
English (en)
French (fr)
Inventor
高飞
Original Assignee
西安中兴新软件有限责任公司
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 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Publication of WO2019140958A1 publication Critical patent/WO2019140958A1/zh

Links

Images

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]

Definitions

  • the present invention relates to computer technology, and in particular, to a forwarding method, a forwarding device and an electronic device, and a computer readable storage medium.
  • a client host in a local area network (LAN) actively accesses the external host, and the client host informs the external host of the open port number during the access.
  • the port forwarding rule is dynamically added. This method essentially uses port triggering instead of port forwarding.
  • IP Internet Protocol Address
  • the embodiment of the present invention is to provide a forwarding method, a forwarding device, an electronic device, and a computer readable storage medium, which ensure that the IP addresses obtained by the IP addresses of the corresponding hosts in the forwarding rule are the same each time, thereby enabling The external host accesses the LAN host of the access forwarding device through the port forwarding rule of the forwarding device.
  • the embodiment of the present invention provides a forwarding method, where the method includes: adding a forwarding rule to the forwarding device, where the forwarding rule includes an IP address of a host that has accessed the forwarding device; the method includes:
  • Binding to the IP address of the host that is not bound to the media access control (MAC) address, the MAC address of the host corresponding to the IP address, and generating a correspondence relationship;
  • MAC media access control
  • the IP address determined after the matching is successfully assigned is the IP address of the local area network of the requesting IP address host.
  • the method of adding the forwarding rule to the forwarding device includes: adding the forwarding rule to the web UI of the forwarding device, where the forwarding rule includes at least: a port forwarding rule, a port mapping rule, and an LDZ rule.
  • the method further includes: before the IP address of the unbound MAC address in the forwarding rule is bound to the MAC address of the host corresponding to the IP address, the method further includes:
  • the IP address of the unbound MAC address is determined by the MAC address of the host corresponding to the IP address, including:
  • the MAC address cannot be obtained, it is determined that the host corresponding to the IP address does not access the forwarding device, and the IP address is not processed.
  • the method includes: after the matching fails, according to the dynamic host configuration protocol, The host requesting the IP address assigns an IP address.
  • An embodiment of the present invention provides a forwarding device, where the device includes: an adding unit, a binding unit, a matching unit, and an allocating unit;
  • Adding a unit configured to add a forwarding rule on the forwarding device, where the forwarding rule includes an IP address of a host that has accessed the forwarding device;
  • the binding unit is configured to bind the MAC address of the host corresponding to the IP address to the IP address of the unbound MAC address in the forwarding rule, and generate a correspondence relationship;
  • the matching unit is configured to: after receiving the IP address request of the host, match the MAC address of the requested IP address host with the corresponding relationship;
  • an allocating unit configured to allocate the IP address determined after the matching succeeds as the IP address of the requesting IP address host in the local area network.
  • the adding unit is configured to add the forwarding rule to a web user interface (Web UI) of the forwarding device, where the forwarding rule includes at least: a port forwarding rule, a port mapping rule, Quarantine Area (DMZ) rules.
  • Web UI web user interface
  • DMZ Quarantine Area
  • the device further includes a determining unit configured to determine whether the IP address in the forwarding rule is bound to a MAC address; the IP address of the bound MAC address is not processed; and the IP address of the unbound MAC address is The MAC address of the local area network host corresponding to the IP address is determined.
  • the determining unit is configured to determine, according to the address resolution protocol, a MAC address of the host corresponding to the IP address of the unbound MAC address; if the MAC address cannot be obtained, determine that the host corresponding to the IP address is not Accessing the forwarding device does not process the IP address.
  • the foregoing allocating unit is configured to allocate an IP address to the host that requests the IP address according to the dynamic host configuration protocol after the matching fails.
  • An embodiment of the present invention provides an electronic device, including: a processor and a memory for storing a computer program capable of running on a processor,
  • processor configured to execute when the computer program is executed:
  • the method includes:
  • Binding to the IP address of the unbound MAC address in the forwarding rule, the MAC address of the host corresponding to the IP address, and generating a correspondence relationship;
  • the IP address determined after the matching is successfully assigned is the IP address of the local area network of the requesting IP address host.
  • Embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program, wherein the computer program is implemented by a processor to:
  • the method includes:
  • Binding to the IP address of the unbound MAC address in the forwarding rule, the MAC address of the host corresponding to the IP address, and generating a correspondence relationship;
  • the IP address determined after the matching is successfully assigned is the IP address of the local area network of the requesting IP address host.
  • the embodiment of the present invention provides a forwarding method, a forwarding device, an electronic device, and a computer readable storage medium, and a forwarding rule is added to the forwarding device, where the forwarding rule includes an IP address of a host that has accessed the forwarding device.
  • the method includes: binding, to the IP address of the unbound MAC address in the forwarding rule, the MAC address of the host corresponding to the IP address, and generating a correspondence; when receiving the IP address request of the host, the request is performed.
  • the MAC address of the IP address host is matched with the corresponding relationship; the IP address determined after the matching is successfully assigned is the IP address of the host in the local area network. In this way, the IP address of the corresponding host in the forwarding rule is obtained by the same IP address, so that the external host can access the LAN host of the access forwarding device through the port forwarding rule of the forwarding device.
  • FIG. 1 is a schematic flowchart of a forwarding method implemented by the present invention
  • FIG. 2(a) is a first schematic diagram showing the structure of a forwarding device according to an embodiment of the present invention
  • FIG. 2(b) is a second schematic structural diagram of a forwarding device according to an embodiment of the present invention.
  • FIG. 3(a) is a schematic diagram of an application environment of a forwarding method according to an embodiment of the present invention.
  • FIG. 3(b) is a flowchart showing an implementation process of a forwarding method in an actual application according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a forwarding method according to an embodiment of the present invention. As shown in FIG. 1 , a forwarding method according to an embodiment of the present invention includes the following steps:
  • Step 101 Bind the MAC address of the host corresponding to the IP address to the IP address of the unbound MAC address in the forwarding rule, and generate a correspondence relationship.
  • the method further includes: adding a forwarding rule on the forwarding device, where the forwarding rule includes an IP address of a host that has accessed the forwarding device; wherein, in the forwarding device, The forwarding rule is added to the Web User Interface (Web UI), and the forwarding rule includes at least one of the following rules: a port forwarding rule, a port mapping rule, and a DMZ (Demilitarized Zone) rule. .
  • Web UI Web User Interface
  • DMZ Demilitarized Zone
  • the step 101 it is determined whether the IP address in the forwarding rule is bound to a MAC address; the IP address of the bound MAC address is not processed; and the IP address of the unbound MAC address is determined.
  • Step 102 After receiving the IP address request of the host, matching the MAC address of the requested IP address host with the corresponding relationship;
  • the user front-end device can correspond to the unique IP address of all the hosts in the local area network, that is, assign a fixed IP address to each host.
  • the host When the host requests IP, it directly The host is assigned a pre-corresponding IP address. It can be understood that each host is assigned a fixed IP address, and the host does not change the IP address for the external network, and the external network host can access the local area host again through the IP address after accessing the host in the local area network. .
  • Step 103 Assign the IP address determined after the matching is successful to the IP address of the host in the local area network of the requesting IP address.
  • the host that requests the IP address is assigned an IP address according to the dynamic host configuration protocol.
  • the gateway of the local area network re-allocates a free IP address to the offline host or the newly accessed host.
  • the external host that has accessed the host in the local area network cannot access the host in the local area network again through the original accessed IP address. Therefore, the forwarding method proposed by the embodiment of the present invention can effectively enable the external network host to access the local area network host again after accessing the host in the local area network by using the method of binding the MAC address and the IP address. The above external network host cannot access the LAN host again.
  • the embodiment of the present invention pre-allocates a fixed IP address to a host in a local area network. In this way, it is ensured that the IP addresses of the hosts obtained each time in the forwarding rule are the same, so that the external host accesses the LAN host of the access forwarding device through the port forwarding rule of the forwarding device.
  • the forwarding device component of the embodiment of the present invention includes: an adding unit 201, a binding unit 202, a matching unit 203, and an allocating unit 204. ;among them,
  • the adding unit 201 is configured to add a forwarding rule, where the forwarding rule includes an IP address of a host that has accessed the forwarding device.
  • the binding unit 202 is configured to bind the MAC address of the host corresponding to the IP address to the IP address of the unbound MAC address in the forwarding rule, and generate a correspondence relationship;
  • the matching unit 203 is configured to: after receiving the IP address request of the host, match the MAC address of the requested IP address host with the corresponding relationship;
  • the allocating unit 204 is configured to allocate the IP address determined after the matching is successful as the IP address of the requesting IP address host in the local area network.
  • the adding unit 201 is configured to add the forwarding rule on a webpage application user interface web UI of the forwarding device, where the forwarding rule includes at least: a port forwarding rule, a port mapping rule, and a demilitarized zone (DMZ). rule.
  • the forwarding rule includes at least: a port forwarding rule, a port mapping rule, and a demilitarized zone (DMZ). rule.
  • DMZ demilitarized zone
  • the device further includes a determining unit 205, configured to determine whether the IP address in the forwarding rule is bound to a MAC address, and not to process the IP address of the bound MAC address; Bind the IP address of the MAC address to determine the MAC address of the host corresponding to the IP address.
  • a determining unit 205 configured to determine whether the IP address in the forwarding rule is bound to a MAC address, and not to process the IP address of the bound MAC address; Bind the IP address of the MAC address to determine the MAC address of the host corresponding to the IP address.
  • the determining unit 205 is configured to determine, according to the address resolution protocol, the MAC address of the host corresponding to the IP address of the unbound MAC address; if the MAC address cannot be obtained, determine the host corresponding to the IP address.
  • the forwarding device is not accessed, and the IP address is not processed.
  • the foregoing allocating unit 204 is configured to allocate an IP address to the host that requests the IP address according to the dynamic host configuration protocol after the matching fails.
  • An embodiment of the present invention provides an electronic device, including: a processor and a memory for storing a computer program capable of running on a processor,
  • processor configured to execute when the computer program is executed:
  • the method includes:
  • Binding to the IP address of the unbound MAC address in the forwarding rule, the MAC address of the host corresponding to the IP address, and generating a correspondence relationship;
  • the IP address determined after the matching is successfully assigned is the IP address of the LAN of the requesting IP address host.
  • Embodiments of the present invention provide a computer readable storage medium having stored thereon a computer program, which is implemented by a processor to:
  • the method includes:
  • Binding to the IP address of the unbound MAC address in the forwarding rule, the MAC address of the host corresponding to the IP address, and generating a correspondence relationship;
  • the IP address determined after the matching is successfully assigned is the IP address of the local area network of the requesting IP address host.
  • the function of the foregoing adding unit 201, the binding unit 202, the matching unit 203, the allocating unit 204, and the determining unit 205 may be specifically referred to the related description of the forwarding method in the first embodiment of the present invention. I won't go into details here.
  • the above-described adding unit 201, binding unit 202, matching unit 203, allocating unit 204, and determining unit 205 can be realized by any type of volatile or nonvolatile storage device, or a combination thereof.
  • the non-volatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), or an Erasable Programmable Read (EPROM). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory , CD-ROM, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a disk storage or a tape storage.
  • the volatile memory can be a random access memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • SSRAM Dynamic Random Access
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhancement Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Dynamic Random Access Memory
  • DRRAM Direct Memory Bus Random Access Memory
  • the adding unit 201, the binding unit 202, the matching unit 203, the allocating unit 204, and the determining unit 205 may be a central processing unit (CPU), a microprocessor (MPU, Micro Processor Unit), and a digital unit. Implemented by a signal processor (DSP, Digital Signal Processor) or a Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • MPU Microprocessor
  • FPGA Field Programmable Gate Array
  • FIG. 3(a) is a schematic diagram of an application environment of a forwarding method according to an embodiment of the present invention.
  • an application environment of a forwarding method according to an embodiment of the present invention includes: a host 301a in a local area network, a user front end device 302a, and an external network host. 303a;
  • the user front-end device 302a obtains the public network IP address 3.3.3.10, and the user front-end device 302a assigns the private network IP address to the host 301a in the local area network: 192.168.0.100, in order to realize the external network host 303a passing the address 61.135. 10.10.10
  • the host 301a in the LAN with the access address of 192.168.0.100 needs to add a port forwarding rule to the user front end device 302a.
  • the IP address obtained by the host 301a in the local area network may be different.
  • the IP address of the host 301a in the local area network is fixed to 192.168.0.100 by the forwarding method proposed by the embodiment of the present invention.
  • FIG. 3(b) is a flowchart of the implementation of the forwarding method in the actual application according to the embodiment of the present invention. As shown in FIG. 3, the forwarding method in the third embodiment of the present invention specifically includes the following steps:
  • Step 301b Add a forwarding rule.
  • the added forwarding rules include port forwarding, port mapping, and DMZ.
  • the added rule has the IP address information.
  • the IP address is the IP address of the client host in the LAN.
  • the host on the external network for example, the internet host, can access the IP address corresponding to the front end device. Host.
  • Step 302b Determine whether the IP address in the forwarding rule is bound to the MAC address; if it is bound, the current process is ended; if not, step 303b is performed;
  • Step 303b request a MAC address
  • the MAC address of the host corresponding to the IP address is found according to the address resolution protocol; if the MAC address cannot be obtained, the host does not currently exist. In the current local area network, the MAC-IP address binding operation is not performed at this time. If the IP address corresponding host MAC address can be found through the address resolution protocol, step 304b is performed;
  • Step 304b determining whether the MAC address is successfully obtained; if it fails, ending the current process; if successful, performing step 305b;
  • Step 305b Bind the MAC address to the IP address.
  • the MAC address of the host corresponding to the IP address is obtained in step 303. Therefore, the MAC address and the corresponding MAC address can be combined into a MAC-IP relationship, and the paired relationship of the formed MAC-IP can be used for subsequent
  • a specified IP address is assigned to the host corresponding to the MAC address, so that a new IP address is not allocated when the host reconnects to the network in the local area network.
  • Step 306b Acquire request information that the host requests to allocate an IP address.
  • Step 307b determining that the IP address matches the binding relationship
  • step 308 is performed
  • Step 308b assign the host an idle IP address
  • Step 309 Assign the host the corresponding IP address in the binding relationship.
  • the dynamic host configuration protocol set on the user front-end device when the dynamic host configuration protocol set on the user front-end device receives the request for the IP address sent by the local area network host, it checks whether the MAC address of the host exists in the MAC-IP pairing relationship, if present The IP address corresponding to the MAC address is assigned to the client; if not, an idle IP is allocated from the address pool of the dynamic host configuration protocol to the current client host.
  • a forwarding method, a device, an electronic device, and a computer readable storage add a forwarding rule on a forwarding device, where the forwarding rule includes an IP of a host that has accessed the forwarding device.
  • the method includes: binding the MAC address of the host corresponding to the IP address to the IP address of the unbound MAC address in the forwarding rule, and generating a correspondence; when receiving the IP address request of the host, The MAC address of the requested IP address host is matched with the corresponding relationship; the IP address determined after the matching succeeds is allocated as the IP address of the requesting IP address host in the local area network. In this way, the IP address of the corresponding host in the forwarding rule is obtained by the same IP address, so that the external host accesses the LAN host of the access forwarding device through the port forwarding rule of the forwarding device.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the method for binding the MAC address and the IP address enables the external network host to access the local area network host again after accessing the host in the local area network, thereby effectively solving the problem that the external network host cannot be used. The problem of accessing the LAN host again.

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

本发明实施例公开了一种转发方法,在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。本发明实施例还公开了一种转发设备及电子设备、计算机可读存储介质。

Description

转发方法及设备、电子设备和存储介质
相关申请的交叉引用
本申请基于申请号为201810059352.2、申请日为2018年01月22日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的内容在此以引入方式并入本申请。
技术领域
本发明涉及计算机技术,尤其涉及一种转发方法、转发设备和电子设备、计算机可读存储介质。
背景技术
现有技术中,为了应对转发规则失效提出了局域网(Local Area Network,LAN)内客户端主机(局域网主机)主动访问外网主机,在访问中客户端主机将自己开放的端口号告知外网主机,用户前端设备收到局域网内主机的访问报文后动态添加端口转发规则。该方法实质上使用的是端口触发而非端口转发,虽然规避了LAN侧客户端网际协议(IP,Internet Protocol Address)地址变化的问题,但与端口转发的发起方应该为外网主机的原则相违背。因此,目前还没有彻底解决LAN侧客户端IP地址变化导致转发规则失效的问题。
发明内容
有鉴于此,本发明实施例期望提供一种转发方法、转发设备和电子设备、计算机可读存储介质,保证了转发规则内对应主机的IP地址每次获得的IP地址都是相同的,从而能够使外部主机通过转发设备的端口转发规则 访问到接入转发设备的局域网主机。
本发明实施例提供了一种转发方法,所述方法包括:在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:
为所述转发规则内未绑定媒体访问控制(MAC,Media Access Control)地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
其中,上述在转发设备上添加转发规则,包括:在通过所述转发设备的Web UI上添加所述转发规则,所述转发规则至少包括:端口转发规则、端口映射规则、隔离区DMZ规则。
其中,上述为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址之前,所述方法还包括:
判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地址,确定出所述IP地址所对应局域网主机的MAC地址。
其中,上述对未绑定MAC地址的IP地址,确定出所述IP地址所对应主机的MAC地址,包括:
根据地址解析协议,确定出所述未绑定MAC地址的IP地址所对应主机的MAC地址;
如果无法获得MAC地址,则确定所述IP地址所对应的主机并未接入所述转发设备,不对所述IP地址进行处理。
其中,上述当接收到内主机的IP地址请求后,将所请求IP地址主机的 MAC地址与所述对应关系进行匹配之后,所述方法包括:当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配IP地址。
本发明实施例提供了一种转发设备,所述设备包括:添加单元,绑定单元,匹配单元,分配单元;其中,
添加单元,配置为在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;
绑定单元,配置为为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
匹配单元,配置为当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
分配单元,配置为将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
其中,上述添加单元,配置为在通过所述转发设备的网页应用程序用户界面(Web UI,Web User Interface)上添加所述转发规则,所述转发规则至少包括:端口转发规则、端口映射规则、隔离区(DMZ)规则。
其中,上述设备还包括判断单元,配置为判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地址,确定出所述IP地址所对应局域网主机的MAC地址。
其中,上述判断单元配置为,根据地址解析协议,确定出所述未绑定MAC地址的IP地址所对应主机的MAC地址;如果无法获得MAC地址,则确定所述IP地址所对应的主机并未接入所述转发设备,不对所述IP地址进行处理。
其中,上述分配单元,配置为当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配IP地址。
本发明实施例提供了一种电子设备,所述电子设备包括:包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
其中,所述处理器用于运行所述计算机程序时,执行:
在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:
为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现:
在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:
为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
本发明实施例提供了一种转发方法、转发设备及电子设备、计算机可读存储介质,在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对 应关系;当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。如此,保证了转发规则内对应主机的IP地址每次获得的IP地址都是相同的,从而能够使外部主机通过转发设备的端口转发规则访问到接入转发设备的局域网主机。
附图说明
图1为本发明实施转发方法的流程示意图;
图2(a)为本发明实施例转发设备组成结构示意图一;
图2(b)为本发明实施例转发设备组成结构示意图二;
图3(a)为本发明实施例转发方法的应用环境示意图;
图3(b)为本发明实施例转发方法在实际应用中的实现流程。
具体实施方式
下面结合附图及具体实施例对本发明再作进一步详细说明。
图1为本发明实施转发方法的流程示意图,如图1所示,本发明实施例转发方法包括以下步骤:
步骤101:为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
在实际应用中,所述步骤101之前,还包括:在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;其中,在通过所述转发设备的网页应用程序用户界面(Web UI,Web User Interface)上添加所述转发规则,所述转发规则至少包括以下规则中的一种:端口转发规则、端口映射规则、隔离区(DMZ,Demilitarized Zone)规则。
所述步骤101中,判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地 址,确定出所述IP地址所对应局域网主机的MAC地址。其中,如果转发规则中的IP地址没有进行过MAC-IP地址绑定,则根据地址解析协议找到IP地址所对应主机的MAC地址;如果无法获得MAC地址,则说明该主机目前并不存在于当前局域网中,此时不对其进行MAC-IP地址绑定操作。
步骤102:当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
在实际应用中,用户前端设备可以将该局域网内的所有主机的MAC地址均对应于唯一的IP地址,也就是说为每个主机分配一个固定的IP地址,当主机在请求IP时,直接向将该主机分配预先对应的IP地址。可以理解,为每个主机分配一个固定的IP地址,对于该主机来说其对于外网没有改变IP地址,外网主机在访问过该局域网内主机之后还可以通过该IP地址再次访问该局域网主机。
步骤103:将匹配成功后确定出的IP地址分配为所述请求IP地址的主机在局域网的IP地址。
其中,当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配IP地址。
在现有技术中,如果局域网内已离线的主机或新接入的主机在接入局域网时,局域网的网关会向所述已离线的主机或新接入的主机重新分配一个空闲的IP地址,而造成了对于已访问过局域网内主机的外网主机无法通过原访问的IP地址再次访问该局域网内的主机。因此,本发明实施例所提出的转发方法通过将MAC地址与IP地址绑定的方法使得外网主机在访问过该局域网内主机之后还可以通过该IP地址再次访问该局域网主机,有效的解决了上述外网主机无法再次访问局域网主机的问题。
综上所述,本发明实施例预先通过为局域网内主机分配固定的IP地址。如此,保证了转发规则内每次获得的主机的IP地址都是相同的,从而使外 部主机通过转发设备的端口转发规则访问到接入转发设备的局域网主机。
图2(a)为本发明实施例转发设备组成结构示意图,如图2(a)所示,本发明实施例转发设备组成包括:添加单元201,绑定单元202,匹配单元203,分配单元204;其中,
添加单元201,配置为添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;
绑定单元202,配置为为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
匹配单元203,配置为当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
分配单元204,配置为将匹配成功后确定出的IP地址分配为所述请求IP地址主机在局域网的IP地址。
其中,上述添加单元201,配置为在通过所述转发设备的网页应用程序用户界面Web UI上添加所述转发规则,所述转发规则至少包括:端口转发规则、端口映射规则、隔离区(DMZ)规则。
如图2(b)所示,上述设备还包括判断单元205,配置为判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地址,确定出所述IP地址所对应主机的MAC地址。
其中,上述判断单元205配置为,根据地址解析协议,确定出所述未绑定MAC地址的IP地址所对应主机的MAC地址;如果无法获得MAC地址,则确定所述IP地址所对应的主机并未接入所述转发设备,不对所述IP地址进行处理。
其中,上述分配单元204,配置为当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配IP地址。
本发明实施例提供了一种电子设备,所述电子设备包括:包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
其中,所述处理器用于运行所述计算机程序时,执行:
在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:
为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
将匹配成功后确定出的IP地址分配为所述请求IP地址主机在局域网的IP地址。
本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现:
在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:
为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
需要说明的是,上述添加单元201,绑定单元202,匹配单元203,分配单元204、判断单元205的功能实现可具体参考本发明实施例一中的关于转发方法的相关描述,本发明实施例中不再赘述。
上述添加单元201,绑定单元202,匹配单元203,分配单元204、判 断单元205可以由任何类型的易失性或非易失性存储设备、或者它们的组合来实现。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,Ferromagnetic Random Access Memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的单元旨在包括但不限于这些和任意其它适合类型的存储器。
在实际应用中,上述添加单元201,绑定单元202,匹配单元203,分配单元204、判断单元205可由中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal  Processor)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等实现。
下面以端口转发规则在实际中的应用为例,对本发明实施例提出的转发方法进行详细阐述。
图3(a)为本发明实施例转发方法的应用环境示意图,如图3(a)所示,本发明实施例转发方法的应用环境包括:局域网内主机301a,用户前端设备302a,外网主机303a;
在实际应用中,联网成功后用户前端设备302a在获得公网IP地址3.3.3.10,用户前端设备302a为局域网内主机301a分配私网IP地址:192.168.0.100,为了实现外网主机303a通过地址61.135.10.10访问地址为192.168.0.100的局域网内主机301a,需要在用户前端设备302a上添加端口转发规则,在局域网内主机301a每次上电后,局域网内主机301a获得的IP地址可能会不同,因此为了实现外网主机303a可以访问用户前端设备(CPE)302a下接入的局域网内主机301a,通过本发明实施例所提出的转发方法,将局域网内主机301a的IP地址固定为:192.168.0.100。
图3(b)为本发明实施例转发方法在实际应用中的实现流程,如图3所示,本发明实施例三转发方法具体包括以下步骤:
步骤301b:添加转发规则;
在实际应用中,可以通过在用户前端设备的Web UI页面上添加转发规则,添加的转发规则包括:端口转发、端口映射、DMZ等。添加的规则中有IP地址信息,该IP地址是局域网内客户端主机的IP地址,添加端口转发规则后,位于外网的主机,例如:internet主机,可以通过户前端设备访问该IP地址对应的主机。
步骤302b:判断转发规则内IP地址是否已绑定MAC地址;如已绑定,结束当前流程;如未绑定,执行步骤303b;
在实际应用中,添加端口转发规则后为了使规则中IP地址对应的主机永远获得该IP地址,需要对其进行MAC-IP地址的绑定的操作,因此,首先需要判断转发规则中的IP地址是否进行过MAC-IP地址绑定,如果已经做过绑定,则相关操作结束,否则执行步骤303b;
步骤303b:请求MAC地址;
在实际应用中,如果规则中的IP地址没有进行过MAC-IP地址绑定,则根据地址解析协议找到IP地址所对应主机的MAC地址;如果无法获得MAC地址,则说明该主机目前并不存在于当前局域网中,此时不对其进行MAC-IP地址绑定操作。如果通过地址解析协议可以找到IP地址对应主机的MAC地址,则执行步骤304b;
步骤304b:判断是否成功获取MAC地址;如失败,结束当前流程;如成功,执行步骤305b;
步骤305b:将MAC地址与IP地址绑定;
在实际应用中,通过步骤303获取到了IP地址对应主机的MAC地址,因此,可以将IP地址与对应的MAC地址组成MAC-IP的配对关系,对于组成的MAC-IP的配对关系可以用于后续为主机分配IP地址时,为MAC地址对应主机分配指定的IP地址,以实现不为主机在局域网内重新接入网络时分配新的IP地址。
步骤306b:获取主机请求分配IP地址的请求信息;
步骤307b:判断该IP地址与绑定关系进行匹配;
如不匹配,执行步骤308;
如匹配,执行步骤309b;
步骤308b:给主机分配空闲的IP地址;
步骤309:给主机分配在绑定关系中对应的IP地址。
在实际应用中,当设置于用户前端设备的动态主机配置协议在收到局 域网主机发来的申请IP地址的请求时,检查主机的MAC地址是否存在于MAC-IP的配对关系之中,如果存在,则向客户端分配MAC地址对应的IP地址;如不存在,则从动态主机配置协议的地址池中分配一个空闲IP给当前客户端主机。
如上所述,本发明实施例提出的一种转发方法、设备及电子设备和计算机可读存储,在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;所述方法包括:为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。如此,保证了转发规则内对应主机的IP地址每次获得的IP地址都是相同的,从而使外部主机通过转发设备的端口转发规则访问到接入转发设备的局域网主机。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功 能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例中,通过将MAC地址与IP地址绑定的方法使得外网主机在访问过该局域网内主机之后还可以通过该IP地址再次访问该局域网主机,有效的解决了上述外网主机无法再次访问局域网主机的问题。

Claims (12)

  1. 一种转发方法,在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的网际协议IP地址;所述方法包括:
    为所述转发规则内未绑定媒体访问控制MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
    当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
    将匹配成功后确定出的IP地址分配为所述请求IP地址主机在局域网的IP地址。
  2. 根据权利要求1所述的方法,其中,所述在转发设备上添加转发规则,包括:在通过所述转发设备的网页应用程序用户界面Web UI上添加所述转发规则,所述转发规则至少包括以下规则中的一种:端口转发规则、端口映射规则、隔离区DMZ规则。
  3. 根据权利要求1所述的方法,其中,所述为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址之前,所述方法还包括:
    判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地址,确定出所述IP地址所对应主机的MAC地址。
  4. 根据权利要求3所述的方法,其中,所述对未绑定MAC地址的IP地址,确定出所述IP地址所对应主机的MAC地址,包括:
    根据地址解析协议,确定出所述未绑定MAC地址的IP地址所对应主机的MAC地址;
    如果无法获得MAC地址,则确定所述IP地址所对应的主机并未接入所述转发设备,不对所述IP地址进行处理。
  5. 根据权利要求1所述的方法,其中,所述当接收到内主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配之后,所述方法包括:当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配空闲的IP地址。
  6. 一种转发设备,所述设备包括:添加单元,绑定单元,匹配单元,分配单元;其中,
    添加单元,配置为在转发设备上添加转发规则,所述转发规则包含有已接入所述转发设备的主机的IP地址;
    绑定单元,配置为为所述转发规则内未绑定MAC地址的IP地址绑定所述IP地址所对应主机的MAC地址,并生成对应关系;
    匹配单元,配置为当接收到主机的IP地址请求后,将所请求IP地址主机的MAC地址与所述对应关系进行匹配;
    分配单元,配置为将匹配成功后确定出的IP地址分配为所述请求IP地址主机在所述局域网的IP地址。
  7. 根据权利要求6所述转发设备,其中,所述添加单元,配置为在通过所述转发设备的网页应用程序用户界面Web UI上添加所述转发规则,所述转发规则至少包括:端口转发规则、端口映射规则、隔离区DMZ规则。
  8. 根据权利要求6所述转发设备,其中,所述设备还包括判断单元,配置为判断所述转发规则内的IP地址是否已绑定MAC地址;对已绑定MAC地址的IP地址不做处理;对未绑定MAC地址的IP地址,确定出所述IP地址所对应主机的MAC地址。
  9. 根据权利要求8所述转发设备,其中,所述判断单元配置为,根据地址解析协议,确定出所述未绑定MAC地址的IP地址所对应主机的MAC地址;如果无法获得MAC地址,则确定所述IP地址所对应的主机并未接入所述转发设备,不对所述IP地址进行处理。
  10. 根据权利要求6所述转发设备,所述分配单元,配置为当匹配失败后,则根据动态主机配置协议,为所述请求IP地址的主机分配IP地址。
  11. 一种电子设备,所述电子设备包括:包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
    其中,所述处理器用于运行所述计算机程序时,执行权利要求1至5任一所述方法的步骤。
  12. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1至5任一所述方法的步骤。
PCT/CN2018/109732 2018-01-22 2018-10-10 转发方法及设备、电子设备和存储介质 WO2019140958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810059352.2 2018-01-22
CN201810059352.2A CN110071983A (zh) 2018-01-22 2018-01-22 一种转发方法及装置

Publications (1)

Publication Number Publication Date
WO2019140958A1 true WO2019140958A1 (zh) 2019-07-25

Family

ID=67301952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109732 WO2019140958A1 (zh) 2018-01-22 2018-10-10 转发方法及设备、电子设备和存储介质

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338496A (zh) * 2020-10-12 2022-04-12 中移(苏州)软件技术有限公司 一种资源转发方法、装置、终端和计算机存储介质
CN115550290A (zh) * 2022-10-14 2022-12-30 浪潮思科网络科技有限公司 一种在存储区域网络中实现Zone隔离的方法及设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031488A1 (en) * 2000-07-11 2006-02-09 Scorpion Controls, Inc. Automatic determination of correct IP address for network-connected devices
US20120290719A1 (en) * 2009-11-23 2012-11-15 Inca Internet Co., Ltd. Method for searching ip address of routing node in virtual private network environment
CN102904977A (zh) * 2012-10-24 2013-01-30 华为技术有限公司 网络地址分配方法、服务器和节点
CN103401706A (zh) * 2013-07-26 2013-11-20 迈普通信技术股份有限公司 一种配置端口安全的方法及装置
CN103905582A (zh) * 2014-03-18 2014-07-02 汉柏科技有限公司 一种ip/mac自动探测绑定的方法及系统
CN106534395A (zh) * 2016-11-08 2017-03-22 西安云雀软件有限公司 一种使用受控的dhcp机制实现终端mac地址与ip地址锁定的方法
CN107454198A (zh) * 2016-05-31 2017-12-08 上海斐讯数据通信技术有限公司 Ip地址分配方法、数据转发方法及光接入设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883090A (zh) * 2010-04-29 2010-11-10 北京星网锐捷网络技术有限公司 一种客户端的接入方法、设备及系统
CN102694771A (zh) * 2011-03-22 2012-09-26 上海艾泰科技有限公司 在网关dhcp服务端绑定ip-mac的方法及网关dhcp服务端
CN102594882A (zh) * 2012-02-08 2012-07-18 神州数码网络(北京)有限公司 一种基于DHCPv6监听的邻居发现代理方法和系统
CN102970301B (zh) * 2012-11-29 2015-04-29 无锡华御信息技术有限公司 一种基于dhcp的服务器以及终端准入控制方法及系统
US20180006969A1 (en) * 2016-06-29 2018-01-04 Cisco Technology, Inc. Technique for gleaning mac and ip address bindings
CN106231001A (zh) * 2016-07-25 2016-12-14 浙江大华技术股份有限公司 一种进行ip地址配置的方法、设备和系统
CN107241456A (zh) * 2017-05-12 2017-10-10 北京星网锐捷网络技术有限公司 一种终端接入控制的方法和服务器

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031488A1 (en) * 2000-07-11 2006-02-09 Scorpion Controls, Inc. Automatic determination of correct IP address for network-connected devices
US20120290719A1 (en) * 2009-11-23 2012-11-15 Inca Internet Co., Ltd. Method for searching ip address of routing node in virtual private network environment
CN102904977A (zh) * 2012-10-24 2013-01-30 华为技术有限公司 网络地址分配方法、服务器和节点
CN103401706A (zh) * 2013-07-26 2013-11-20 迈普通信技术股份有限公司 一种配置端口安全的方法及装置
CN103905582A (zh) * 2014-03-18 2014-07-02 汉柏科技有限公司 一种ip/mac自动探测绑定的方法及系统
CN107454198A (zh) * 2016-05-31 2017-12-08 上海斐讯数据通信技术有限公司 Ip地址分配方法、数据转发方法及光接入设备
CN106534395A (zh) * 2016-11-08 2017-03-22 西安云雀软件有限公司 一种使用受控的dhcp机制实现终端mac地址与ip地址锁定的方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338496A (zh) * 2020-10-12 2022-04-12 中移(苏州)软件技术有限公司 一种资源转发方法、装置、终端和计算机存储介质
CN114338496B (zh) * 2020-10-12 2023-09-05 中移(苏州)软件技术有限公司 一种资源转发方法、装置、终端和计算机存储介质
CN115550290A (zh) * 2022-10-14 2022-12-30 浪潮思科网络科技有限公司 一种在存储区域网络中实现Zone隔离的方法及设备

Also Published As

Publication number Publication date
CN110071983A (zh) 2019-07-30

Similar Documents

Publication Publication Date Title
JP7073475B2 (ja) 分離仮想ネットワークのためのプライベートエイリアスエンドポイント
JP7293446B2 (ja) 仮想ネットワーク検証サービス
US11579808B2 (en) Fabric driven non-volatile memory express subsystem zoning
WO2021051880A1 (zh) 资源数据获取的方法、装置、计算机设备和存储介质
US9641434B1 (en) Private network address obfuscation and verification
US9137211B2 (en) Application services based on dynamic split tunneling
JP2019517694A5 (zh)
CN111460460A (zh) 任务访问方法、装置、代理服务器及机器可读存储介质
JP6553805B2 (ja) 端末に関連付けられているソースアドレスの検証
JP4482601B2 (ja) ネットワーク・アドレス・ポート変換器によって扱われるクライアントからの重複ソースの防止
WO2019037775A1 (zh) 下发业务配置文件
WO2017054526A1 (zh) 一种arp条目生成方法和装置
RU2019105720A (ru) Сетевая услуга на основе маркеров среди приложений iot
CN108243079B (zh) 一种基于vpc进行网络访问的方法与设备
US20220094665A1 (en) Service chains for inter-cloud traffic
WO2019140958A1 (zh) 转发方法及设备、电子设备和存储介质
KR20210025118A (ko) 어드레스 마이그레이션 서비스
US11095608B2 (en) Cross protocol association for internet addresses for metadata association systems and methods
WO2017167018A1 (zh) 一种网络地址转换映射保活方法及装置
TWI548246B (zh) 叢集伺服器部署方法以及使用該方法的裝置
JP2012518947A (ja) サービスアドレスを使用するサービスアクセス
WO2016141749A1 (zh) 虚拟机端口映射的实现方法、服务器、系统及存储介质
WO2021121040A1 (zh) 一种宽带接入的方法、装置、设备和存储介质
WO2022135132A1 (zh) 业务处理方法、装置、电子设备及存储介质
WO2017074824A1 (en) Location identification of prior network message processor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18901381

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18901381

Country of ref document: EP

Kind code of ref document: A1