WO2012162996A1 - Ip地址获取方法及网络接入设备 - Google Patents

Ip地址获取方法及网络接入设备 Download PDF

Info

Publication number
WO2012162996A1
WO2012162996A1 PCT/CN2011/080458 CN2011080458W WO2012162996A1 WO 2012162996 A1 WO2012162996 A1 WO 2012162996A1 CN 2011080458 W CN2011080458 W CN 2011080458W WO 2012162996 A1 WO2012162996 A1 WO 2012162996A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
address
session
access device
network access
Prior art date
Application number
PCT/CN2011/080458
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 华为技术有限公司
Priority to CN201180001839.1A priority Critical patent/CN103141072B/zh
Priority to PCT/CN2011/080458 priority patent/WO2012162996A1/zh
Priority to EP11864904.5A priority patent/EP2568666A4/en
Priority to US13/673,536 priority patent/US20130086259A1/en
Publication of WO2012162996A1 publication Critical patent/WO2012162996A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • H04L12/2872Termination of subscriber connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • 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/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global 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 embodiments of the present invention relate to communication technologies, and in particular, to an IP address obtaining method and a network access device. Background technique
  • a corresponding gateway can be configured for each home network or enterprise network, and is used for a Broadband Remote Access Server (BRAS) or a Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol).
  • BRAS Broadband Remote Access Server
  • DHCP Dynamic Host Configuration Protocol
  • the server initiates an Internet Protocol over Ethernet (IPoE) dialing process to obtain the IP address of the home network or enterprise network.
  • IPoE Internet Protocol over Ethernet
  • the embodiments of the present invention provide an IP address obtaining method and a network access device, which are used to simplify a gateway configured in a home network or an enterprise network, and reduce operation and maintenance costs.
  • an IP address obtaining method including:
  • the network access device receives the first IP address obtaining request message of the first network, where the first IP address obtaining request message includes an identifier of the first network;
  • the network access device creates a first session for the first network by using a process, where the creating a first session includes allocating a first IP address to the first network, and associating an identifier of the first network with the First session;
  • the network access device maps the first IP address to a first private network IP address; the network access device sends the first private network IP address to the first network.
  • Another aspect provides a network access device, including:
  • a first receiving unit configured to receive a first IP address obtaining request message of the first network, where the first IP address obtaining request message includes an identifier of the first network;
  • a first creating unit configured to create a first session for the first network by using a process, where the creating the first session includes allocating a first IP address to the first network, and associating an identifier and a location of the first network Describe the first session;
  • the first mapping unit is configured to map the first IP address to the first private network IP address
  • the first sending unit is configured to send the first private network IP address to the first network.
  • the first network allocates a first IP address to the first network by using a process. Associate the identifier of the first network with the first session, so that the network access device can map the first IP address to the first private network IP address, and send the information to the first network, so as to avoid the family in the prior art.
  • the gateway configured by the network or enterprise network needs to implement the IPoE dialing process to implement complex problems, which simplifies the gateway of the home network or enterprise network configuration, reduces the operation and maintenance costs, and further flattens the network.
  • FIG. 1 is a schematic flowchart of an IP address obtaining method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for acquiring an IP address according to another embodiment of the present invention
  • FIG. 3 is a network connection according to another embodiment of the present invention
  • Schematic diagram of the structure of the incoming device
  • FIG. 4 is a schematic structural diagram of a network access device according to another embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a network access device according to another embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method for acquiring an IP address according to an embodiment of the present invention. As shown in FIG. 1 , the method for acquiring an IP address in this embodiment may include:
  • the network access device receives the first IP address obtaining request message of the first network, where the first IP address obtaining request message includes the identifier of the first network.
  • the foregoing first network may include, but is not limited to, a home network or a corporate network.
  • the identifier of the first network may include, but is not limited to, at least one of the following: a port number of the first network sending the first IP address acquisition request message, and a media access control (Media Access Control, referred to as a short name)
  • Media Access Control Media Access Control, referred to as a short name
  • the MAC address and the MAC address of the first network and the virtual local area network (VLAN) identifier are not limited in this embodiment.
  • the network access device is configured to create a first session by using a process, where the first session includes: assigning a first IP address to the first network, and associating the identifier of the first network with the first session;
  • the network access device maps the first IP address to the first private network IP address.
  • the first IP address is generally used as the public network address of the first network, and the network access is used.
  • the device allocates the private network IP address to the first network. Therefore, the network access device can map the first IP address to the first private network IP address through network address translation (NAT) conversion.
  • NAT network address translation
  • the network access device sends the first private network IP address to the first network.
  • the execution host network access device of the above 101-104 may be a Digital Subscriber Line Access Multiplexer (DSLAM), an Edge Router (BR) or an Optical Line Terminal (Optical Line Terminal). Referred to as OLT) and so on.
  • DSLAM Digital Subscriber Line Access Multiplexer
  • BR Edge Router
  • OLT Optical Line Terminal
  • the foregoing network access device may further include: the foregoing network access device may further initiate a first IPoE dialing to the BRAS or the DHCP server, and obtain the foregoing first allocated by the BRAS or the DHCP server. IP address.
  • the foregoing network access device initiating the first IPoE dialing to the BRAS or the DHCP server may specifically include the following:
  • the network access device broadcasts a DHCP Discovery message corresponding to the first session, and updates the IPoE dialing state corresponding to the first session.
  • the dialing state corresponding to the session is a waiting for DHCP offer (Offer) message.
  • the BRAS or the DHCP server allocates an IP address to the network corresponding to the first session according to the DHCP discovery message, and sends a DHCP provisioning packet corresponding to the first session to the network access device, where the DHCP provisioning packet includes the foregoing allocation.
  • the first session corresponds to the IP address of the network.
  • the network access device determines the corresponding session according to the received information of the DHCP-provided message (for example, the destination port number or MAC address of the DHCP-provided message, or the destination port MAC address and the VLAN identifier), and obtains the session. IPoE dialing status.
  • the network access device broadcasts a DHCP request (Request) message corresponding to the first session according to the obtained IPoE dialing status of the first session, where the DHCP request message includes the network access device as the network corresponding to the first session.
  • the IP address is selected, and the IPoE dialing status corresponding to each session is updated.
  • the dialing state corresponding to the session is waiting for a DHCP acknowledgement (ACK) message.
  • the BRAS or the DHCP server confirms that the IP address included in the DHCP request packet is allocated to itself according to the DHCP request packet, and sends a DHCP positive acknowledgement packet to the network access device, where the DHCP positive acknowledgement packet includes the first The IP address of the network corresponding to the session.
  • the network access device positively acknowledges the message according to the received DHCP (for example: DHCP surely confirms the destination port number or MAC address of the 3 ⁇ 4 text, or the destination port MAC address and VLAN ID, determines the corresponding session, and obtains the IPoE dialing status of the session.
  • DHCP surely confirms the destination port number or MAC address of the 3 ⁇ 4 text, or the destination port MAC address and VLAN ID, determines the corresponding session, and obtains the IPoE dialing status of the session.
  • the network access device obtains the BRAS or the DHCP server to allocate an IP address for the network corresponding to the first session.
  • the network access device may be configured to create a session table, and record, in the session table, a correspondence between the identifier of the first network and the first session, and associate the identifier of the first network with the first session. .
  • the network access device may use the foregoing process to search the session table according to the identifier of the first network, and obtain the first IPoE dialing state corresponding to the first session.
  • the network access device uses the foregoing process according to the first session.
  • the first IPoE dialing state, the BRAS or the DHCP server performs a dynamic host configuration protocol (DHCP)-based packet exchange, and obtains the first IP address allocated by the BRAS or the DHCP server for the first session. address.
  • DHCP dynamic host configuration protocol
  • the network access device may use the foregoing process to search the session table according to the identifier of the first network, and obtain the first IPoE dialing state corresponding to the first session. Then, the network access device is configured according to the first IPoE dialing state. Perform IPoE dialing statistics for IPoE dialing management to avoid the problem of IPoE dialing statistics through multiple processes in the prior art.
  • the foregoing network access device may further create the foregoing process at the time of startup, or may further create the foregoing process when receiving the first IP address obtaining request message, which is not used in this embodiment. Limited.
  • the network access device after receiving the first IP address obtaining request message that includes the identifier of the first network, the network access device allocates a first IP address to the first network and associates the first network with the first network by using a process. And the first session, so that the network access device can map the first IP address to the first private network IP address, and send the information to the first network, which can avoid the configuration in the prior art due to the home network or the enterprise network.
  • the gateway needs to initiate an IPoE dialing process to implement complex problems, which simplifies the gateway of the home network or enterprise network configuration, and reduces The operation and maintenance costs have further realized the flattening of the network.
  • FIG. 2 is a schematic flowchart of a method for acquiring an IP address according to another embodiment of the present invention. As shown in FIG. 2, the method for acquiring an IP address in this embodiment may further include:
  • the network access device receives the second IP address obtaining request message of the second network, where the second IP address obtaining request message includes the identifier of the second network.
  • the network access device is configured to create a second session by using the foregoing process, where the creating a second session includes: assigning a second IP address to the second network, and associating the identifier of the second network with the second session;
  • the network access device maps the second IP address to a second private network IP address.
  • the network access device sends the second IP private network address to the second network.
  • the network access device sends the second IP private network address to the second network.
  • the BR in this embodiment may further delete the session created for one network.
  • the network access device may further perform at least one of the following:
  • the network access device uses the first timeout timer to manage the validity of the first IP address and the second IP address respectively by polling according to the validity period of the IP address and the effective time of the IP address;
  • the network access device manages the validity of the first session and the second session by polling, respectively, by using a second timeout timer.
  • the device in order to achieve flattening of the network, the device can be accessed through a network, for example:
  • BR On the DSLAM, BR, or OLT, run multiple virtual machines, and initiate an IPoE dialing process for each home network or enterprise network to the BRAS or DHCP server to obtain the IP address of the home network or enterprise network.
  • each virtual machine occupies independent processing resources, such as: memory resources and CPU resources, the number of virtual machines is subject to processing resources of the network access device. Restrictions, such as the limited number of home networks or corporate networks that can be served, result in reduced scalability of the network.
  • the network access device creates at least one session for at least one of the home network and the enterprise network through a process, so that in each session, the IPoE dialing can be initiated to the BRAS or the DHCP server, and the BRAS is obtained. Or the IP address assigned by the DHCP server to the network corresponding to each session mentioned above. Since multiple sessions are created by using one process, each session can share processing resources corresponding to the process, for example: memory resources and CPU resources, etc., so the session
  • the number of services is not limited by the processing resources of the network access device, so that the number of serviceable home networks or enterprise networks in the prior art due to the limitation of the number of virtual machines by the processing resources of the network access devices can be avoided. The problem has increased the scalability of the network.
  • the BR may further manage, according to the at least one first timeout timer, the validity period of the IP address assigned by the network corresponding to each session obtained above.
  • BR can poll the four sessions created, namely Session A, Session B, Session C and Session D, and manage the validity period of the IP address of the network corresponding to each session.
  • the BR may further manage the processing time of the session message in each session obtained according to the at least one second timeout timer.
  • BR can poll the four sessions created, that is, session A, session B, session C, and session D, for each session session (for example, DHCP discovery packet, DHCP provision packet, DHCP request).
  • the processing time of the message or DHCP positive confirmation message, etc. is managed.
  • the BR creates four sessions for the home network A, the home network 8, the enterprise network C, and the enterprise network D by using one process, so that in each session, IPoE dialing can be initiated to the BRAS, and the above BRAS is obtained.
  • the IP address assigned to the network corresponding to each session mentioned above because multiple sessions are created by using one process, so that each session can share the processing resources corresponding to the process, for example: memory resources and CPU resources, so the number of sessions is not It is limited by the processing resources of the network access device, so that the home network or the enterprise network that can be served due to the limitation of the processing resources of the network access device due to the number of virtual machines in the prior art can be avoided.
  • the problem of a limited number of networks increases the scalability of the network.
  • FIG. 3 is a schematic structural diagram of an IP address obtaining device according to another embodiment of the present invention.
  • the IP address obtaining device in this embodiment may include a first receiving unit 31, a first creating unit 32, and a first mapping. Unit 34 and first transmitting unit 33.
  • the first receiving unit 31 is configured to receive a first IP address obtaining request message of the first network, where the first IP address obtaining request message includes an identifier of the first network, where the first creating unit 32 is configured to be the first network.
  • the creating the first session includes: assigning a first IP address to the first network, and associating the identifier of the first network with the first session; and the first mapping unit 34 is configured to use the first IP The address is mapped to the first private network IP address.
  • the first sending unit 33 is configured to send the first private network IP address to the first network.
  • the identifier of the foregoing first network may include, but is not limited to, at least one of the following: a port number of the first network that sends the first IP address acquisition request message, a MAC address of the first network, and a first network
  • a port number of the first network that sends the first IP address acquisition request message a MAC address of the first network
  • a first network a MAC address of the first network
  • the MAC address and the VLAN identifier are not limited in this embodiment.
  • the functions of the network access device in the embodiment corresponding to the foregoing FIG. 1 and FIG. 2 can be implemented by the IP address obtaining device provided in this embodiment.
  • the first creating unit allocates the first network to the first network through a process.
  • the first IP address and the identifier and the first association associated with the first network described above can be configured to map the first IP address to the first private network IP address, and the first sending unit sends the first private network IP address to the first network, which can avoid the prior art.
  • the gateway configured by the home network or the enterprise network needs to implement the IPoE dialing process to implement complicated problems, thereby simplifying the gateway of the home network or the enterprise network configuration, reducing the operation and maintenance costs, and further realizing the flattening of the network.
  • the IP address obtaining apparatus of this embodiment may further include a second receiving unit 41, a second creating unit 42, a second mapping unit 44, and a second sending unit 43.
  • the second receiving unit 41 is configured to receive a second IP address obtaining request message of the second network, where the second IP address obtaining request message includes the identifier of the second network, and the second creating unit 42 is configured to use the second network.
  • the creating the second session includes: assigning a second IP address to the second network, and associating the identifier of the second network with the second session; and the second mapping unit 44 is configured to use the second IP The address is mapped to the second private network IP address, and the second sending unit 43 is configured to send the second private network IP address to the second network.
  • the IP address obtaining apparatus of this embodiment may further include at least one of the following units:
  • the first management unit 51 is configured to manage, by using a first timeout timer, the validity of the first IP address and the second IP address respectively by polling according to an expiration date of the IP address and an effective time of the IP address;
  • the second management unit 52 is configured to manage the validity of the first session and the second session by polling by using a second timeout timer.
  • the first creating unit 32 in this embodiment may be further configured to initiate a first IPoE dialing to the BRAS or the DHCP server, and obtain the foregoing first IP address allocated by the BRAS or the foregoing DHCP server.
  • the first creating unit 32 in this embodiment is specifically configured to create a session table, where the foregoing The correspondence between the identifier of the first network and the first session is recorded in the voice table.
  • the first creating unit 32 may obtain the first IPoE dialing state corresponding to the first session by using the foregoing process to search the session table according to the identifier of the first network, and obtain the first IPoE dialing state corresponding to the first session.
  • the first creating unit 32 may obtain the first IPoE dialing state corresponding to the first session by using the foregoing process to search the session table according to the identifier of the first network, and obtain the first IPoE dialing state corresponding to the obtained first session. , Perform IPoE dialing statistics.
  • the first creating unit 32 in this embodiment may further create the foregoing process when the network access device is started; or may be created when the first receiving unit receives the first IP address obtaining request message. The above process.
  • the network access device creates at least one session for at least one of the home network and the enterprise network through a process, so that in each session, the IPoE dialing can be initiated to the BRAS or the DHCP server, and the BRAS is obtained. Or the IP address assigned by the DHCP server to the network corresponding to each session mentioned above. Since multiple sessions are created by using one process, each session can share processing resources corresponding to the process, for example: memory resources and CPU resources, etc., so the session
  • the number of services is not limited by the processing resources of the network access device, so that the number of serviceable home networks or enterprise networks in the prior art due to the limitation of the number of virtual machines by the processing resources of the network access devices can be avoided. The problem has increased the scalability of the network.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system System, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.

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

本发明实施例涉及一种IP地址获取方法及网络接入设备,通过网络接入设备接收包括第一网络的标识的第一IP地址获取请求消息之后,为上述第一网络通过一个进程为上述第一网络分配第一IP地址和关联上述第一网络的标识和第一会话,将所述第一IP地址映射为第一私网IP地址;并发送上述第一私网IP地址给上述第一网络,能够避免现有技术中由于家庭网络或企业网络配置的网关需要发起IPoE拨号过程而导致的实现复杂的问题,从而简化了家庭网络或企业网络配置的网关,并降低了运行维护成本,进一步实现了网络的扁平化。

Description

I P地址获取方法及网络接入设备 技术领域
本发明实施例涉及通信技术,尤其涉及一种 IP地址获取方法及网络接入 设备。 背景技术
在现有的电信网络中, 可以为每一个家庭网络或企业网络配置对应的网 关, 用以向宽带远程接入服务器( Broadband Remote Access Server, 简称 BRAS )或动态主机配置协议 ( Dynamic Host Configuration Protocol, 简称 DHCP )服务器发起以太网的因特网协议 ( Internet Protocol over Ethernet, 简称 IPoE )拨号过程, 以获得该家庭网络或企业网络的 IP地址。
然而, 由于家庭网络或企业网络配置的网关需要发起 IPoE拨号过程, 实 现复杂, 导致了运行维护成本的提高。 发明内容
本发明实施例提供一种 IP地址获取方法及网络接入设备,用以简化家庭 网络或企业网络配置的网关, 降低运行维护成本。
一方面提供了一种 IP地址获取方法, 包括:
网络接入设备接收第一网络的第一 IP地址获取请求消息, 所述第一 IP 地址获取请求消息包括所述第一网络的标识;
所述网络接入设备为所述第一网络通过一个进程创建第一会话, 所述创 建第一会话包括为所述第一网络分配第一 IP地址和关联所述第一网络的标识 和所述第一会话;
所述网络接入设备将所述第一 IP地址映射为第一私网 IP地址; 所述网络接入设备发送所述第一私网 IP地址给所述第一网络。 另一方面提供了一种网络接入设备, 包括:
第一接收单元, 用于接收第一网络的第一 IP地址获取请求消息, 所述第 一 IP地址获取请求消息包括所述第一网络的标识;
第一创建单元, 用于为所述第一网络通过一个进程创建第一会话, 所述 创建第一会话包括为所述第一网络分配第一 I P地址和关联所述第一网络的标 识和所述第一会话;
第一映射单元, 用于将所述第一 IP地址映射为第一私网 IP地址; 第一发送单元, 用于发送所述第一私网 I P地址给所述第一网络。
由上述技术方案可知, 本发明实施例网络接入设备接收包括第一网络的 标识的第一 IP地址获取请求消息之后,为上述第一网络通过一个进程为上述 第一网络分配第一 IP地址和关联上述第一网络的标识和第一会话,使得上述 网络接入设备能够将该第一 IP地址映射为第一私网 IP地址, 并发送给上述 第一网络, 能够避免现有技术中由于家庭网络或企业网络配置的网关需要发 起 IPoE拨号过程而导致的实现复杂的问题,从而简化了家庭网络或企业网络 配置的网关, 并降低了运行维护成本, 进一步实现了网络的扁平化。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明一实施例提供的 IP地址获取方法的流程示意图; 图 2为本发明另一实施例提供的 IP地址获取方法的流程示意图; 图 3为本发明另一实施例提供的网络接入设备的结构示意图;
图 4为本发明另一实施例提供的网络接入设备的结构示意图;
图 5为本发明另一实施例提供的网络接入设备的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明一实施例提供的 IP地址获取方法的流程示意图,如图 1所 示, 本实施例的 IP地址获取方法可以包括:
101、 网络接入设备接收第一网络的第一 IP地址获取请求消息, 上述第 一 IP地址获取请求消息包括上述第一网络的标识;
其中, 上述第一网络可以包括但不限于家庭网络或企业网络。
具体地, 上述第一网络的标识可以包括但不限于以下至少一种: 上述第 一网络发送上述第一 IP地址获取请求消息的端口号; 上述第一网络的媒体访 问控制 (Media Access Control , 简称 MAC )地址; 以及上述第一网络的 MAC地址和虚拟局域网 ( Virtual Local Area Network, 简称 VLAN )标识, 本实施例对此不进行限定。
102、上述网络接入设备为上述第一网络通过一个进程创建第一会话,上 述创建第一会话包括为上述第一网络分配第一 I P地址和关联上述第一网络的 标识和上述第一会话;
103、 上述网络接入设备将上述第一 IP地址映射为第一私网 IP地址; 在本发明实施例的具体实现时,第一 IP地址通常作为第一网络的公网地 址使用, 网络接入设备给第一网络分配的是私网 IP地址, 所以网络接入设备 可以通过网络地址转换(Network Address Translation; NAT )转换, 将上述 第一 IP地址映射为第一私网 IP地址。
104、 上述网络接入设备发送上述第一私网 IP地址给上述第一网络。 上述 101 -104的执行主体网络接入设备可以为数字用户线路接入复用器 ( Digital Subscriber Line Access Multiplexer, 简称 DSLAM ) 、 边缘路由器 ( Bridge Router,简称 BR )或光线路终端( Optical Line Terminal,简称 OLT ) 等。
可选地, 上述网络接入设备创建第一会话还可以进一步包括: 上述网络 接入设备还可以进一步向 BRAS或 DHCP服务器发起第一 IPoE拨号, 并获 得上述 BRAS或上述 DHCP服务器分配的上述第一 IP地址。
具体地, 上述网络接入设备向 BRAS或 DHCP服务器发起第一 IPoE拨 号具体可以包括如下:
首先, 网络接入设备广播第一会话对应的 DHCP发现( Discover )报文, 并更新上述第一会话对应的 IPoE拨号状态,此时,会话对应的拨号状态为等 待 DHCP提供( Offer )报文。 BRAS或 DHCP服务器根据上述 DHCP发现 报文, 为上述第一会话对应的网络分配 IP地址, 并向网络接入设备发送上述 第一会话对应的 DHCP提供报文,该 DHCP提供报文中包含上述分配的第一 会话对应的网络的 I P地址。
其次,网络接入设备根据接收到的 DHCP提供报文的信息(例如: DHCP 提供报文的目的端口号或 MAC地址、 或者目的端口 MAC地址和 VLAN标 识), 确定对应的会话, 并获得该会话的 IPoE拨号状态。
然后, 网络接入设备根据获得的上述第一会话的 IPoE拨号状态,广播第 —会话对应的 DHCP请求( Request )报文, 该 DHCP请求报文中包含网络 接入设备为第一会话对应的网络选择的 IP地址,并更新上述每一个会话对应 的 IPoE拨号状态, 此时, 会话对应的拨号状态为等待 DHCP确认(ACK ) 报文。 BRAS或 DHCP服务器根据上述 DHCP请求报文, 确认该 DHCP请 求报文中包含的 IP地址为自己分配, 并向网络接入设备发送 DHCP肯定确 认报文, 该 DHCP肯定确认报文中包含上述第一会话对应的网络的 IP地址。
最后, 网络接入设备根据接收到的 DHCP肯定确认报文的信息 (例如: DHCP肯定确认"¾文的目的端口号或 MAC地址、或者目的端口 MAC地址和 VLAN标识), 确定对应的会话, 并获得该会话的 IPoE拨号状态。
至此,网络接入设备获得 BRAS或 DHCP服务器为上述第一会话对应的 网络分配 IP地址。
可选地, 上述网络接入设备具体可以创建会话表, 在上述会话表中记录 上述第一网络的标识和上述第一会话的对应关系, 用以关联上述第一网络的 标识和上述第一会话。
例如: 上述网络接入设备可以通过上述进程根据上述第一网络的标识查 找会话表,获得上述第一会话对应的第一 IPoE拨号状态;上述网络接入设备 通过上述进程根据上述第一会话对应的第一 IPoE拨号状态, 与上述 BRAS 或上述 DHCP 服务器进行基于动态主机配置协议 ( Dynamic Host Configuration Protocol, 简称 DHCP ) 的报文交互, 获得上述 BRAS或上述 DHCP服务器为上述第一会话分配的第一 IP地址。
例如: 上述网络接入设备可以通过上述进程根据上述第一网络的标识查 找会话表, 获得上述第一会话对应的第一 IPoE拨号状态; 然后, 上述网络接 入设备根据上述第一 IPoE拨号状态, 进行 IPoE拨号统计, 用以进行 IPoE 拨号管理, 能够避免现有技术中通过多进程进行 IPoE拨号统计的问题。
可选地, 本实施例中, 上述网络接入设备还可以进一步在启动时创建上 述进程,或者还可以进一步在接收到上述第一 IP地址获取请求消息时创建上 述进程, 本实施例对此不进行限定。
本实施例中, 网络接入设备接收包括第一网络的标识的第一 IP地址获取 请求消息之后, 为上述第一网络通过一个进程为上述第一网络分配第一 IP地 址和关联上述第一网络的标识和第一会话, 使得上述网络接入设备能够将该 第一 IP地址映射为第一私网 IP地址, 并发送给上述第一网络, 能够避免现 有技术中由于家庭网络或企业网络配置的网关需要发起 IPoE拨号过程而导 致的实现复杂的问题, 从而简化了家庭网络或企业网络配置的网关, 并降低 了运行维护成本, 进一步实现了网络的扁平化。
图 2为本发明另一实施例提供的 IP地址获取方法的流程示意图, 如图 2 所示, 与图 1对应的实施例相比, 本实施例的 IP地址获取方法还可以进一步 包括:
201、 网络接入设备接收第二网络的第二 IP地址获取请求消息, 上述第 二 IP地址获取请求消息包括上述第二网络的标识;
202、上述网络接入设备为上述第二网络通过上述进程创建第二会话,上 述创建第二会话包括为上述第二网络分配第二 I P地址和关联上述第二网络的 标识和上述第二会话;
203、 上述网络接入设备将上述第二 IP地址映射为第二私网 IP地址;
204、 上述网络接入设备发送上述第二 IP私网地址给上述第二网络。 具体地, 本实施例中, 201~204的具体描述可以参见图 1对应的实施例 中的 101~104的相关内容, 此处不再赘述。
可选地, 本实施例中的 BR还可以进一步删除为一个网络所创建的会话。 可选地, 为了进一步节省定时器的资源, 本实施例提供的 IP地址获取方 法中, 网络接入设备还可以进一步执行下列中的至少一项:
上述网络接入设备利用第一超时定时器, 根据 IP地址的有效期和 IP地 址的生效时间, 通过轮询分别对上述第一 IP地址和上述第二 IP地址的有效 性进行管理; 以及
上述网络接入设备利用第二超时定时器, 通过轮询分别对上述第一会话 和上述第二会话的有效性进行管理。
现有技术中, 为了实现网络的扁平化, 可以通过在网络接入设备, 例如:
DSLAM、 BR或 OLT等, 上运行多台虚拟机, 分别为每一个家庭网络或企业 网络向 BRAS或 DHCP服务器发起 IPoE拨号过程, 以获得该家庭网络或企 业网络的 IP地址。 然而, 由于每一个虚拟机占用独立的处理资源, 例如: 内 存资源和 CPU资源等,所以虚拟机的数量会受到网络接入设备的处理资源的 限制, 使得能够服务的家庭网络或企业网络数量有限, 从而导致了网络的可 扩展性的降低。
本实施例中, 网络接入设备通过一个进程, 为家庭网络和企业网络中的 至少一个网络创建至少一个会话, 使得在每一个会话中, 能够向 BRAS 或 DHCP服务器发起 IPoE拨号, 并获得上述 BRAS或 DHCP服务器为上述每 一个会话对应的网络分配的 IP地址, 由于利用一个进程创建了多个会话, 使 得每一个会话可以共享该进程对应的处理资源, 例如: 内存资源和 CPU资源 等, 所以会话的数量不会受到网络接入设备的处理资源的限制, 从而能够避 免现有技术中由于虚拟机的数量受到网络接入设备的处理资源的限制而导致 的能够服务的家庭网络或企业网络数量有限的问题,提高了网络的可扩展性。
可选地, 为了进一步节省定时器的资源, BR还可以进一步根据至少一个 第一超时定时器,对上述获得的每一个会话对应的网络分配的 IP地址的有效 期进行管理。 例如: BR可以轮询所创建的四个会话, 即会话 A、 会话 B、 会 话 C和会话 D, 对每个会话对应的网络的 IP地址的有效期进行管理。
可选地, 为了进一步节省定时器的资源, BR还可以进一步根据至少一个 第二超时定时器, 对上述获得的每一个会话中的会话报文的处理时间进行管 理。 例如: BR可以轮询所创建的四个会话, 即会话 A、 会话 B、 会话 C和会 话 D, 对每个会话中的会话报文(例如: DHCP发现报文、 DHCP提供报文、 DHCP请求报文或 DHCP肯定确认报文等 ) 的处理时间进行管理。
本实施例中, BR通过利用一个进程, 为家庭网络 A、 家庭网络8、 企业 网络 C和企业网络 D创建四个会话,使得在每一个会话中, 能够向 BRAS发 起 IPoE拨号, 并获得上述 BRAS为上述每一个会话对应的网络分配的 IP地 址, 由于利用一个进程创建了多个会话, 使得每一个会话可以共享该进程对 应的处理资源, 例如: 内存资源和 CPU资源等, 所以会话的数量不会受到网 络接入设备的处理资源的限制, 从而能够避免现有技术中由于虚拟机的数量 受到网络接入设备的处理资源的限制而导致的能够服务的家庭网络或企业网 络数量有限的问题, 提高了网络的可扩展性。
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以釆用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。
图 3为本发明另一实施例提供的 IP地址获取设备的结构示意图, 如图 3 所示, 本实施例的 IP地址获取设备可以包括第一接收单元 31、 第一创建单 元 32、 第一映射单元 34和第一发送单元 33。 其中, 第一接收单元 31用于 接收第一网络的第一 IP地址获取请求消息, 上述第一 IP地址获取请求消息 包括上述第一网络的标识;第一创建单元 32用于为上述第一网络通过一个进 程创建第一会话,上述创建第一会话包括为上述第一网络分配第一 IP地址和 关联上述第一网络的标识和上述第一会话;第一映射单元 34用于将上述第一 IP地址映射为第一私网 IP地址; 第一发送单元 33用于发送上述第一私网 IP 地址给上述第一网络。
具体地, 上述第一网络的标识可以包括但不限于以下至少一种: 上述第 一网络发送上述第一 IP地址获取请求消息的端口号; 上述第一网络的 MAC 地址; 以及上述第一网络的 MAC地址和 VLAN标识, 本实施例对此不进行 限定。
上述图 1和图 2对应的实施例中网络接入设备的功能均可以由本实施例 提供的 IP地址获取设备实现。
本实施例中, 网络接入设备通过第一接收单元接收包括第一网络的标识 的第一 IP地址获取请求消息之后, 由第一创建单元为上述第一网络通过一个 进程为上述第一网络分配第一 IP 地址和关联上述第一网络的标识和第一会 话, 使得第一映射单元能够将该第一 IP地址映射为第一私网 IP地址, 并由 第一发送单元发送上述第一私网 IP地址给上述第一网络, 能够避免现有技术 中由于家庭网络或企业网络配置的网关需要发起 IPoE拨号过程而导致的实 现复杂的问题, 从而简化了家庭网络或企业网络配置的网关, 并降低了运行 维护成本, 进一步实现了网络的扁平化。
可选地, 如图 4所示, 本实施例的 IP地址获取设备还可以进一步包括第 二接收单元 41、 第二创建单元 42、 第二映射单元 44和第二发送单元 43。 其 中, 第二接收单元 41用于接收第二网络的第二 IP地址获取请求消息, 上述 第二 I P地址获取请求消息包括上述第二网络的标识; 第二创建单元 42用于 为上述第二网络通过上述进程创建第二会话, 上述创建第二会话包括为上述 第二网络分配第二 IP地址和关联上述第二网络的标识和上述第二会话; 第二 映射单元 44用于将上述第二 IP地址映射为第二私网 IP地址;第二发送单元 43用于发送上述第二私网 IP地址给上述第二网络。
可选地, 如图 5所示, 本实施例的 IP地址获取设备还可以进一步包括下 列单元中的至少一个:
第一管理单元 51 , 用于利用第一超时定时器, 根据 IP地址的有效期和 IP地址的生效时间, 通过轮询分别对上述第一 IP地址和上述第二 IP地址的 有效性进行管理; 以及
第二管理单元 52, 用于利用第二超时定时器, 通过轮询分别对上述第一 会话和上述第二会话的有效性进行管理。
需要指出的是,图 5中仅示出了同时包括第一管理单元 51和第二管理单 元 52的情况, 在可选的实施例中, 也可以仅包括上述两个单元中的一个。
可选地, 本实施例中的第一创建单元 32还可以进一步用于向 BRAS或 DHCP服务器发起第一 IPoE拨号, 并获得上述 BRAS或上述 DHCP服务器 分配的上述第一 IP地址。
具体地, 本实施例中的第一创建单元 32具体用于创建会话表,在上述会 话表中记录上述第一网络的标识和上述第一会话的对应关系。 例如: 第一创 建单元 32可以通过上述进程根据上述第一网络的标识查找会话表,获得上述 第一会话对应的第一 IPoE拨号状态; 通过获得的上述第一会话对应的第一 IPoE拨号状态, 与上述 BRAS或上述 DHCP服务器进行基于 DHCP的报文 交互, 获得上述 BRAS或上述 DHCP服务器为上述第一会话分配的第一 IP 地址。再例如: 第一创建单元 32可以通过上述进程根据上述第一网络的标识 查找会话表,获得上述第一会话对应的第一 IPoE拨号状态;根据获得的上述 第一会话对应的第一 IPoE拨号状态, 进行 IPoE拨号统计。
可选地,本实施例中的第一创建单元 32还可以进一步在上述网络接入设 备启动时创建上述进程; 或者也可以在上述第一接收单元接收到上述第一 IP 地址获取请求消息时创建上述进程。
本实施例中, 网络接入设备通过一个进程, 为家庭网络和企业网络中的 至少一个网络创建至少一个会话, 使得在每一个会话中, 能够向 BRAS 或 DHCP服务器发起 IPoE拨号, 并获得上述 BRAS或 DHCP服务器为上述每 一个会话对应的网络分配的 IP地址, 由于利用一个进程创建了多个会话, 使 得每一个会话可以共享该进程对应的处理资源, 例如: 内存资源和 CPU资源 等, 所以会话的数量不会受到网络接入设备的处理资源的限制, 从而能够避 免现有技术中由于虚拟机的数量受到网络接入设备的处理资源的限制而导致 的能够服务的家庭网络或企业网络数量有限的问题,提高了网络的可扩展性。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方 法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意 性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以 有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系 统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或 通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
另外 ,在本发明各个实施例中的各功能单元可以集成在一个处理单元中 , 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用硬件加软件 功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算机 可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若干指 令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(Read-Only Memory, 简称 ROM )、 随机存取存储 器( Random Access Memory, 简称 RAM )、 磁碟或者光盘等各种可以存储 程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

1、 一种 IP地址获取方法, 其特征在于, 包括:
网络接入设备接收第一网络的第一 IP地址获取请求消息, 所述第一 IP 地址获取请求消息包括所述第一网络的标识;
所述网络接入设备为所述第一网络通过一个进程创建第一会话, 所述创 建第一会话包括为所述第一网络分配第一 IP地址和关联所述第一网络的标识 和所述第一会话;
所述网络接入设备将所述第一 IP地址映射为第一私网 IP地址; 所述网络接入设备发送所述第一私网 IP地址给所述第一网络。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
所述网络接入设备接收第二网络的第二 IP地址获取请求消息,所述第二 I P地址获取请求消息包括所述第二网络的标识;
所述网络接入设备为所述第二网络通过所述进程创建第二会话 , 所述创 建第二会话包括为所述第二网络分配第二 I p地址和关联所述第二网络的标识 和所述第二会话;
所述网络接入设备将所述第二 IP地址映射为第二私网 IP地址; 所述网络接入设备发送所述第二私网 IP地址给所述第二网络。
3、根据权利要求 2所述的方法,其特征在于,还包括下列中的至少一项: 所述网络接入设备利用第一超时定时器, 根据 IP地址的有效期和 IP地 址的生效时间, 通过轮询分别对所述第一 IP地址和所述第二 IP地址的有效 性进行管理; 以及
所述网络接入设备利用第二超时定时器, 通过轮询分别对所述第一会话 和所述第二会话的有效性进行管理。
4、根据权利要求 1至 3任一权利要求所述的方法, 其特征在于, 所述网 络接入设备创建第一会话还包括:
所述网络接入设备向 BRAS或 DHCP服务器发起第一 IPoE拨号, 并获 得所述 BRAS或所述 DHCP服务器分配的所述第一 IP地址。
5、根据权利要求 1至 4任一权利要求所述的方法, 其特征在于, 所述网 络接入设备关联所述第一网络的标识和所述第一会话, 具体包括:
所述网络接入设备创建会话表, 在所述会话表中记录所述第一网络的标 识和所述第一会话的对应关系。
6、根据权利要求 5所述的方法,其特征在于,所述网络接入设备向 BRAS 或 DHCP服务器发起第一 IPoE拨号,并获得所述 BRAS或所述 DHCP服务 器分配的所述第一 IP地址, 具体包括:
所述网络接入设备通过所述进程根据所述第一网络的标识查找会话表, 获得所述第一会话对应的第一 IPoE拨号状态;
所述网络接入设备通过所述进程根据所述第一会话对应的第一 IPoE拨 号状态, 与所述 BRAS或所述 DHCP服务器进行基于 DHCP的报文交互, 获得所述 BRAS或所述 DHCP服务器为所述第一会话分配的第一 IP地址。
7、 根据权利要求 6所述的方法, 其特征在于, 所述网络接入设备通过所 述进程根据所述第一网络的标识查找会话表, 获得所述第一会话对应的第一
IPoE拨号状态之后, 还包括:
根据获得的所述第一会话对应的第一 IPoE拨号状态,进行 IPoE拨号统计。
8、根据权利要求 1至 7任一权利要求所述的方法, 其特征在于, 所述第 一网络的标识包括以下至少一种: 所述第一网络发送所述第一 IP地址获取请 求消息的端口号; 所述第一网络的 MAC地址; 以及所述第一网络的 MAC地 址和 VLAN标识。
9、根据权利要求 1至 8任一权利要求所述的方法, 其特征在于, 所述方 法还包括:
所述网络接入设备在启动时创建所述进程。
10、 根据权利要求 1至 8任一权利要求所述的方法, 其特征在于, 所述 方法还包括: 所述网 入设备在接收到所述第一 I Ρ地址获耳又请求消息时创建所述进程。
11、 一种网络接入设备, 其特征在于, 包括:
第一接收单元, 用于接收第一网络的第一 IP地址获取请求消息, 所述第 一 IP地址获取请求消息包括所述第一网络的标识;
第一创建单元, 用于为所述第一网络通过一个进程创建第一会话, 所述 创建第一会话包括为所述第一网络分配第一 I P地址和关联所述第一网络的标 识和所述第一会话;
第一映射单元, 用于将所述第一 IP地址映射为第一私网 IP地址; 第一发送单元, 用于发送所述第一私网 IP地址给所述第一网络。
12、 根据权利要求 11所述的网络接入设备, 其特征在于, 还包括: 第二接收单元, 用于接收第二网络的第二 I P地址获取请求消息, 所述第 二 IP地址获取请求消息包括所述第二网络的标识;
第二创建单元, 用于为所述第二网络通过所述进程创建第二会话, 所述 创建第二会话包括为所述第二网络分配第二 I P地址和关联所述第二网络的标 识和所述第二会话;
第二映射单元, 用于将所述第二 IP地址映射为第二私网 IP地址; 第二发送单元, 用于发送所述第二私网 IP地址给所述第二网络。
13、 根据权利要求 12 所述的网络接入设备, 其特征在于, 还包括下列 单元中的至少一个:
第一管理单元, 用于利用第一超时定时器, 根据 IP地址的有效期和 IP 地址的生效时间, 通过轮询分别对所述第一 IP地址和所述第二 IP地址的有 效性进行管理; 以及
第二管理单元, 用于利用第二超时定时器, 通过轮询分别对所述第一会 话和所述第二会话的有效性进行管理。
14、 根据权利要求 11至 13任一权利要求所述的网络接入设备, 其特征 在于, 所述第一创建单元还用于 向 BRAS或 DHCP服务器发起第一 IPoE拨号,并获得所述 BRAS或所 述 DHCP服务器分配的所述第一 IP地址。
15、 根据权利要求 11至 14任一权利要求所述的网络接入设备, 其特征 在于, 第一创建单元具体用于
创建会话表, 在所述会话表中记录所述第一网络的标识和所述第一会话 的对应关系。
16、 根据权利要求 15 所述的网络接入设备, 其特征在于, 所述第一创 建单元具体用于
通过所述进程根据所述第一网络的标识查找会话表, 获得所述第一会话 对应的第一 IPoE拨号状态;
通过获得的所述第一会话对应的第一 IPoE拨号状态, 与所述 BRAS或 所述 DHCP服务器进行基于 DHCP 的报文交互, 获得所述 BRAS或所述 DHCP服务器为所述第一会话分配的第一 IP地址。
17、 根据权利要求 16 所述的网络接入设备, 其特征在于, 所述第一创 建单元具体用于
根据获得的所述第一会话对应的第一 IPoE拨号状态,进行 IPoE拨号统计。
18、 根据权利要求 11至 17任一权利要求所述的网络接入设备, 其特征 在于, 所述第一网络的标识包括以下至少一种: 所述第一网络发送所述第一 IP地址获取请求消息的端口号; 所述第一网络的 MAC地址; 以及所述第一 网络的 MAC地址和 VLAN标识。
19、 根据权利要求 11至 18任一权利要求所述的网络接入设备, 其特征 在于, 所述第一创建单元还用于
在所述网络接入设备启动时创建所述进程。
20、 根据权利要求 11至 18任一权利要求所述的网络接入设备, 其特征 在于, 所述第一创建单元还用于
在所述第一接收单元接收到所述第一 I P地址获取请求消息时创建所述进程。
PCT/CN2011/080458 2011-09-30 2011-09-30 Ip地址获取方法及网络接入设备 WO2012162996A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201180001839.1A CN103141072B (zh) 2011-09-30 2011-09-30 Ip地址获取方法及网络接入设备
PCT/CN2011/080458 WO2012162996A1 (zh) 2011-09-30 2011-09-30 Ip地址获取方法及网络接入设备
EP11864904.5A EP2568666A4 (en) 2011-09-30 2011-09-30 METHOD FOR Retrieving IP Addresses and Network Access Device
US13/673,536 US20130086259A1 (en) 2011-09-30 2012-11-09 Method for acquiring an ip address and network access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/080458 WO2012162996A1 (zh) 2011-09-30 2011-09-30 Ip地址获取方法及网络接入设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/673,536 Continuation US20130086259A1 (en) 2011-09-30 2012-11-09 Method for acquiring an ip address and network access device

Publications (1)

Publication Number Publication Date
WO2012162996A1 true WO2012162996A1 (zh) 2012-12-06

Family

ID=47258322

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080458 WO2012162996A1 (zh) 2011-09-30 2011-09-30 Ip地址获取方法及网络接入设备

Country Status (4)

Country Link
US (1) US20130086259A1 (zh)
EP (1) EP2568666A4 (zh)
CN (1) CN103141072B (zh)
WO (1) WO2012162996A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712522A (zh) * 2018-07-20 2018-10-26 新华三技术有限公司 Ip地址分配方法和装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621461B2 (en) * 2015-01-27 2017-04-11 Vmware, Inc. Media access control (MAC) address table protection in a virtualized computing environment
CN105516397B (zh) * 2016-01-19 2019-06-11 深圳前海达闼云端智能科技有限公司 多操作系统终端接入网络的方法及多操作系统终端
EP3297222A1 (en) * 2016-09-15 2018-03-21 Eco-i Limited Configuration gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618757B1 (en) * 2000-05-17 2003-09-09 Nortel Networks Limited System and method for dynamic IP address management
CN1458763A (zh) * 2002-05-15 2003-11-26 华为技术有限公司 一种宽带网络的接入方法
CN1996945A (zh) * 2006-11-30 2007-07-11 中国科学院计算技术研究所 一种网络地址转换方法
CN101909088A (zh) * 2009-06-03 2010-12-08 中兴通讯股份有限公司 家庭基站系统中获取公网ip地址的方法及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6961322B2 (en) * 2001-09-24 2005-11-01 Motorola, Inc. Dynamic Internet protocol address management method
US7313606B2 (en) * 2001-11-27 2007-12-25 The Directv Group, Inc. System and method for automatic configuration of a bi-directional IP communication device
KR20060000342A (ko) * 2004-06-28 2006-01-06 주식회사 이지브로네트웍스 에지 내 라우팅 없는 프레미시스(premises)ip통신 장치 및 이를 이용한 통신 방법
US7515549B2 (en) * 2005-06-07 2009-04-07 Cisco Technology, Inc. Managing devices across NAT boundaries
US7827310B1 (en) * 2006-04-27 2010-11-02 Alcatel Lucent Host connectivity verification
US20080089323A1 (en) * 2006-10-13 2008-04-17 At&T Knowledge Ventures, L.P. System and method for assigning virtual local area networks
WO2009038400A2 (en) * 2007-09-21 2009-03-26 Posdata Co., Ltd. Apparatus and method for interworking mobile communication network with digital subscriber line network
ATE533282T1 (de) * 2007-12-11 2011-11-15 Alcatel Lucent Verfahren zum erhalten einer internetprotokolladresse
US8782256B2 (en) * 2008-11-26 2014-07-15 Cisco Technology, Inc. Deterministic session load-balancing and redundancy of access servers in a computer network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618757B1 (en) * 2000-05-17 2003-09-09 Nortel Networks Limited System and method for dynamic IP address management
CN1458763A (zh) * 2002-05-15 2003-11-26 华为技术有限公司 一种宽带网络的接入方法
CN1996945A (zh) * 2006-11-30 2007-07-11 中国科学院计算技术研究所 一种网络地址转换方法
CN101909088A (zh) * 2009-06-03 2010-12-08 中兴通讯股份有限公司 家庭基站系统中获取公网ip地址的方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2568666A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712522A (zh) * 2018-07-20 2018-10-26 新华三技术有限公司 Ip地址分配方法和装置
CN108712522B (zh) * 2018-07-20 2021-06-29 新华三技术有限公司 Ip地址分配方法和装置

Also Published As

Publication number Publication date
EP2568666A1 (en) 2013-03-13
EP2568666A4 (en) 2014-01-08
CN103141072A (zh) 2013-06-05
US20130086259A1 (en) 2013-04-04
CN103141072B (zh) 2016-11-02

Similar Documents

Publication Publication Date Title
EP1876754B1 (en) Method system and server for implementing dhcp address security allocation
US8125993B2 (en) Network element having a DHCP lease timer
WO2012051915A1 (zh) 端口映射方法、装置与通信系统
WO2012079474A1 (zh) 地址分配处理方法、装置和系统
WO2010069181A1 (zh) Ipv6地址配置方法和系统
WO2009074080A1 (fr) Méthode, appareil et système de configuration d'un réseau virtuel et commutateur de partitions
WO2013159641A1 (zh) 地址分配方法、设备和系统
WO2013007158A1 (zh) 虚拟私云接入网络的方法、网络侧设备和数据中心设备
WO2016179950A1 (zh) 互联网协议ip地址的分配方法及装置
EP3108643B1 (en) Ipoe dual-stack subscriber for routed residential gateway configuration
WO2013071765A1 (zh) 为用户终端分配ip地址的方法、装置和系统
WO2011144152A1 (zh) 信息提供方法及家庭网关、家庭网络系统
WO2009030173A1 (fr) Procédé de traitement et dispositif pour la configuration de raccordement qinq
WO2006122502A1 (fr) Méthode de transmission de message en couche 2 et dispositif d’accès
WO2015085788A1 (zh) 一种动态主机配置协议报文处理方法及装置
WO2009071009A1 (fr) Procédé pour découvrir automatiquement des dispositifs d'éléments de réseau, dispositif et système
WO2010048874A1 (zh) 一种ip会话标识方法、装置和系统
WO2012109849A1 (zh) Mac地址分配方法和设备
WO2014056441A1 (zh) 一种在CPE上配置IPv6过渡技术的方法及设备
WO2012034413A1 (zh) 一种双栈用户管理方法及宽带接入服务器
WO2017088101A1 (zh) 一种网络连接信息获取方法及路由器
WO2014114058A1 (zh) 一种数据报文转发方法、用户驻地设备和系统
WO2015018069A1 (zh) 网络终端获取业务的方法、设备、系统
WO2011147343A1 (zh) Ip网络中地址分配方法、设备及系统
WO2013086966A1 (zh) 基于IPv6的二层互通的方法、装置和系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001839.1

Country of ref document: CN

REEP Request for entry into the european phase

Ref document number: 2011864904

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2011864904

Country of ref document: EP

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

Ref document number: 11864904

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE