CN101883158A - Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses - Google Patents

Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses Download PDF

Info

Publication number
CN101883158A
CN101883158A CN 201010220456 CN201010220456A CN101883158A CN 101883158 A CN101883158 A CN 101883158A CN 201010220456 CN201010220456 CN 201010220456 CN 201010220456 A CN201010220456 A CN 201010220456A CN 101883158 A CN101883158 A CN 101883158A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
vlan
client
network
dhcp
addresses
Prior art date
Application number
CN 201010220456
Other languages
Chinese (zh)
Other versions
CN101883158B (en )
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

Links

Abstract

The invention discloses method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses. The method comprises the following steps of: determining that a message sent by a client needs to carry a VLAN ID by the client in the VLAN; sending a plurality of dynamic host configuration protocol (DHCP) DISCOVER messages carrying the VLAN ID to a DHCP server in the VLAN by the client, wherein each DHCP DISCOVER message corresponds to a VLAN ID; and within a first preset time, if the client receives DHCP response messages corresponding to the DHCP DISCOVER messages from the server, acquiring the VLAN IDs and IP addresses. Through the invention, the network configuration efficiency and accuracy are improved.

Description

获取虚拟局域网标识和网络协议地址的方法及客户端 Gets the virtual local area network and network protocol address identifies methods and client

技术领域 FIELD

[0001] 本发明涉及通信领域,具体而言,涉及一种获取虚拟局域网(Virtual Local Area Network,简称为VLAN)标识和网络协议(Internet Protocol,简称为IP)地址的方法及客户端。 [0001] The present invention relates to communication field, particularly, to a virtual local area network acquired (Virtual Local Area Network, abbreviated as VLAN) identifier and network protocol (Internet Protocol, abbreviated as IP) address and the client method.

背景技术 Background technique

[0002] 虚拟局域网是一种将物理网络划分成多个逻辑局域网(Local Area Network,简称为LAN)的技术,每个VLAN都有一个虚拟局域网标识符(VLAN ID)。 [0002] Virtual Local Area Network is a physical network into multiple logical LAN (Local Area Network, abbreviated as LAN) technology, each VLAN is a virtual local area network identifier (VLAN ID). 利用VLAN技术,网络管理者能够根据实际应用需要,把同一物理局域网中的用户逻辑划分成不同的广播域(每个广播域即一个VLAN),使具有相同需求的用户处于同一广播域,不同需求的用户处于不同的广播域。 Using VLAN technology, the network administrator can depending on the application, the user logic on the same physical LAN into different broadcast domains (i.e. a per broadcast domain VLAN), so users have the same needs in the same broadcast domain, different needs users in different broadcast domains. 每个VLAN在逻辑上就像一个独立的局域网,与物理上形成的LAN有相同的属性。 Each VLAN as a logically independent local area network, LAN formed with the same physical properties. 同一个VLAN中的所有广播和单播流量都被限制在该VLAN中,不会转发到其它VLAN中。 All the same broadcast and unicast traffic in the VLAN are limited to the VLAN, not forwarded to another VLAN.

[0003]动态主机分配协议(Dynamic Host Configuration Protocol,简称为DHCP)。 [0003] Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, referred to as DHCP). 它的执行主体分为两个:一个是服务器端,另一个是客户端。 Its executive body is divided into two: one is the server side, and the other is the client. 所有的IP网络设定资料都由DHCP 服务器集中管理,并负责处理客户端的DHCP要求;而客户端则使用从服务器分配下来的IP 信息。 All IP network settings by the DHCP server to centrally manage data, and handles DHCP client requirements; and the client is using the assigned IP information from the server down. 整个IP分配过程自动实现,在客户端上无需做任何IP环境设定;所有的IP网络设定资料都由DHCP服务器统一管理,还可以帮客户端指定网络掩码(netmask)、域名服务器(Domain Name Server,简称为DNS)、缺省网关等参数。 The whole process automatically assign IP on the client without making any IP environment settings; all IP network configuration data by the DHCP server unified management, but also can help the client to specify the network mask (netmask), domain name server (Domain Name Server, referred to as DNS), and the default gateway.

[0004] 相关技术中,如果网络传输要求DHCP客户端设备发出的报文携带VLAN ID的报文,DHCP客户端需要在发送报文前配置好自己的VLAN ID,该过程比较繁琐且容易出错,从而导致DHCP协商失败。 [0004] related art, if the network transmission requirements DHCP client device sends the message packet carrying the VLAN ID, the DHCP client needs to be configured before sending packets their own VLAN ID, the process is tedious and error-prone, resulting in DHCP negotiation fails.

发明内容 SUMMARY

[0005] 本发明的主要目的在于提供一种获取VLAN ID和IP地址的方法及客户端,以解决相关技术中,如果网络传输要求DHCP客户端设备发出的报文携带VLAN ID的报文,DHCP客户端需要在发送报文前配置好自己的VLAN ID,该过程比较繁琐且容易出错,从而导致DHCP 协商失败的问题。 [0005] The main object of the present invention is to provide a VLAN ID and IP address obtaining method and a client, in order to solve the related art packet, if the transmission requirements of the network device sends a DHCP client packet carries a VLAN ID, DHCP the client needs to be configured before sending the message their own VLAN ID, the process is tedious and error-prone, leading to problems DHCP negotiation failure.

[0006] 为了实现上述目的,根据本发明的一个方面,提供了一种获取虚拟局域网标识VLAN ID和网络协议IP地址的方法。 [0006] To achieve the above object, according to one aspect of the invention, there is provided a method for acquiring a virtual local area network identifier VLAN ID and IP address of the network protocol.

[0007] 根据本发明的获取虚拟局域网标识VLAN ID和网络协议IP地址的方法包括: [0007] The present invention acquires a virtual local area network identifier VLAN ID and IP address of the network protocol method comprising:

[0008] 虚拟局域网VLAN中客户端确定客户端发送的报文需要携带虚拟局域网标识VLAN ID ;客户端向VLAN中的动态主机分配协议DHCP服务器发送多个携带有VLAN ID的动态主机分配协议发现DHCP DISCOVER报文,其中每个DHCP DISCOVER报文对应一个VLAN ID ;在第一预定时间内,如果客户端接收到来自服务器的DHCP DISCOVER报文对应的DHCP响应报文,则根据DHCP响应报文获取VLAN ID和IP地址。 [0008] In a VLAN packet to determine the client sent by the client needs to carry VID VLAN ID; client sends a dynamic host configuration protocol has a plurality of VLAN ID carried in the VLAN DHCP Dynamic Host Configuration Protocol DHCP server discovery DISCOVER packet, wherein each of the DHCP DISCOVER packet corresponds to a VLAN ID; within a first predetermined time, if the client receives the DHCP DISCOVER packet from the server corresponding to the DHCP response message, acquires the packet VLAN based on the DHCP response ID and IP address.

[0009] 进一步地,VLAN中客户端确定客户端发送的报文需要携带VLAN ID包括:客户端发送DHCP报文,其中DHCP报文取消携带VLAN ID ;在第二预定时间内,如果客户端未接收到DHCP报文对应的DHCP响应报文,则确定客户端发送的报文需要携带VLANID。 [0009] Further, VLAN client message sent by the client to determine the need to carry VLAN ID comprising: a client sends a DHCP message, the DHCP message carries cancel VLAN ID; within a second predetermined time, if the client does not receiving a DHCP response packet corresponding to the DHCP message, it is determined that the packet sent by the client needs to carry VLANID.

[0010] 进一步地,客户端发送多个携带有VLAN ID的DHCPDISC0VER报文包括:客户端在DHCP DISCOVER报文中携带预定的DHCP选项,其中,DHCP选项为系统设置的用于标识客户端对应的服务器的值。 [0010] Further, a plurality of client sends the VLAN ID DHCPDISC0VER carries packets comprising: a client carried in DHCP option predetermined DHCP DISCOVER packet, wherein, the DHCP option is used to identify the client system corresponding to the set the value of the server.

[0011] 进一步地,客户端根据DHCP响应报文获取VLAN ID和IP地址包括:客户端判断DHCP响应报文是否携带有DHCP选项;如果判断结果为是,则确定DHCP响应报文来自对应的服务器,并从DHCP响应报文中获取VLAN ID和IP地址。 [0011] Further, the client uses a DHCP response packet acquisition VLAN ID and IP address comprises: the client determines DHCP response packet whether to include a DHCP option; if the determination result is YES, it is determined that the DHCP response message server from a corresponding , and acquires the VLAN ID and IP address from the DHCP response message.

[0012] 进一步地,DHCP DISCOVER报文发送的最大数量为4094。 [0012] Further, the maximum number of packets sent DHCP DISCOVER 4094.

[0013] 为了实现上述目的,根据本发明的另一个方面,提供了一种客户端。 [0013] To achieve the above object, according to another aspect of the invention, there is provided a client.

[0014] 根据本发明的客户端包括:确定模块,用于确定客户端发送的报文需要携带虚拟局域网标识VLAN ID ;发送模块,用于向VLAN中的动态主机分配协议DHCP服务器发送多个携带有VLAN ID的动态主机分配协议发现DHCP DISCOVER报文,其中每个DHCPDISC0VER 报文对应一个VLAN ID ;获取模块,用于在第一预定时间内,在客户端接收到来自服务器的DHCP DISCOVER报文对应的DHCP响应报文时,根据DHCP响应报文获取VLAN ID和IP地址。 [0014] According to the present invention, the client comprises: determining means for determining the packet sent by the client needs to carry VID VLAN ID; transmitting means for transmitting to the plurality of carrying the VLAN Dynamic Host Configuration Protocol DHCP server there VLAN ID found in the dynamic host Configuration protocol DHCP dISCOVER packet, each packet corresponding to a DHCPDISC0VER VLAN ID; obtaining module, configured within a first predetermined time, the client receives the DHCP dISCOVER packet from the server corresponding to the DHCP response message, a DHCP response message according to the acquired IP address and VLAN ID.

[0015] 进一步地,确定模块包括:发送子模块,用于发送DHCP报文,其中DHCP报文取消携带VLAN ID ;VLAN ID确定子模块,用于在第二预定时间内,在客户端未接收到DHCP报文对应的DHCP响应报文时,确定客户端发送的报文需要携带VLAN ID。 [0015] Further, the determination module comprises: a sending submodule, configured to send a DHCP message, the DHCP message carries cancel VLAN ID; VLAN ID determination sub-module for a second predetermined time, the client is not received DHCP packet time corresponding to the packet to DHCP response packet sent by the client to determine the need to carry a VLAN ID.

[0016] 进一步地,发送模块包括:携带子模块,用于在DHCPDISC0VER报文中携带预定的DHCP选项,其中,DHCP选项为系统设置的用于标识客户端对应的服务器的值。 [0016] Further, the transmitting module comprises: carrying sub-module, for carrying a predetermined message in DHCP option DHCPDISC0VER, wherein, the DHCP option value for the server identifier corresponding to the client system settings.

[0017] 进一步地,获取模块包括:判断子模块,用于判断DHCP响应报文是否携带有DHCP 选项;报文确定子模块,用于在判断结果为是时,确定DHCP响应报文来自对应的服务器;获取子模块,用于从DHCP响应报文中获取VLAN ID和IP地址。 [0017] Further, the obtaining module comprises: a judging submodule, configured to judge whether the DHCP response message carrying the DHCP option; message determination sub-module, for the determination result is YES, it is determined from the DHCP response packet corresponding to server; obtaining sub-module, configured to acquire VLAN ID and IP address from the DHCP response message.

[0018] 进一步地,第一发送模块发送的DHCP DISCOVER报文的最大发送数量为4094。 [0018] Further, the maximum number of send DHCP DISCOVER message sent by a first sending module 4094.

[0019] 通过本发明,采用虚拟局域网VLAN中客户端确定客户端发送的报文需要携带虚拟局域网标识VLAN ID;客户端向VLAN中的服务器发送多个携带有VLAN ID的动态主机分配协议DHCPDISCOVER报文,其中每个DHCP DISCOVER报文对应一个VLANID ;在第一预定时间内,如果客户端接收到来自服务器的DHCPDISC0VER报文对应的DHCP响应报文,则根据DHCP响应报文获取VLAN ID和IP地址,解决了相关技术中,如果网络传输要求DHCP客户端设备发出的报文携带VLAN ID的报文,DHCP客户端需要在发送报文前配置好自己的VLAN ID和IP地址,该过程比较繁琐且容易出错,从而导致DHCP协商失败的问题,进而达到了提高网络配置效率和准确率的效果。 [0019] By the present invention, a virtual local area network VLAN client determines that the client needs to carry packets sent VID VLAN ID; carries a plurality of client sends the VLAN ID Dynamic Host Configuration Protocol DHCPDISCOVER packet to a VLAN server text, where each packet corresponds to a DHCP DISCOVER the VLANID; within a first predetermined time, if the client receives the packet from the server DHCPDISC0VER corresponding DHCP response message, acquires the packet according to IP address and VLAN ID DHCP response to solve the related art, if the network transmission requirements DHCP client device sends packets with the VLAN ID of the packet, DHCP clients need to be configured before sending the message their own VLAN ID and IP address, the process is cumbersome and error-prone, leading to problems DHCP negotiation failure, thus achieving the effect of improving the efficiency of network configurations and accurate rates.

附图说明 BRIEF DESCRIPTION

[0020] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 [0020] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, exemplary embodiments of the present invention are used to explain the present invention without unduly limiting the present invention. 在附图中: In the drawings:

[0021] 图1是根据相关技术的VLAN网络拓扑图; [0021] FIG. 1 is a network topology VLAN according to the related art;

[0022] 图2是根据本发明实施例的获取VLAN ID和IP地址的方法的流程图; [0022] FIG 2 is a flowchart of a method of acquiring an IP address and VLAN ID to an embodiment of the present invention;

[0023] 图3是根据本发明优选实施例的获取VLAN ID和IP地址的方法的流程图;[0024] 图4是根据本发明实施例的客户端的结构框图;以及 [0023] FIG. 3 is a flowchart VLAN ID and IP address obtaining method according to a preferred embodiment of the present invention; [0024] FIG. 4 is a block diagram of a client according to an embodiment of the present invention; and

[0025] 图5是根据本发明实施例的客户端的优选的结构框图。 [0025] FIG. 5 is an embodiment of a client in accordance with the present invention is preferably a block diagram showing a configuration.

具体实施方式 detailed description

[0026] 下文中将参考附图并结合实施例来详细说明本发明。 [0026] Hereinafter with reference to the accompanying drawings and embodiments of the present invention will be described in detail. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0027] 在本发明的下述实施例都是基于在VLAN网络中的应用,图1是根据相关技术的VLAN网络拓扑图,如图1所示,客户端通过交换机接入到网络中,和DHCP服务器进行通信。 [0027] In the following embodiments of the present invention are based on the VLAN network application, FIG. 1 is a VLAN network topology related art, as shown in FIG. 1 by the client access to the network switch, and DHCP server for communication.

[0028] 实施例一 [0028] Example a

[0029] 在本实施例中,提供了一种获取VLAN ID和IP地址的方法。 [0029] In the present embodiment, there is provided a method for obtaining the IP address and VLAN ID. 图2是根据本发明实施例的获取VLAN ID和IP地址的方法的流程图,如图2所示,包括: FIG 2 is a flowchart VLAN ID and IP address acquisition method according to an embodiment of the present invention, shown in Figure 2, comprising:

[0030] 步骤S202,VLAN中客户端确定该客户端发送的报文需要携带虚拟局域网标识VLAN ID0 [0030] Step S202, VLAN client determines that the packet sent by the client needs to carry VID VLAN ID0

[0031] 步骤S204,客户端向VLAN中的DHCP服务器发送多个携带有VLAN ID的动态主机分配协议发现DHCP DISCOVER报文,其中每个DHCP DISCOVER报文对应一个VLAN ID。 [0031] Step S204, the client sends to a VLAN plurality of DHCP server has carried Dynamic Host Configuration Protocol DHCP DISCOVER VLAN ID discovery packet, wherein each of the DHCP DISCOVER packet corresponds to a VLAN ID.

[0032] 步骤S206,在第一预定时间内,如果客户端接收到来自服务器的DHCP DISCOVER 报文对应的DHCP响应报文,则根据DHCP响应报文获取VLAN ID和IP地址。 [0032] step S206, the first predetermined time, if the client receives the DHCP DISCOVER packet from the server corresponding to the DHCP response message, acquires the packet VLAN ID and IP address based on DHCP response.

[0033] 通过上述步骤,根据DHCP响应报文获取VLAN ID和IP地址,避免了相关技术中如果网络传输要求DHCP客户端设备发出的报文携带VLAN ID的报文,DHCP客户端需要在发送报文前配置好自己的VLAN ID,该过程比较繁琐且容易出错,从而导致DHCP协商失败的问题,实现了DHCP客户端自动获取VLAN ID和IP地址,提高了网络配置的效率及准确性。 [0033] Through the above steps, according to the DHCP response message acquired VLAN ID and IP address, to avoid the packet in the related art, if the network transmission requirements DHCP client device sends a packet carries a VLAN ID, the DHCP client needs to send packets previously configured their VLAN ID, the process is tedious and error-prone, leading to problems DHCP negotiation failure to achieve a DHCP client to automatically obtain IP address and VLAN ID, improve the efficiency and accuracy of network configuration.

[0034] 下面对步骤S202中VLAN中客户端确定客户端发送的报文需要携带VLAN ID的一个优选的实施方式进行说明。 [0034] Next, in step S202 client VLAN packets sent by the client to determine the need to carry a VLAN ID of the preferred embodiment will be described. 在该优选实施方式中,客户端首先发送DHCP报文,其中DHCP 报文取消携带VLAN ID;然后在第二预定时间内,如果客户端未接收到DHCP报文对应的DHCP响应报文,则确定客户端发送的报文需要携带VLAN ID。 In the preferred embodiment, the first client sends a DHCP message, the DHCP message carries cancel VLAN ID; then within a second predetermined time, if the client has not received the DHCP response packets corresponding to the DHCP packet is determined the message sent by the client need to carry VLAN ID. 通过该优选实施例的确定步骤,在第二预定时间内,可以根据客户端未接收到DHCP报文对应的DHCP响应报文确定客户端发送的报文需要携带VLAN ID,通过该实施例实现了对客户端发送的报文是否携带虚拟局域网标识VLAN ID的判断。 By the step of determining the preferred embodiment, a second predetermined time may DHCP packet is not received DHCP response message corresponding to the message sent by the client to determine the need to carry VLAN ID, achieved by this embodiment of the client the message sent by the client to determine whether to carry a VLAN ID of the virtual.

[0035] 例如:向网络连续发送多个带VLAN标签的DHCP DISCOVER报文,每个DISCOVER报文的VLAN ID均不一样。 [0035] For example: sending a plurality of VLAN tag continuous to the network DHCP DISCOVER packet, each DISCOVER packet VLAN ID are not the same. 如果在发送过程中收到了带VLAN标签的DHCP响应报文并且报文内容正确,选项校验正确,则立即停止发送报文,并且通过响应报文获取VLANID以及IP地址,在后续发送报文使用获得的VLAN ID与IP地址。 If the received DHCP VLAN tag in the process of sending the response packet and the message contents correctly, check the correct option, then immediately stop sending packets, and the packet and acquires an IP address VLANID response, sending a subsequent message using VLAN ID and IP address obtained. 通过这种方式,如果收到响应报文的速度较慢,那么发送DHCP报文的最大数量为4094个(一个VLAN ID对应一个DHCP报文)。 In this manner, if the received response packet is slower, then the maximum number of send DHCP packet 4094 (VLAN ID corresponding one of a DHCP message).

[0036] 下面对步骤S204中客户端发送多个携带有VLAN ID的DHCPDISCOVER报文的一个优选的实施方式进行说明。 [0036] Next, in step S204 transmits the client has a preferred VLAN ID DHCPDISCOVER packet carrying a plurality of embodiments will be described. 在该优选实施方式中,客户端在DHCP DISCOVER报文中携带预定的DHCP选项,其中,DHCP选项为系统设置的用于标识客户端对应的服务器的值。 In the preferred embodiment, the predetermined client DHCP option carrying the DHCP DISCOVER packet, wherein, for the DHCP option values ​​set for the server system identifies the corresponding client. 通过该优选实施例的携带步骤,可以在DHCP DISCOVER报文中携带用于标识客户端对应的服务器的值,可以避免收到干扰的DHCP响应报文,实现了客户端对与其对应的服务器的标识。 The procedure of Example carried by the preferred embodiment, may carry a value corresponding to the server identifies the client in the DHCP DISCOVER packet, the DHCP avoid interference received response packet, to achieve the identification of the corresponding client server .

[0037] 下面对步骤S206中客户端根据DHCP响应报文获取VLAN ID和IP地址的一个优选的实施方式进行说明。 [0037] Next, step S206 will be described in accordance with a client DHCP response packet acquisition VLAN ID and IP address of a preferred embodiment. 在该优选实施方式中,客户端首先判断DHCP响应报文是否携带有DHCP选项;如果判断结果为是,则确定DHCP响应报文来自对应的服务器,并从DHCP响应报文中获取VLAN ID和IP地址。 In this preferred embodiment, the client first determines whether the DHCP response message whether to include a DHCP option; if the determination result is YES, it is determined that the DHCP response message server from a corresponding, and acquires the VLAN ID and IP from the DHCP response packet address. 通过该优选实施例的判断步骤,判断该DHCP响应报文是来自对应服务器的正确报文,从而可以从该DHCP响应报文中获取VLAN ID和IP地址,实现了对不同服务器的响应报文的鉴别。 By determining procedure of Example of the preferred determination of the DHCP response packet is a correct packet from a corresponding server, thereby packets acquired VLAN ID and IP address response from the DHCP, to achieve a different server response message identification.

[0038] 例如:在实际系统中,在DHCP服务器上配置选项60,选项60的值为一个特殊的标识值。 [0038] For example: in the actual system configuration option on the DHCP server 60, 60 is a special option identification value. 在DHCP CLIENT设备构造报文时,在请求列表中添加鉴别选项60,并当DHCP SERVER 收到设备的请求后,在响应报文中填充这个特殊的标识。 When DHCP CLIENT packets device configured to add the authentication request option list 60, and when the DHCP SERVER device receives the request, in response to the filling of this particular packet identifier. DHCP CLIENT设备收到DHCP响应时,提取选项60的值,并与特殊值进行比较,如果相同,则认为是期望的DHCP响应报文,认为收到了正确的响应,从这个报文中提取VLAN ID与IP地址;否则,认为这个响应报文不正确,丢弃这个响应报文。 When DHCP CLIENT device receives a DHCP response, extract the value of the option is 60, and compared with special value, if the same, then that is desired DHCP response packet that received the correct response, VLAN ID is extracted from the packet and IP address; otherwise, that this is not the correct response packet, discards the response packet.

[0039] 优选地,DHCP DISCOVER报文发送的最大数量为4094,该优选实施例限定了DHCP DISCOVER报文的发送的最大数量。 [0039] Preferably, the maximum number of messages sent by DHCP DISCOVER 4094, the embodiment defines the maximum number of packets sent DHCP DISCOVER this preferred.

[0040] 实施例二 [0040] Second Embodiment

[0041] 在本实施例中,实现了客户端对VLAN ID和IP地址的获取。 [0041] In the present embodiment, to achieve access to the client IP address and VLAN ID.

[0042] 图3是根据本发明优选实施例的获取VLAN ID和IP地址的方法的流程图,如图3 所示,包括: [0042] FIG. 3 is a flowchart VLAN ID and IP address acquisition methods of the preferred embodiment of the present invention, shown in Figure 3, comprising:

[0043] 步骤S302,构造一个不带VLAN标签的DHCP DISCOVER报文,选项请求列表中携带选项60,通过网络接口将报文发送出去。 [0043] Step S302, DHCP DISCOVER packet without a VLAN tag configured, the options carried in the request list option 60, the packets are sent through the network interface.

[0044] 步骤S304,设置一个定时器进入等待状态;如果在等待的60s内收到了DHCP OFFER报文,并且DHCP OFFER报文通过了选项60的校验,则设备构造DHCP REQUEST分组并通过网络接口发送出去,如果收到了DHCP ACK报文,并且报文内容正确,则设备完成了正确的DHCP报文交互过程,并且获取的IP地址是有效的,进入到步骤S306 ;如果判断结果为否,即在在60s内没有收到正确的DHCP ACK报文,则进入到步骤S310。 [0044] step S304, the timer is set to enter a waiting state; if the received DHCP OFFER messages waiting in the 60s, and the DHCP OFFER message by checking option 60, the apparatus is configured DHCP REQUEST packet via the network interface sent, if the received DHCP ACK message, and the message contents correctly, the device is completed correctly DHCP message exchange process, and obtains the IP address is valid, the process proceeds to step S306; if the determination result is NO, i.e., in the 60s is not received within the correct DHCP ACK packet, the process proceeds to step S310.

[0045] 步骤S306,设置网络的VLAN ID是无效的,此后通过网络接口发送报文时,发出的报文均不带VLAN ID。 [0045] Step S306, VLAN ID is invalid network setting, when the interface thereafter transmitting packets over the network, packets are not sent with the VLAN ID.

[0046] 步骤S308,从DHCP响应报文(DHCP OFFER报文与DHCPACK报文)中提取IP地址, 并使用这个地址进行报文收发。 [0046] step S308, the packet (packet with the DHCP OFFERs DHCPACK packet) extracted from the DHCP response IP address and use this address for packet reception and transmission.

[0047] 步骤S310,一秒钟构造100个DHCP DISCOVER报文,请求列表中携带选项60,每个报文都携带VLAN标签,每个报文携带的VLAN ID依序增加,并且各不相同,通过网络接口100个报文连续发送出去。 [0047] step S310, the second configuration of a DHCP DISCOVER message 100, the request carries the list of options 60, each packet carries a VLAN tag, each packet carries a VLAN ID sequentially increased and varied, continuously sent through the network interface 100 packets.

[0048] 步骤S312,检查是否收到带VLAN的选项60正确的DHCP0FFER响应;若没有收到正确的响应,则转到步骤S314 ;若收到正确的响应,则转到步骤S316。 [0048] step S312, the option to check whether the received VLAN 60 with the correct response DHCP0FFER; if the correct response is not received, then go to step S314; if the correct response is received, then go to step S316.

[0049] 步骤S314,判断是否已经发送完4094个报文,若没有发送完毕,则转到步骤S310 继续发送报文;若已经发送完毕,则不再发送。 [0049] step S314, the transmission has been completed is determined 4094 whether the message has been sent, if no, go to step S310 to continue transmitting packets; if the transmission has been completed, it is no longer transmitted.

[0050] 步骤S316,如果收到了带VLAN的DHCP OFFER报文,设备构造DHCP REQUEST报文, 并且在以太网层填充与OFFER报文相同的VLAN标签,通过网络接口将DHCP REQUEST发送出去,当收到了DHCP ACK报文后,并且报文内容正确,则设备完成了正确的DHCP报文交互过程,并且获取的IP地址是有效的,进入到步骤S318。 [0050] step S316, the if the received DHCP OFFER packet with the VLAN, the device is configured DHCP REQUEST message, and the same filling OFFER packet layer Ethernet VLAN tag, through the network interface to send out DHCP REQUEST, when closing DHCP ACK packet to the rear, and the message content correctly, the machine completed the correct DHCP packet exchange process and obtain the IP address is valid, go to step S318. [0051] 步骤S318,设置网络的VLAN ID为DHCP OFFER报文的VLAN ID,此后通过网络接口发送报文时,发出的报文均都携带VLAN标签,并且VLAN ID与DHCP OFFER报文的VLAN ID相同。 [0051] Step S318, VLAN ID set network to DHCP OFFER packet VLAN ID, thereafter through the network interface to send packets, packets sent by each carries a VLAN tag and the VLAN ID DHCP OFFER packet VLAN ID the same.

[0052] 步骤S320,从DHCP响应报文(DHCP OFFER报文与DHCPACK报文)中提取IP地址, 并使用这个地址进行报文收发。 [0052] step S320, the response from the DHCP message (DHCP packet and OFFERs DHCPACK packet) extracts the IP address and use this address to send and receive packets.

[0053] 在实施例中,客户端可以识别网络场景,实现了在不带VLANID场景中通过正常的DHCP报文获取IP地址,在带VLAN ID的场景中,通过发送多个VLAN的DHCP报文获取VLAN ID和IP地址。 [0053] In an embodiment, the client may identify network scenario, realized in a scene without VLANID normal IP address through DHCP messages, in the scene with the VLAN ID, VLAN by sending a plurality of DHCP messages Gets VLAN ID and IP address.

[0054] 实施例三 [0054] Example three

[0055] 本实施例综合了实施例一及其中的优选实施方式,在本实施例中提供了一种客户端。 [0055] The present embodiment combines the embodiments of a preferred embodiment and the embodiment of, in this embodiment there is provided a client in the present embodiment. 图4是根据本发明实施例的客户端的结构框图,如图4所示,该客户端包括: FIG 4 is a block diagram of a client according to an embodiment of the present invention, shown in Figure 4, the client comprising:

[0056] 确定模块42,用于确定客户端发送的报文需要携带虚拟局域网标识VLAN ID ;发送模块44,连接至确定模块42,在确定模块42确定客户端发送的报文需要携带虚拟局域网标识VLAN ID时,用于向VLAN中的DHCP服务器发送多个携带有VLAN ID的动态主机分配协议DHCP DISCOVER报文,其中每个DHCP DISCOVER报文对应一个VLAN ID ;获取模块46, 连接至发送模块44,用于在第一预定时间内,在客户端接收到来自服务器的发送模块44发送的DHCP DISCOVER报文对应的DHCP响应报文时,根据DHCP响应报文获取VLAN ID和IP 地址。 [0056] The determination module 42 for determining a packet sent by the client needs to carry VID VLAN ID; sending module 44 is connected to the determining module 42, the determining module 42 determines the packets sent by the client needs to carry virtual local area network identifier when the VLAN ID, for transmitting a plurality of DHCP servers to a VLAN that carries the VLAN ID dynamic host Configuration protocol DHCP DISCOVER packet, wherein each of the DHCP DISCOVER packet corresponds to a VLAN ID; obtaining module 46, transmission module 44 is connected to the for the first predetermined time, the client at the time corresponding to the DHCP DISCOVER packet from the DHCP server sending module 44 transmitted response packet is received, according to the DHCP response message acquired VLAN ID and IP address.

[0057] 图5是根据本发明实施例的客户端的优选的结构框图,如图5所示,确定模块42 包括发送子模块422和VLAN ID确定子模块424,发送模块44包括:携带子模块442,获取模块44包括:判断子模块462、报文确定子模块464和获取子模块466,下面对上述结构进行详细描述: [0057] FIG. 5 is a block diagram showing a preferred embodiment of a client according to an embodiment of the present invention, shown in Figure 5, module 42 includes a determination sub-module 422 and a transmitting VLAN ID determination sub-module 424, transmission module 44 comprises: carrying submodule 442 obtaining module 44 comprises: a judging submodule 462, packet determination sub-module 464 and the obtaining sub-module 466, the following detailed description of the above structure:

[0058] 确定模块42包括:发送子模块422,用于发送DHCP报文,其中DHCP报文取消携带VLAN ID ;VLAN ID确定子模块424,连接至发送子模块422,用于在第二预定时间内,在客户端未接收到发送子模块422发送的DHCP报文对应的DHCP响应报文时,确定客户端发送的报文需要携带VLAN ID。 [0058] The determining module 42 comprises: sending submodule 422, configured to send a DHCP message, the DHCP message carries cancel VLAN ID; VLAN ID determination sub-module 424 is connected to the transmission sub-module 422 for a second predetermined time inside, when the client has not received the DHCP packets sent by the sub-module 422 corresponding to the DHCP response message, determining the packet sent by the client need to carry VLAN ID.

[0059] 发送模块44包括:携带子模块442,连接至VLAN ID确定子模块424,用于在DHCP DISCOVER报文中携带预定的DHCP选项,其中,DHCP选项为系统设置的用于标识客户端对应的服务器的值。 [0059] The sending module 44 comprises: carrying sub-module 442, is connected to the VLAN ID determination sub-module 424 for carrying a predetermined DHCP option in the DHCP DISCOVER packet, wherein, the DHCP option is used to identify the client system corresponding to the set the value of the server.

[0060] 获取模块46包括: [0060] 46 acquisition module comprises:

[0061] 判断子模块462,用于判断DHCP响应报文是否携带有DHCP选项;报文确定子模块464,连接至判断子模块462,用于在判断子模块462判断结果为是时,确定DHCP响应报文来自对应的服务器;获取子模块466,连接至报文确定子模块464,用于在报文确定子模块464 确定DHCP响应报文来自对应的服务器时,从DHCP响应报文中获取VLAN ID和IP地址。 [0061] The determination sub-module 462, configured to judge whether the DHCP response message carrying the DHCP option; message determination sub-module 464, 462 is connected to the determination sub-module, for determining the result of the determination sub-module 462 is yes, it is determined DHCP response packet from a corresponding server; obtaining sub-module 466 connected to the packet determination sub-module 464, configured to acquire VLAN packet from the DHCP response message when determining sub-module 464 determines a corresponding DHCP response packet from the server ID and IP address.

[0062] 优选地,第一发送模块发送的DHCP DISCOVER报文的最大发送数量为4094。 [0062] Preferably, the maximum number of send DHCP DISCOVER message sent by a first sending module 4094.

[0063] 通过本发明上述的实施例,DHCP客户端设备能够适应不同的网络场景获取IP地址。 [0063] By the above-described embodiments of the invention, DHCP clients device to adapt to different network scenarios obtain an IP address. 在不带VLAN的场景中通过正常的DHCP报文获取IP地址,在带VLAN的网络环境中,通过发送多个VLANID的DHCP报文获取IP地址,提高了网络配置的效率和准确率。 Normal IP address through DHCP packets in a scene without a VLAN, a VLAN in a network environment, a plurality VLANID by sending a DHCP packet to obtain IP addresses, improve the efficiency and accuracy of network configurations.

[0064] 显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 [0064] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be used general-purpose computing device, they can be integrated in a single computing device or distributed across multiple computing devices available on the Internet, optionally, they can be implemented with program codes executable by a computing device, so that, to be performed by a computing device stored in a storage means, and in some cases, may be different from this at step sequence shown or described, or they are made into integrated circuit modules, or by making them of a plurality of modules or steps in a single integrated circuit module. 这样,本发明不限制于任何特定的硬件和软件结合。 Thus, the present invention is not limited to any particular hardware and software combination. [0065] 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。 [0065] The above description is only preferred embodiments of the present invention, it is not intended to limit the invention to those skilled in the art, the present invention may have various changes and variations. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (10)

  1. 一种获取虚拟局域网标识VLAN ID和网络协议IP地址的方法,其特征在于,包括:虚拟局域网VLAN中客户端确定所述客户端发送的报文需要携带虚拟局域网标识VLAN ID;所述客户端向所述VLAN中的动态主机分配协议DHCP服务器发送多个携带有VLAN ID的动态主机分配协议发现DHCP DISCOVER报文,其中每个所述DHCP DISCOVER报文对应一个VLAN ID;在第一预定时间内,如果所述客户端接收到来自所述服务器的所述DHCP DISCOVER报文对应的DHCP响应报文,则根据所述DHCP响应报文获取所述VLAN ID和所述IP地址。 A method for acquiring a virtual local area network identifier VLAN ID and IP address of the network protocol, characterized by comprising: a VLAN is determined that the client message sent by the client needs to carry VID VLAN ID; to the client the VLAN dynamic host configuration protocol DHCP server sends a dynamic host Configuration protocol carrying a plurality of VLAN ID has found DHCP dISCOVER packet, wherein each of the DHCP dISCOVER packet corresponds to a VLAN ID; within a first predetermined time, If the client receives the DHCP DISCOVER packet from the server corresponding to the DHCP response message, according to the DHCP response message to acquire the VLAN ID and the IP address.
  2. 2.根据权利要求1所述的方法,其特征在于,VLAN中客户端确定所述客户端发送的报文需要携带VLAN ID包括:所述客户端发送DHCP报文,其中所述DHCP报文取消携带所述VLAN ID ;在第二预定时间内,如果所述客户端未接收到所述DHCP报文对应的DHCP响应报文,则确定所述客户端发送的报文需要携带所述VLAN ID。 2. The method according to claim 1, wherein, VLAN client determines the packet sent by the client needs to carry the VLAN ID comprises: the client sends a DHCP message, wherein the DHCP message Cancel carries the VLAN ID; within a second predetermined time, if the client has not received the DHCP message to the corresponding DHCP response packet, determining the packet sent by the client need to carry the VLAN ID.
  3. 3.根据权利要求1所述的方法,其特征在于,所述客户端发送多个携带有VLAN ID的DHCP DISCOVER 报文包括:所述客户端在所述DHCP DISCOVER报文中携带预定的DHCP选项,其中,所述DHCP选项为系统设置的用于标识所述客户端对应的服务器的值。 3. The method according to claim 1, characterized in that, the client sends the VLAN ID that carries a plurality of DHCP DISCOVER message comprises: the client in a predetermined carrying the DHCP DISCOVER message DHCP option , wherein said DHCP option values ​​set for the system for identifying the server corresponding to the client's.
  4. 4.根据权利要求3所述的方法,其特征在于,所述客户端根据所述DHCP响应报文获取所述VLAN ID和所述IP地址包括:所述客户端判断所述DHCP响应报文是否携带有所述DHCP选项;如果判断结果为是,则确定所述DHCP响应报文来自对应的所述服务器,并从所述DHCP 响应报文中获取所述VLANID和所述IP地址。 4. The method according to claim 3, wherein said client acquires the packet VLAN ID and the IP address according to the DHCP response comprising: the client determining whether the DHCP response packet carrying the DHCP option; if the determination result is YES, it is determined that the response packet to the DHCP server from a corresponding packet and acquire the VLANID and the IP address from the DHCP response.
  5. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述DHCP DISCOVER报文发送的最大数量为4094。 The method according to any one of claims 1 to 4, wherein the maximum number of the DHCP DISCOVER message sent 4094.
  6. 6. 一种客户端,其特征在于,包括:确定模块,用于确定所述客户端发送的报文需要携带虚拟局域网标识VLAN ID ;发送模块,用于向所述VLAN中的动态主机分配协议DHCP服务器发送多个携带有VLAN ID的动态主机分配协议发现DHCP DISCOVER报文,其中每个所述DHCPDISCOVER报文对应一个VLAN ID ;获取模块,用于在第一预定时间内,在所述客户端接收到来自所述服务器的所述DHCP DISCOVER报文对应的DHCP响应报文时,根据所述DHCP响应报文获取所述VLAN ID和所述IP地址。 A client, characterized by, comprising: determining means for determining the packet sent by the client needs to carry VID VLAN ID; transmitting means for dynamic host configuration protocol to the VLAN dynamic host Configuration protocol DHCP server has transmitted VLAN ID found carrying a plurality of DHCP dISCOVER packet, wherein each of said DHCPDISCOVER packet corresponding to a VLAN ID; obtaining module, configured within a first predetermined time, the client receives the DHCP DISCOVER packet from the DHCP server corresponding to the response packet, the response packet VLAN ID and acquires the IP address according to the DHCP.
  7. 7.根据权利要求6所述的客户端,其特征在于,所述确定模块包括:发送子模块,用于发送DHCP报文,其中所述DHCP报文取消携带所述VLAN ID ;VLAN ID确定子模块,用于在第二预定时间内,在所述客户端未接收到所述DHCP报文对应的DHCP响应报文时,确定所述客户端发送的报文需要携带所述VLAN ID。 7. A client according to claim 6, wherein the determining module comprises: a sending submodule, configured to send a DHCP packet, wherein said cancel message carrying the DHCP VLAN ID; determination sub-VLAN ID means for a second predetermined time, the client has not received the DHCP message to the corresponding DHCP response message, determining the packet sent by the client need to carry the VLAN ID.
  8. 8.根据权利要求6所述的客户端,其特征在于,所述发送模块包括:携带子模块,用于在所述DHCP DISCOVER报文中携带预定的DHCP选项,其中,所述DHCP 选项为系统设置的用于标识所述客户端对应的服务器的值。 8. The client according to claim 6, wherein the sending module comprises: carrying sub-module, for carrying the predetermined DHCP DISCOVER message DHCP option, wherein said DHCP option for the system setting a value corresponding to the client identifying the server.
  9. 9.根据权利要求8所述的客户端,其特征在于,所述获取模块包括: 判断子模块,用于判断所述DHCP响应报文是否携带有所述DHCP选项;报文确定子模块,用于在判断结果为是时,确定所述DHCP响应报文来自对应的所述服务器;获取子模块,用于从所述DHCP响应报文中获取所述VLAN ID和所述IP地址。 The client according to claim 8, wherein the obtaining module comprises: a judging submodule, configured to judge whether the DHCP response message carrying the DHCP option; message determination sub-module, with in the determination result is YES, it is determined in the DHCP response packet to the server from a corresponding; obtaining sub-module, configured to acquire the packet VLAN ID and the IP address from the DHCP response.
  10. 10.根据权利要求6至9任一项所述的客户端,其特征在于,所述第一发送模块发送的DHCP DISCOVER报文的最大发送数量为4094。 10. The client according to any one of claims 6-9, wherein the maximum number of sending the DHCP DISCOVER message sent by a first sending module 4094.
CN 201010220456 2010-06-28 2010-06-28 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses CN101883158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010220456 CN101883158B (en) 2010-06-28 2010-06-28 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010220456 CN101883158B (en) 2010-06-28 2010-06-28 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses

Publications (2)

Publication Number Publication Date
CN101883158A true true CN101883158A (en) 2010-11-10
CN101883158B CN101883158B (en) 2015-01-28

Family

ID=43055040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010220456 CN101883158B (en) 2010-06-28 2010-06-28 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses

Country Status (1)

Country Link
CN (1) CN101883158B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185766A (en) * 2011-04-26 2011-09-14 杭州华三通信技术有限公司 Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
CN102957604A (en) * 2011-08-24 2013-03-06 中国电信股份有限公司 Service route configuration method and system, home gateway and terminal
CN103501354A (en) * 2013-09-03 2014-01-08 大唐移动通信设备有限公司 Method and device for obtaining base station self-starting configuration parameters
CN103931144A (en) * 2013-07-08 2014-07-16 华为技术有限公司 Method, equipment and system for communication in virtual domain
CN105450430A (en) * 2014-07-17 2016-03-30 华为技术有限公司 Information transmission method and device
CN103684966B (en) * 2013-12-10 2017-04-05 华为技术有限公司 A Dynamic Host Configuration Protocol packet processing method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416239A (en) * 2001-10-31 2003-05-07 华为技术有限公司 Method for switching in virtual local area network of the access network with mixed optical fiber and coaxial line
US20050005154A1 (en) * 2003-07-03 2005-01-06 Andrew Danforth Method to block unauthorized access to TFTP server configuration files
CN1855926A (en) * 2005-04-29 2006-11-01 华为技术有限公司 Method and system for contributing DHCP addresses safely
US20090193103A1 (en) * 2008-01-29 2009-07-30 Small Keith M Method of and System for Support of User Devices Roaming Between Routing Realms by a Single Network Server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1416239A (en) * 2001-10-31 2003-05-07 华为技术有限公司 Method for switching in virtual local area network of the access network with mixed optical fiber and coaxial line
US20050005154A1 (en) * 2003-07-03 2005-01-06 Andrew Danforth Method to block unauthorized access to TFTP server configuration files
CN1855926A (en) * 2005-04-29 2006-11-01 华为技术有限公司 Method and system for contributing DHCP addresses safely
US20090193103A1 (en) * 2008-01-29 2009-07-30 Small Keith M Method of and System for Support of User Devices Roaming Between Routing Realms by a Single Network Server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贾小东等: "DHCP协议缺点及其解决方案", 《计算机工程》, vol. 33, no. 23, 31 December 2007 (2007-12-31), pages 138 - 140 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185766A (en) * 2011-04-26 2011-09-14 杭州华三通信技术有限公司 Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
WO2012146120A1 (en) * 2011-04-26 2012-11-01 Hangzhou H3C Technologies Co., Ltd. Method for forwarding response packet from dhcp server, forwarding device and system
CN102957604A (en) * 2011-08-24 2013-03-06 中国电信股份有限公司 Service route configuration method and system, home gateway and terminal
CN102957604B (en) * 2011-08-24 2015-09-16 中国电信股份有限公司 Service routing configuration methods, systems, home gateways and terminals
CN103931144A (en) * 2013-07-08 2014-07-16 华为技术有限公司 Method, equipment and system for communication in virtual domain
WO2015003295A1 (en) * 2013-07-08 2015-01-15 华为技术有限公司 Communication method, device and system in virtual domain
CN103931144B (en) * 2013-07-08 2015-11-25 华为技术有限公司 A method of communicating a virtual domain, the system and equipment
CN103501354A (en) * 2013-09-03 2014-01-08 大唐移动通信设备有限公司 Method and device for obtaining base station self-starting configuration parameters
CN103684966B (en) * 2013-12-10 2017-04-05 华为技术有限公司 A Dynamic Host Configuration Protocol packet processing method and apparatus
CN105450430A (en) * 2014-07-17 2016-03-30 华为技术有限公司 Information transmission method and device

Also Published As

Publication number Publication date Type
CN101883158B (en) 2015-01-28 grant

Similar Documents

Publication Publication Date Title
US20120131097A1 (en) Isolation vlan for layer two access networks
CN101022394A (en) Method for realizing virtual local network aggregating method and converging exchanger
CN101753635A (en) Method and system of collocating IPV6 (internet protocol version 6) addresses
US20030084173A1 (en) Method for setting up a communication between a device and a host application over an IP network, host application and DSL router, and software programs realizing said method
CN101789906A (en) Method and system for access authentication of user
CN102170395A (en) Data transmission method and network equipment
CN101888389A (en) Method and system for realizing uniform authentication of ICP union
CN103248724A (en) SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
CN102088388B (en) Method and equipment for automatically distributing/acquiring virtual local area network configuration information
CN102307144A (en) Dynamic host configuration protocol (DHCP) message forwarding method for transparent interconnection of lots of links (TRILL) network and routing bridge
CN1571358A (en) Static user access network control method based on MAC address
CN101656725A (en) Method for implementing safety access and access equipment
CN101534329A (en) IP address assignment method and system
CN104202266A (en) Communication method, switch, controller and communication system
US20150188769A1 (en) Method and device thereof for automatically finding and configuring virtual network
CN101252587A (en) User terminal access right identifying method and apparatus
US20110202670A1 (en) Method, device and system for identifying ip session
CN101175080A (en) Method and system for preventing ARP message attack
CN101771614A (en) DHCP route tracing method and DHCP relay equipment
US20100067509A1 (en) Rapid local address assignment for wireless communication networks
CN1697445A (en) Implementation method for transferring data in virtual private network
US20070195804A1 (en) Ppp gateway apparatus for connecting ppp clients to l2sw
CN101741702A (en) Method and device for limiting broadcast of ARP request
CN101237378A (en) Mapping method and device of virtual LAN
CN103414709A (en) User identity binding and user identity binding assisting method and device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model