WO2007109974A1 - Dispositif et procédé destinés à améliorer l'efficacité de diffusion d'une interface supervlan - Google Patents
Dispositif et procédé destinés à améliorer l'efficacité de diffusion d'une interface supervlan Download PDFInfo
- Publication number
- WO2007109974A1 WO2007109974A1 PCT/CN2007/000739 CN2007000739W WO2007109974A1 WO 2007109974 A1 WO2007109974 A1 WO 2007109974A1 CN 2007000739 W CN2007000739 W CN 2007000739W WO 2007109974 A1 WO2007109974 A1 WO 2007109974A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- supervlan
- broadcast
- interface
- pool
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Definitions
- the present invention relates to an apparatus and method for improving network broadcast efficiency, and more particularly to an apparatus and method for improving broadcast efficiency based on the SUPERVLAN function. Background technique
- SUPERVLAN also known as VLAN aggregation, binds multiple sub-VLANs or real interfaces to a virtual interface.
- This technology enables hosts belonging to different virtual broadcast domains in the same physical switching device to be on the same IPv4 subnet. And use the same default gateway, which can eliminate the original restriction of having to use a private IP subnet in a VLAN or MAN. Using this mechanism can significantly reduce the consumption of IP address space in VLANs or MANs, and improve the efficiency of address usage. In addition, this also reduces the difficulty of IP address management in the network.
- the SUPERVLAN interface When transmitting a broadcast packet, the SUPERVLAN interface needs to broadcast to all VLANs or real interfaces bound to it. If the sub-VLAN or the real interface is bound to a large number of times, the broadcast packets will be copied in multiple copies, which may result in system packet is busy and affects system processing efficiency. For example, the SUPERVLAN interface broadcasts ARP request packets to all sub-VLANs or real interfaces. The response packets are received from a VLAN or a real interface. At the same time, the subnet VLAN or the physical interface of the subnet or the real interface will only receive the broadcast packets on the sub-VLAN or the real interface. The SUPERVLAN interface does not forward these broadcast packets. It is wasteful that the SUPERVLAN interface sends broadcast packets to all sub-VLANs. Summary of the invention
- an object of the present invention is to provide an improvement
- the device and method for the broadcast efficiency of the SUPERVLAN can reduce the broadcast range of the SUPERVLAN interface packets.
- An apparatus for improving broadcast efficiency of a SUPERVLAN comprising: a network device having an SUPERVLAN interface, the network device includes:
- a configuration management module is configured to configure an IP address for the SUPERVLAN interface, bind the VLAN or the real interface to the SUPERVLAN interface, and configure an IP POOL range on the VLAN or the real interface.
- An IP POOL management module configured to manage the IP POOL configuration information; a message sending module, searching for an IP POOL of the VLAN or the real interface in the IP POOL management module according to the source IP address of the packet, and searching for The received VLAN or real interface sends broadcast packets.
- the network device is a three-layer network device.
- the apparatus further includes a write driver module for writing IP POOL configuration information to the underlying driver.
- the SUPERVLAN IP POOL management module includes:
- a user interface module for configuring and maintaining user information
- a database interface module for performing database management of related information
- the SUPERVLAN IP POOL table management module is responsible for the synchronization, write driver, and processing of the transceiver module of the SUPERVLAN IP POOL configuration information.
- the SUPERVLAN IP POOL management module further includes a write driver module, configured to write IP POOL configuration information to the underlying driver.
- the present invention also provides a method for improving the broadcast efficiency of SUPERVLAN, which is characterized in that Includes:
- the existing Layer 3 network device first configure the VLAN or real interface to the SUPERVLAN interface through the configuration management module, and configure the IP POOL range for the VLAN or the real interface. Then use the IP POOL management module to configure the IP POOL configuration information.
- the broadcast ⁇ When the broadcast ⁇ is sent, it is searched in the IP POOL management module according to the source IP address of the message.
- VLAN or real interface belongs to IP POOL
- the SUPERVLAN interface processes broadcast packets.
- the method further includes the step of writing the IP POOL configuration information to the underlying driver using the write driver module.
- the step of writing the IP POOL configuration information to the underlying driver by using the write driver module is included in the step of managing the IP POOL configuration information by using the IP POOL management module.
- the process of processing the broadcast packet according to the result of the search is as follows: If the IP POOL to which the source IP address of the packet belongs is found, the broadcast packet is sent to the VLAN or the real interface corresponding to the IP POOL; To, whether to broadcast or not according to whether the broadcast function of the SUPERVLAN interface is enabled.
- the specific method for determining whether to perform the broadcast transmission is as follows: When the broadcast function of the SUPERVLAN interface is enabled, broadcast to all VLANs or real interfaces; when the broadcast function of the SUPERVLAN interface is disabled, the broadcast is not broadcast.
- the SUPERVLAN interface to send broadcast packets the sending module Gen 1 ⁇ find relevant VLAN or the physical interface in the IP ip POOL the POOL (address pool) management module according to the source IP address to Reduce the range of broadcast packets, and then send broadcast packets to the discovered VLAN or real interface, which improves the efficiency of the system for processing broadcast packets.
- the waste of sending broadcast packets to all sub-VLANs or real interfaces on the SUPERVLAN interface is avoided.
- 1 is a structural block diagram of an apparatus for improving SUPERVLAN broadcast efficiency according to the present invention
- 2 is a networking diagram of a SUPERVLAN functional device according to the present invention
- FIG. 3 is a composition diagram of a SUPERVLAN function module of the present invention.
- FIG. 4 is a flowchart of a process for transmitting a broadcast message of a SUPERVLAN interface according to the present invention
- FIG. 5 is a composition diagram of a SUPERVLAN IP POOL management module of the present invention.
- the invention improves the broadcasting efficiency by manually dividing the IP address segment on the basis of the SUPERVLAN function.
- the device for improving the broadcast efficiency of the SUPERVLAN includes a network device with an SUPERVLAN interface, and the network device includes:
- a configuration management module provides a human-machine interface for configuring an IP address for the SUPERVLAN interface, binding the VLAN or the real interface to the SUPERVLAN interface, and adding an IP POOL binding on the VLAN or the real interface—that is, on the VLA or the real interface. Configure the IP POOL range and enable/disable the IP POOL binding function on the SUPERVLAN interface.
- An IP POOL management module configured to manage the IP POOL configuration information;
- the IP POOL configuration information is a correspondence between a VLAN or a real interface configured by the configuration management module and an IP POOL range;
- a packet sending module searches the IP POOL management module for the IP POOL range corresponding to the VLAN or the real interface according to the source IP address of the packet, and sends a broadcast packet to the found VLAN or the real interface.
- the above network devices may be Layer 3 network devices, such as routers, Ethernet switches, and the like.
- Burgundy ⁇ 1 transmits broadcast packets, by searching the VLAN or IP POOL solid interfaces, or the real only the VLAN interface to transmit broadcast packets, thereby reducing the broadcast packets in the network.
- the POOL to which the IP belongs is not found, according to whether the broadcast function on the SUPERVLAN interface is enabled, if it is enabled to broadcast to all VLANs or real interfaces to which it belongs; If it can be turned off, it will not be broadcast.
- the network device may further include a write driver module, configured to write the IP POOL configuration information to the underlying driver. If the SUPER VLAN enables the IP POOL filtering function, the bottom layer directly filters when the packet is received, if the source IP address of the packet is not in the VLAN. Otherwise, the packet is discarded within the IP POOL range of the real interface. If you are within the IP POOL range of the VLAN or real interface, continue to receive the message.
- a write driver module configured to write the IP POOL configuration information to the underlying driver. If the SUPER VLAN enables the IP POOL filtering function, the bottom layer directly filters when the packet is received, if the source IP address of the packet is not in the VLAN. Otherwise, the packet is discarded within the IP POOL range of the real interface. If you are within the IP POOL range of the VLAN or real interface, continue to receive the message.
- IP POOL filtering is disabled, the underlying layer may not be detected when it is being received.
- a method to improve the efficiency of SUPERVLA broadcasting including:
- the IP POOL management module searches for the IP address of the VLAN or the real interface according to the source IP address of the packet.
- the SUPERVLAN interface processes broadcast packets.
- the process of processing the broadcast packet according to the result of the search is as follows: if the IP POOL to which the source IP address of the packet belongs is found, the broadcast packet is sent to the VLAN or the real interface corresponding to the IP POOL; Whether to perform broadcast transmission according to whether the broadcast function of the SUPERVLAN interface is enabled.
- the method further includes the step of the write driver module writing the IP POOL configuration information to the underlying driver, the step comprising the step of managing the IP POOL configuration information by using the IP POOL management module.
- the configuration process of the apparatus for improving the performance of the SUPERVLAN broadcast according to the present invention will be described in detail below through an example of the networking of the SUPERVLAN function device.
- the SUPERVLAN interface is configured on the router, and the 100 Mbps fei-1/1, fei- 1/2 is bound to the SUPERVLAN interface.
- Interface fei-1/1 Bind the real interface fei-1/1 to the SUPERVLA interface and configure the IP address segment.
- Interface fei-1/1 Bind the real interface fei-1/1 to the SUPERVLA interface and configure the IP address segment.
- the management module manages the creation, deletion, and synchronization of the SUPERVLAN interface.
- the operation and maintenance (OAM) module provides an interface for the configuration and maintenance of the SUPERVLAN function; the database (DB) module is responsible for reading and writing the configuration information; and the protocol (PROTOCOL) module.
- OAM operation and maintenance
- DB database
- PROTOCOL protocol
- the present invention is an implementation of the SUPERVLAN function module.
- Figure 4 is a flow chart showing the process of transmitting broadcast packets on the SUPERVLAN interface, which is an example of a method for improving the broadcast efficiency of the SUPERVLAN.
- the message is a unicast message, it is sent by unicast;
- the real interface (or sub-VLAN) to which the POOL belongs sends the broadcast packet to the real interface (or the sub-VLA); if not found, it determines whether the broadcast function of the SUPERVLAN interface is enabled, and if it is enabled, all the real interfaces included in it are (or sub-VLAN) sends, otherwise the dropped message is not sent.
- FIG. 5 shows the composition of the SUPERVLAN IP POOL management module.
- the user interface module is responsible for the configuration and maintenance of user information;
- the database interface module is responsible for the database management of related information;
- the SUPERVLAN IP POOL table management module is responsible for the synchronization, write drive, and processing of the transceiver module of the SUPERVLAN IP POOL configuration information.
- the SUPERVLAN IP POOL management module further includes a write driver module for writing IP POOL configuration information to the underlying driver.
- IP POOL configuration information the IP address 10.1.1.5 belongs to the fei-1/1 address segment, and only sends the A P broadcast message to fei-1/1. Packet capture can be found, only host 1 receives the ARP request packet and gives a response.
- IP address 10.1.1.15 belongs to fei- 1/2 Addresses, only send the ARP broadcast to fei- 1/2 ⁇ : Gen text. Packet capture can be found, only host 2 receives the ARP request packet and gives a response.
- IP POOL configuration information 10.1.1.25 does not belong to any address segment.
- the broadcast function of the SUPERVLAN interface is enabled by default, and the ARP request is broadcast to all the real interfaces (including fei-1/l and fei-1/2) under the SUPERVLAN interface.
- Both hosts 1 and 2 can receive ARP request packets.
- Execution 9 The broadcast function of the SUPERVLAN interface is disabled. The corresponding IP POOL address segment cannot be found, and the broadcast function is disabled. The broadcast packet is not sent to any interface. Hosts 1 and 2 do not receive ARP request packets.
- the broadcast packet can be sent only to the VLAN or the real interface to which the destination IP address belongs, which reduces the range of broadcast packet transmission, thereby improving the broadcast efficiency of the SUPERVLAN.
- the invention is flexible and reliable by manually dividing the IP POOL, and can effectively restrict the access of users in the illegal address segment.
- the configuration is flexible and simple, and the IP POOL configuration function can be enabled or disabled as needed, without adding additional hardware costs, and the software cost is not increased greatly, thereby effectively improving the efficiency of transmitting the broadcast message on the SUPERVLAN interface. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
提高 SUPERVLAN广播效率的装置和方法
技术领域
本发明涉及一种提高网络广播效率的装置和方法, 尤其涉及在 SUPERVLAN功能的基础上, 提高其广播效率的装置和方法。 背景技术
SUPERVLAN, 又称 VLAN聚合, 该技术将多个子 VLAN或实接口绑 定到一个虚接口;该技术可以使处在同一个物理交换设备中的分属不同虚拟 广播域的主机处在相同 IPv4子网中而且使用同一个默认网关, 这样就可以 消除原有的在一个 VLAN或 MAN中必须使用一个专用 IP子网的限制。 使 用这种机制可以明显减少 VLAN或 MAN中对 IP地址空间的消耗, 提高了 地址的使用效率。 另外, 这样做也降低了网络中 IP地址管理的难度。
在 SUPERVLAN技术中, 通过将多个子 VLAN (交换机) 或者实接口 (路由器)绑定到一个 SUPERVLAN虚接口, 来实现不同 VLAN或者实接 口使用同一个 IP子网。 通过管理配置来控制各个子 VLAN或者实接口之间 是否能够通讯。 对于不同的子 VLAN (或者实接口)仍然处于同一 IPV4子 网之中, 它们之间的通讯是同一子网之间的通讯, 所以必须在不同的 VLAN 子接口之间提供类似于 ARP代理的功能来实现不同的 VLAN子接口同一 SUIPERVLAN之间的通讯。
SUPERVLAN接口在发送广播报文时, 需要向其绑定的所有 VLAN或 者实接口广播。 如果子 VLAN或者实接口绑定得比较多的情况下, 广播报 文将复制多份发送, 可能带来系统发包比较繁忙, 影响系统处理效率。 如: SUPERVLAN接口广播 ARP请求报文, 向所有子 VLAN或者实接口发送, 回应包从某个 VLAN或者实接口收到。 同时, 子 VLAN或者实接口的下挂 网络广播报文只会在该子 VLAN或者实接口上收到, SUPERVLAN接口并 不会转发这些广播报文。 SUPERVLAN接口向所有子 VLAN发送广播报文 显得比较浪费。
发明内容
针对现有技术中存在的缺陷和不足, 本发明的目的是提供一种提高
SUPERVLAN广播效率的装置和方法, 能够減少 SUPERVLAN接口报文的 广播范围。
本发明采用的技术方案是:
一种提高 SUPERVLAN广播效率的装置, 包括一置有 SUPERVLAN接 口的网络设备, 该网络设备包括:
一配置管理模块, 用于为 SUPERVLAN接口配置 IP地址, 将 VLAN或 实接口绑定到 SUPERVLAN接口, 并在 VLAN或实接口上配置 IP POOL范 围;
一 IP POOL管理模块, 用于对所述 IP POOL配置信息进行管理; 一报文发送模块, 根据报文源 IP地址在所述 IP POOL管理模块中查找 VLAN或实接口所属 IP POOL, 并向查找到的 VLAN或实接口发送广播报 文。
进一步地, 所述网络设备为三层网络设备。
进一步地, 所述装置还包括写驱动模块, 用于将 IP POOL配置信息写 入底层驱动。
进一步地, 所述 SUPERVLAN IP POOL管理模块包括:
用户接口模块, 用于配置和维护用户信息;
数据库接口模块, 用于进行相关信息的数据库管理;
SUPERVLAN IP POOL表管理模块负责 SUPERVLAN IP POOL配置信 息的同步、 写驱动、 以及收发包模块的处理。
进一步地, 所述 SUPERVLAN IP POOL管理模块还包括写驱动模块, 用于将 IP POOL配置信息写入底层驱动。
本发明还提供了一种提高 SUPERVLAN广播效率的方法, 其特征在于
包括:
在现有的三层网絡设备上, 首先通过配置管理模块将 VLAN或实接口 绑定到 SUPERVLAN接口, 并为 VLAN或实接口上配置 IP POOL范围; 然后利用 IP POOL管理模块对 IP POOL配置信息进行管理;
发送广播^ 时, 根据报文源 IP地址在所述 IP POOL管理模块中查找
VLAN或实接口所属 IP POOL,
根据查找结果 SUPERVLAN接口对广播报文进行处理。
进一步地, 所述方法还包括利用写驱动模块将 IP POOL配置信息写入 底层驱动的步骤。
进一步地, 利用写驱动模块将 IP POOL配置信息写入底层驱动的步驟 包含在利用 IP POOL管理模块对所述 IP POOL配置信息进行管理的步驟中。
进一步地, 根据查找结果 SUPERVLAN接口对广播报文进行处理的过 程具体为: 如果找到报文源 IP地址所属的 IP POOL, 向该 IP POOL对应的 VLAN或实接口发送该广播报文; 如果查找不到, 根据 SUPERVLAN接口 广播功能是否开启决定是否进行广播发送。
进一步地, 根据 SUPERVLAN接口广播功能是否开启决定是否进行广 播发送的具体方法是: 当 SUPERVLAN接口广播功能开启, 向所有 VLAN 或实接口广播; 当 SUPERVLAN接口广播功能关闭, 则丟弃不进行广播。
采用上述技术方案后, SUPERVLAN接口发送广播报文时, 所述^ 1艮文发 送模块根据报文源 IP地址在所述 IP POOL (地址池)管理模块中查找 VLAN 或实接口所属 ip POOL, 以减少广播报文发送的范围, 然后向查找到的 VLAN或实接口发送广播报文, 提高了系统处理广播报文的效率。 避免了 SUPERVLAN接口向所有子 VLAN或实接口发送广播报文产生的浪费现象。
附图概述
图 1是本发明提高 SUPERVLAN广播效率的装置的结构框图;
图 2是本发明 SUPERVLAN功能设备组网图;
图 3是本发明 SUPERVLAN功能模块组成图;
图 4是本发明 SUPERVLAN接口广播报文的发送处理流程图; 图 5是本发明 SUPERVLAN IP POOL管理模块组成图。 本发明的较佳实施方式
下面将结合附图及实施例对本发明的技术方案进行更详细的说明。 本发明是在 SUPERVLAN功能的基础上, 通过手动划分 IP地址段来提 高广播效率。
如图 1所示, 本发明一种提高 SUPERVLAN广播效率的装置, 包括一 置有 SUPERVLAN接口的网络设备 , 该网络设备包括:
一配置管理模块, 提供人机界面, 用于为 SUPERVLAN接口配置 IP地 址, 将 VLAN或实接口绑定到 SUPERVLAN接口, 增加了 VLAN或者实接 口上 IP POOL 绑定——即在 VLA 或实接口上配置 IP POOL 范围, SUPERVLAN接口上 IP POOL绑定功能的开启 /关闭;
一 IP POOL管理模块, 用于对所述 IP POOL配置信息进行管理; 所述 IP POOL配置信息即所述配置管理模块配置的 VLAN或实接口与 IP POOL 范围的对应关系;
一报文发送模块, 根据报文源 IP地址在所述 IP POOL管理模块中查找 VLAN或实接口所对应的 IP POOL范围, 并向查找到的 VLAN或实接口发 送广播报文。
上述的网络设备可以为三层网络设备, 如路由器、 以太网交换机等。
发送广播^ 1艮文时, 通过查找 IP POOL所属 VLAN或者实接口, 仅向该 VLAN或者实接口发送广播报文, 从而减少网络中的广播报文。
如果查找不到该 IP 所属的 POOL, 根据 SUPERVLAN接口上的广播功 能是否启用, 如果启用向其所属所有 VLAN或者实接口广播; 如果广播功
能关闭, 则丢弃不进行广播。
上述网络设备还可以包括写驱动模块, 用于将 IP POOL配置信息写入 底层驱动, 如果 SUPERVLAN启用 IP POOL过滤功能, 底层在收包的时候 直接进行过滤, 如果该报文源 IP地址不在该 VLAN或者实接口的 IP POOL 范围之内, 将该报文丟弃。 如果在该 VLAN或者实接口的 IP POOL范围之 内, 继续接收才艮文。
如果禁用 IP POOL过滤功能, 底层在收包的时候可以不进行检测。
一种提高 SUPERVLA 广播效率的方法, 包括:
在现有的三层网络设备上, 首先通过配置管理模块将 VLA 或实接口 绑定到 SUPERVLAN接口, 并为 VLAN或实接口上配置 IP POOL范围; 然后利用 IP POOL管理模块对所述 IP POOL配置信息进行管理; 发送广播报文时, 根据报文源 IP地址在所述 IP POOL管理模块中查找 VLAN或实接口所属 IP POOL,
根据查找结果 SUPERVLAN接口对广播报文进行处理。
其中, 根据查找结果 SUPERVLAN接口对广播报文进行处理的过程具 体为:如果找到报文源 IP地址所属的 IP POOL,向该 IP POOL对应的 VLAN 或实接口发送该广播报文; 如果查找不到, 根据 SUPERVLAN接口广播功 能是否开启决定是否进行广播发送。
当 SUPERVLAN接口广播功能开启, 向所有 VILA 或实接口广播;. 当
SUPERVLAN接口广播功能关闭, 则丟弃不进行广播。
在提高 SUPERVLAN广播效率的方法中,还包括写驱动模块将 IP POOL 配置信息写入底层驱动的步骤, 该步骤包含在利用 IP POOL管理模块对所 述 IP POOL配置信息进行管理的步骤中。
下面通过 SUPERVLAN 功能设备组网的实例, 对本发明提高 SUPERVLAN广播效率的装置的配置过程作详细说明。
参照附图 2,在路由器上配置 SUPERVLAN接口,百兆口 fei— 1/1, fei— 1/2 绑定到 SUPERVLAN接口。
1 ) 首先创建 SUPERVLAN接口, 并配置 IP地址。
Interface supervlanl
Ip addr 10.1.1.1 255.255.0.0
2 )将实接口 fei— 1/1绑定到 SUPERVLA 接口 , 并配置 IP地址段。 Interface fei— 1/1
Supervlan 1
Ip supervlan pool 10.1.1.0 10.1.1.9
3 )将实接口 fei— 1/2绑定到 SUPERVLAN接口 , 并配置 IP地址段 Interface fei— 1/2
Supervlan 1
Ip supervlan pool 10.1.1.10 10.1.1.19
4 ) fei— 1/1下挂主机并配置地址 10.1.1.5/24
5 ) fei— 1/2下挂主机并配置地址 10.1.1.15/24
6 )从路由器设备上执行 Ping 10.1.1.5
7 )从路由器设备上执行 Ping 10.1.1.15
8 )从路由器设备上执行 Ping 10.1.1.25
9 )在 SUPERVLAN接口上关闭 ARP广播功能,从路由器设备执行 ping 10.1.1.25
interface supervlanl
arp-braadcast disable 通常, SUPERVLAN功能模块——也称为 SUPERVLAN模块——的组 成通过图 3可以做进一步的了解。
参照图 3为 SUPERVLAN功能模块组成图。 其中, SUPERVLAN接口
管理模块对 SUPERVLAN接口的创建、 删除、 同步等操作进行管理; 操作 维护( OAM )模块为 SUPERVLAN功能的配置和维护提供接口;数据库( DB ) 模块负责对配置信息的读写; 协议(PROTOCOL )模块负责 SUPERVLAN 功能的收发包等; SUPERVLAN功能模块将相应配置信息写入底层驱动。
本发明为 SUPERVLAN功能模块的一种实现方式。
图 4所示的是 SUPERVLAN接口广播报文的发送处理流程图,为一个提 高 SUPERVLAN广播效率的方法的实例,
如果该报文是单播报文则进行单播发送;
如果是广播^ :艮文, 首先艮据目的 IP地址查找 IP POOL, 如果找到该 IP
POOL所属的实接口 (或子 VLAN ) , 向该实接口 (或子 VLA )发送该广 播报文; 如果没有找到, 则判断 SUPERVLAN接口的广播功能是否开启, 如果开启则向其包含的所有实接口 (或子 VLAN )发送, 否则丟弃报文不进 行发送。
参照图 5可以对 SUPERVLAN IP POOL管理模块做深入了解。
图 5为 SUPERVLAN IP POOL管理模块组成图。 其中, 用户接口模块 负责用户信息的配置和维护; 数据库接口模块负责相关信息的数据库管理; SUPERVLAN IP POOL表管理模块负责 SUPERVLAN IP POOL配置信息的 同步、 写驱动、 以及收发包模块的处理。 所述 SUPERVLAN IP POOL管理 模块还包括写驱动模块, 用于将 IP POOL配置信息写入底层驱动。
在执行完前文所述的步骤 1 )到 5 )后, 根据图 4所示的处理流程, 可 以得到执行步骤 6 )到 9 ) 时的具体过程如下:
执行 6 ) , 从 IP POOL配置信息中查找, 该 IP地址 10.1.1.5属于 fei— 1/1 地址段, 仅向 fei— 1/1发送该 A P广播报文。 抓包可以发现, 只有主机 1收 到了 ARP请求包, 并给出回应。
执行 7 ),从 IP POOL配置信息中查找,该 IP地址 10.1.1.15属于 fei— 1/2
地址段, 仅向 fei— 1/2发送该 ARP广播^ :艮文。 抓包可以发现, 只有主机 2收 到了 ARP请求包, 并给出回应。
执行 8 ) , 查找 IP POOL配置信息, 该 IP地址 10.1.1.25不属于任何地 址段。 此时判断 SUPERVLAN接口广播功能默认开启, 向 SUPERVLAN接 口下所有实接口 (包括 fei—1/l和 fei— 1/2 )广播该 ARP请求。 主机 1和 2都 能收到 ARP请求包。
执行 9, SUPERVLAN接口广播功能被关闭, 查找不到相应的 IP POOL 地址段, 并且广播功能关闭, 不向任何接口发送该广播报文。 主机 1和 2均 收不到 ARP请求包。
由此可以看出, 采用了本发明的方法后, 可以仅向其目的 IP地址所属 的 VLAN或实接口发送广播报文, 减少了广播报文发送的范围, 从而提高 了 SUPERVLAN广播效率。
当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 情况下, 熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变 形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。
工业实用性
本发明通过手工划分 IP POOL, 灵活可靠, 可以有效的限制非法地址段 用户的访问。 本发明的解决方案中, 配置灵活简单, 并且可以根据需要启用 或者关闭 IP POOL配置功能, 不需要增加额外的硬件成本, 对软件成本增 加也不大, 有效地提高 SUPERVLAN接口发送广播报文的效率。
Claims
1、 一种提高 SUPERVLAN广播效率的装置, 包括一置有 SUPERVLAN 接口的网络设备, 其特征在于, 该网络设备包括:
一配置管理模块, 用于为 SUPERVLAN接口配置 IP地址, 将 VLAN或 实接口绑定到 SUPERVLA 接口, 并在 VLAN或实接口上配置 IP POOL范 围;
一 IP POOL管理模块, 用于对所述 IP POOL配置信息进行管理; 一报文发送模块, 根据报文源 IP地址在所述 IP POOL管理模块中查找 VLAN或实接口所属 IP POOL, 并向查找到的 VLAN或实接口发送广播报 文。
2、 根据权利要求 1所述的提高 SUPERVLAN广播效率的装置,其特征 在于: 所述网络设备为三层网络设备。
3、 根据权利要求 2所述的提高 SUPERVLAN广播效率的装置,其特征 在于: 还包括写驱动模块, 用于将 IP POOL配置信息写入底层驱动。
4、 根据权利要求 1所述的提高 SUPERVLAN广播效率的装置,其特征 在于, 所述 SUPERVLAN IP POOL管理模块包括:
用户接口模块, 用于配置和维护用户信息; 数据库接口模块, 用于进行相关信息的数据库管理;
SUPERVLAN IP POOL表管理模块负责 SUPERVLAN IP POOL配置信 息的同步、 写驱动、 以及收发包模块的处理。
5、 根据权利要求 4所述的提高 SUPERVLAN广播效率的装置,其特征 在于: 所述 SUPERVLAN IP POOL管理模块还包括写驱动模块, 用于将 IP POOL配置信息写入底层驱动。
6、 一种提高 SUPERVLAN广播效率的方法, 其特征在于包括: 在现有的三层网络设备上, 首先通过配置管理模块将 VLA 或实接口 绑定到 SUPERVLAN接口, 并为 VLAN或实接口上配置 IP POOL范围; 然后利用 IP POOL管理模块对 IP POOL配置信息进行管理;
发送广播报文时, 根据报文源 IP地址在所述 IP POOL管理模块中查找 VLA 或实接口所属 IP POOL,
根据查找结果 SUPERVLAN接口对广播报文进行处理。
7、 根据权利要求 6所述的提高 SUPERVLAN广播效率的方法, 其特征 在于, 还包括: 利用写驱动模块将 IP POOL配置信息写入底层驱动的步骤。
8、 根据权利要求 7所述的提高 SUPERVLAN广播效率的方法,其特征 在于, 利用写驱动模块将 IP POOL配置信息写入底层驱动的步驟包含在利 用 IP POOL管理模块对所述 IP POOL配置信息进行管理的步驟中。
9、 根据权利要求 6所述的提高 SUPERVLAN广播效率的方法,其特征 在于,根据查找结果 SUPERVLAN接口对广播报文进行处理的过程具体为: 如果找到 艮文源 IP地址所属的 IP POOL, 向该 IP POOL对应的 VLAN或实 接口发送该广播报文; 如果查找不到, 根据 SUPERVLAN接口广播功能是 否开启决定是否进行广播发送。
10、 根据权利要求 9所述的提高 SUPERVLAN广播效率的方法, 其特 征在于, 根据 SUPERVLAN接口广播功能是否开启决定是否进行广播发送 的具体方法是: 当 SUPERVLAN接口广播功能开启, 向所有 VLAN或实接 口广播; 当 SUPERVLA 接口广播功能关闭, 则丢弃不进行广播。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200610058423.4 | 2006-03-24 | ||
| CN200610058423A CN100579062C (zh) | 2006-03-24 | 2006-03-24 | 一种提高supervlan广播效率的装置和方法 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2007109974A1 true WO2007109974A1 (fr) | 2007-10-04 |
Family
ID=38540800
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2007/000739 Ceased WO2007109974A1 (fr) | 2006-03-24 | 2007-03-07 | Dispositif et procédé destinés à améliorer l'efficacité de diffusion d'une interface supervlan |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100579062C (zh) |
| WO (1) | WO2007109974A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113132506A (zh) * | 2021-03-05 | 2021-07-16 | 北京星网锐捷网络技术有限公司 | 基于超级虚拟局域网的报文处理方法及装置 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101980488B (zh) * | 2010-10-22 | 2015-09-16 | 中兴通讯股份有限公司 | Arp表项的管理方法和三层交换机 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1457178A (zh) * | 2002-05-10 | 2003-11-19 | 华为技术有限公司 | 多个虚拟局域网共用一个网际协议子网网段时的通信方法 |
| CN1540932A (zh) * | 2003-04-22 | 2004-10-27 | 华为技术有限公司 | 一种实现从指定端口发送数据报类型报文的方法 |
| CN1540935A (zh) * | 2003-04-25 | 2004-10-27 | 华为技术有限公司 | 数据在虚拟局域网中定向传播的方法 |
| US6912592B2 (en) * | 2001-01-05 | 2005-06-28 | Extreme Networks, Inc. | Method and system of aggregate multiple VLANs in a metropolitan area network |
| US6914905B1 (en) * | 2000-06-16 | 2005-07-05 | Extreme Networks, Inc. | Method and system for VLAN aggregation |
-
2006
- 2006-03-24 CN CN200610058423A patent/CN100579062C/zh not_active Expired - Fee Related
-
2007
- 2007-03-07 WO PCT/CN2007/000739 patent/WO2007109974A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6914905B1 (en) * | 2000-06-16 | 2005-07-05 | Extreme Networks, Inc. | Method and system for VLAN aggregation |
| US6912592B2 (en) * | 2001-01-05 | 2005-06-28 | Extreme Networks, Inc. | Method and system of aggregate multiple VLANs in a metropolitan area network |
| CN1457178A (zh) * | 2002-05-10 | 2003-11-19 | 华为技术有限公司 | 多个虚拟局域网共用一个网际协议子网网段时的通信方法 |
| CN1540932A (zh) * | 2003-04-22 | 2004-10-27 | 华为技术有限公司 | 一种实现从指定端口发送数据报类型报文的方法 |
| CN1540935A (zh) * | 2003-04-25 | 2004-10-27 | 华为技术有限公司 | 数据在虚拟局域网中定向传播的方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113132506A (zh) * | 2021-03-05 | 2021-07-16 | 北京星网锐捷网络技术有限公司 | 基于超级虚拟局域网的报文处理方法及装置 |
| CN113132506B (zh) * | 2021-03-05 | 2022-06-21 | 北京星网锐捷网络技术有限公司 | 基于超级虚拟局域网的报文处理方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100579062C (zh) | 2010-01-06 |
| CN101043423A (zh) | 2007-09-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102148749B (zh) | 一种交换机端口扩展的方法及装置 | |
| CN101286990B (zh) | 二层组播的转发方法和装置 | |
| CN101257447A (zh) | 一种负载分担的方法、系统及路由装置 | |
| WO2009033428A1 (en) | Method, system and device for removing media access control address | |
| WO2012167697A1 (zh) | 抑制网络风暴的方法及处理器 | |
| CN100583801C (zh) | 一种动态建立组播虚拟局域网域的方法、系统及交换设备 | |
| CN102355417A (zh) | 一种数据中心二层互联方法和装置 | |
| KR20020051693A (ko) | 가상 에이알피 패킷을 이용한 프록시 에이알피 동작 방법 | |
| WO2013189059A1 (zh) | 报文处理方法、装置、主机和网络系统 | |
| CN101317406A (zh) | 以太网支持源特定组播转发的方法、设备及系统 | |
| CN115118545B (zh) | 以太网虚拟专用网多播网络中的组管理协议主机移动性 | |
| WO2007112691A1 (en) | System, method and network device for vpn customer to access public network | |
| CN103248720A (zh) | 一种查询物理地址的方法及装置 | |
| EP3451585B1 (en) | Auto-configuring multicast protocol parameters of a network device | |
| WO2007019785A1 (en) | A multicast supported virtual local area network switching system and a method thereof | |
| WO2009149646A1 (zh) | 端口切换方法、网络设备及网络系统 | |
| WO2015081526A1 (zh) | 软件定义网络中的控制方法,控制设备和处理器 | |
| WO2012068854A1 (zh) | 一种mac地址更新方法及装置 | |
| CN101355516A (zh) | 一种为不同虚拟专用网提供服务质量策略的方法和系统 | |
| CN100454888C (zh) | 组播流量控制管理方法 | |
| WO2007109974A1 (fr) | Dispositif et procédé destinés à améliorer l'efficacité de diffusion d'une interface supervlan | |
| WO2010020103A1 (zh) | Mac地址重复用户的服务提供方法及装置 | |
| WO2009146615A1 (zh) | 网络地址转换业务的处理方法和系统及处理器 | |
| WO2012065474A1 (zh) | 一种发送报文的方法和装置 | |
| WO2012146139A1 (zh) | 一种报文的过滤方法和接入设备 |
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: 07711060 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: 07711060 Country of ref document: EP Kind code of ref document: A1 |