CN107613033A - System and method is realized suitable for the distributed virtual LAN of mobile wireless node - Google Patents

System and method is realized suitable for the distributed virtual LAN of mobile wireless node Download PDF

Info

Publication number
CN107613033A
CN107613033A CN201710715793.9A CN201710715793A CN107613033A CN 107613033 A CN107613033 A CN 107613033A CN 201710715793 A CN201710715793 A CN 201710715793A CN 107613033 A CN107613033 A CN 107613033A
Authority
CN
China
Prior art keywords
vlan
address
packet
inf2
unicast
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.)
Granted
Application number
CN201710715793.9A
Other languages
Chinese (zh)
Other versions
CN107613033B (en
Inventor
于卫波
王海
董超
米志超
牛大伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PLA University of Science and Technology
Original Assignee
PLA University of Science and Technology
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 PLA University of Science and Technology filed Critical PLA University of Science and Technology
Priority to CN201710715793.9A priority Critical patent/CN107613033B/en
Publication of CN107613033A publication Critical patent/CN107613033A/en
Application granted granted Critical
Publication of CN107613033B publication Critical patent/CN107613033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a kind of distributed virtual LAN suitable for mobile wireless node to realize system and method, system is made up of multiple wireless VLAN agent equipments, and each VLAN agent equipments include wave point INF1, INF2 interface, monitor module, VLAN allocation lists, broadcast process module, ARP proxy module and unicast processing module.Multiple terminals can be formed multiple wireless virtual LANs by the present invention by wireless VLAN equipment, each VLAN is a single broadcast domain, data isolation between each broadcast domain, pass through the ARP filtering functions in wireless VLAN equipment simultaneously, prevent ARP message from being spread between each VLAN, improve the efficiency of network.

Description

System and method is realized suitable for the distributed virtual LAN of mobile wireless node
Technical field
The present invention relates to wireless local area network technology, and in particular to a kind of distributed virtual office suitable for mobile wireless node Domain net realizes system and method.
Background technology
Can be by a cable network by the configuring virtual LAN (VLAN) in switching equipment in cable LAN Multiple mutually isolated LANs are divided into, each LAN is an independent broadcast domain, sends data between each other mutually not Interference, this technology can limit the scope of broadcast domain, so as to improve the performance of network, while fixed in network infrastructure In the case of, different location, heterogeneous networks, different user can be combined, a virtual network environment be formed, just as making It is equally convenient, flexible, effective with local area network (LAN).Almost commercial interactive devices all at present all supports VLAN agreements. With the fast development of current wireless technology, wireless network is increasingly popularized, and the various technologies of wireless network emerge in an endless stream, wirelessly Local area network technology has become the indispensable part of people's life, but the node in same wireless network is but It can be only in a broadcast domain, not only reduce the communication efficiency of wireless network, and for accessing same wireless network User, the isolation of user-user information can not be realized.
The patent of Application No. 03139932.0 discloses a kind of reality of device of wireless local area network access point VLAN Existing method.The patent is the VLAN implementation methods in wireless local area network AP equipment, and specific implementation process is will to add distribution system The access point apparatus of system adds management domain, and domain unique mark is allocated management of for it;The wireless terminal of access is added to a use Family domain, it is its distributing user domain unique mark;Data frame is packaged into the data frame with VLAN tag, and is sent to distribution system System;During reception, the data frame received from compartment system is checked, the data frame without VLAN tag is abandoned, in data frame VLAN tag carries out matching detection, and unmatched data abandon, and the data of matching continue to forward after removing VLAN tag.The invention The free switching of wireless terminal when realizing not same area networking.But above-mentioned patent be mainly directed towards wireless terminal between each AP from Used during by switching, in implementation, it is also necessary to machine is interacted by traditional wired network to carry out VLAN encapsulation and division, In final realization, the patent is still based on a wireless communication ability jumped.
The content of the invention
It is an object of the invention to provide a kind of distributed virtual LAN suitable for mobile wireless node to realize system And method.
The technical scheme for realizing the object of the invention is:A kind of distributed virtual LAN suitable for mobile wireless node is real Existing system, is made up of, each VLAN agent equipments include multiple wireless VLAN agent equipments:
Wave point INF1, for setting up multi-hop wireless self-organizing network between multiple equipment;INF2 interfaces, connect for terminal Enter;
Module is monitored, for monitoring all data of INF2 interfaces;
VLAN allocation lists, including vlan number, INF1 addresses, terminal address/mask and mac address entry;
Broadcast process module:If the IP that INF2 interfaces listen to is grouped into broadcast packe, VLAN allocation lists are inquired about, are returned All all terminal address with this node vlan number identical list item, quantity are M, and broadcast packe is revised as into destination Location is M unicast packet of each terminal address, above gives system protocol stack, repeating process is determined by system protocol stack;
ARP proxy module:If what INF2 interfaces listened to is ARP request packet, the purpose IP in the packet is extracted Address, the list item that is matched with the destination address of terminal address is searched from VLAN allocation lists, with returning to MAC in these list items Location, arp reply packet is encapsulated by response MAC Address of these MAC Address;After terminal receives arp reply, IP points of unicast is sent Group, unicast is abandoned if arp reply is not received and not sent;
Unicast processing module:If what monitoring module listened to is grouped into unicast packet, system protocol stack is directly given, by Protocol stack determines repeating process.
A kind of distributed virtual LAN implementation method suitable for mobile wireless node, comprise the following steps:
Step 1, VLAN allocation lists are initialized
Configure the vlan number in VLAN allocation lists and INF1 addresses;
Monitor and obtain INF2 interfaces connection terminal address information, led to by wave point INF1 route informations to the whole network Accuse;
Routing convergence on wave point INF1, other in VLAN allocation lists are improved according to routing iinformation;
Step 2, data forwarding
If the IP packet destination addresses that INF2 interfaces listen to are broadcast address, VLAN allocation lists are inquired about, are returned identical All terminal address of vlan number;The data destination address of packet capturing is changed to return address, becomes multiple unicasts and is sent to port INF1;
If what INF2 interfaces listened to is ARP request packet, the purpose IP address in the packet is extracted, is matched somebody with somebody from VLAN Put and the list item that terminal address matches with the destination address is searched in table, return to the MAC Address in these list items, with these MAC Location encapsulates arp reply packet for response MAC Address;After terminal receives arp reply, unicast IP packets are sent, otherwise lose unicast Abandon and do not send;
If the IP packet destination addresses that INF2 interfaces listen to are unicast address, system protocol stack is directly given, by assisting Discuss stack and determine repeating process.
Compared with prior art, the present invention has the advantages that:The present invention proposes one kind and is applied to mobile wireless The distributed virtual LAN of node realizes system and method, multiple terminals can be formed into multiple nothings by wireless VLAN equipment Line VLAN, each VLAN are a single broadcast domain, data isolation between each broadcast domain, are passed through simultaneously Arp filtering functions in wireless VLAN equipment, prevent arp message from being spread between each VLAN, improve the efficiency of network.
Brief description of the drawings
Fig. 1 is wireless VLAN agent equipment structural representation.
Fig. 2 is wireless VLAN allocation list initialization procedure figure.
Fig. 3 is wireless VLAN broadcast packe repeating process figure.
Fig. 4 is wireless VLAN ARP proxy realization procedure chart.
Fig. 5 is wireless VLAN unicast packet repeating process figure.
Fig. 6 is wireless VLAN structural representation.
Embodiment
The present invention is applied to the wireless multi-hop communication network with group division demand.Application includes but are not limited to Multi-hop unmanned systems cluster, military tactical communication network, rescue and relief work network etc..The present invention has special hardware configuration requirement, Need that there are two external communication interfaces, one of interface is wave point, and proactive wireless self-networking is run on the interface Routing Protocol, completes the group-net communication function of wave point, and the Routing Protocol is implemented not in scope of the invention as claimed. Another interface can be that wireline interface can also be wave point.Two interfaces run ICP/IP protocol.
This method needs to realize, it is necessary to build VLAN by a wireless VLAN agent equipment (abbreviation equipment) Wireless device is respectively connected to an equipment, and each equipment has two interfaces, and a wave point INF1 is used in multiple equipment Between set up multi-hop wireless self-organizing network, another INF2 interface for terminal access.The INF1 mouths of each equipment distribute identical net The IP address of section is used to form wireless multihop self-organizing network, and each equipment runs wireless Ad Hoc Routing Protocol in the port, Realize the route intercommunication between multiple equipment.And access interface of the INF2 interfaces as subscriber terminal equipment, it is not necessary to IP address, lead to The packet capturing on INF2 interfaces is crossed, imports data to agent equipment.Specific device structure is as shown in Figure 1.
Each functions of modules description:
Monitor module:Monitor all data of INF2 interfaces.
VLAN allocation lists:VLAN allocation list list items are as shown in table 1.Include vlan number in table, INF1 addresses, terminal address/ Mask, and mac address entry.Vlan number and the mapping relations of INF1 addresses, are that user specifies by hand, the INF1 of identical vlan number Address is in identical VLAN.And terminal address information is then got by route messages, mac address entry is by terminal address Item is automatically generated, and the first two byte is fixed in the address of six bytes, and rear four bytes are the IP address of network.Idiographic flow is such as Shown in Fig. 2.After the completion of manual configuration part configuration in VLAN allocation lists, program starts, and reads configuration file, completes vlan number Initialized with INF1, start the oracle listener of INF2 mouths, using the source address of the packet listened to as terminal address, add configuration In table.Then whole network is advertised to by Routing Protocol using the terminal address in allocation list as route reachability information.It is complete The mapping relations of INF1 addresses and terminal address are established into the VLAN allocation lists of each node.
Broadcast process module:The data forward state course of work is as shown in figure 3, the IP that INF2 mouths listen to is grouped into broadcast Packet, VLAN allocation lists are inquired about, return to all M terminal address with the N number of list item of this node vlan number identical, will broadcast Packet modification is the M unicast packet that purpose address is each terminal address, above gives system protocol stack, is determined by system protocol stack Determine repeating process.
ARP proxy:If what INF2 interfaces listened to is ARP request packet, the purpose IP address in the packet is extracted, The list item that terminal address matches with the destination address is searched from VLAN allocation lists, the MAC Address in these list items is returned to, with this A little MAC Address encapsulate arp reply packet for response MAC Address.Process is as shown in Figure 4.After terminal receives arp reply, normal hair Send unicast IP to be grouped, otherwise unicast is abandoned and not sent.
Unicast processing module:If monitor module listen to be grouped into unicast packet if, directly by give system assist Stack is discussed, repeating process is determined by protocol stack.Process is as shown in Figure 5.
By internally realizing that arp is acted on behalf of, VLAN configuration table functions, each terminal device is divided into one or multiple VLAN。
Vlan number INF1 addresses Terminal address Corresponding MAC Address
1 192.168.0.1 10.0.1.1 00-00-10-0-1-1
1 192.168.0.2 10.0.1.2 00-00-10-0-1-2
1 192.168.0.3 10.0.1.3 00-00-10-0-1-3
2 192.168.0.4 10.0.1.4 00-00-10-0-1-4
The VLAN allocation lists of table 1
With reference to specific embodiment, the present invention is described in detail.
Embodiment
Present embodiments provide a kind of VLAN implementation methods based on wireless multi-hop ad hoc.Fig. 6 is one by wireless The multi-hop wireless network of VLAN equipment composition.Each equipment has two interfaces of INF2 and INF1, has a VLAN in each equipment Allocation list.VLAN allocation lists in device A are as shown in table 1.Wherein vlan number, INF1 addresses are by manually adding, initial situation Terminal address item and mac address entry are sky in lower list item.After program starts, the monitoring journey run on the INF2 interfaces of device A Sequence receives the packet that 10.0.1.1 is sent, and its source address is added into terminal address corresponding to 192.168.0.1 in VLAN allocation lists .Rule is set to be arranged to its MAC Address according to MAC Address, 00-01-10-00-01-01.Same equipment B, C, D are also complete Into same work.The terminal address of each equipment will be by Routing Information Exchange, and device A is by the terminal of B, C, D equipment of acquisition In the MAC Address of address and generation write-in allocation list, allocation list as shown in table 1 is formed.
When terminal 10.0.1.1 is sent to 10.0.1.2 to be grouped, 10.0.1.1 first will send ARP request, the request quilt The INF2 interfaces of device A listen to, and it is 0-0-10-0-1-1 that its corresponding MAC Address is found from table 1, loopback arp reply Message, after terminal 10.0.1.1 receives arp reply, sending destination location is 10.0.1.2 unicast packet, and the packet is by INF2 Enter device A after listening to, the routing forwarding packet that device A is formed according to multihop self-organizing network.If send packet Destination address is 10.0.1.7 or 10.0.1.4, then vlan number identical terminal is can not find out in the VLAN allocation lists of device A MAC Address corresponding to address, arp reply will not be returned to, the unicast packet will abandon in terminal.If 10.0.1.1 sends wide Packet is broadcast, then returns to vlan number identical unicast address by tabling look-up:10.0.1.2 10.0.1.3.By the broadcast packe again Two unicast packets that destination address is 10.0.1.2 and 10.0.1.3 are packaged into, complete to turn according to mode of unicast table of query and routing Hair.
The scope that aforesaid way limits broadcast domain is identical VLAN scope, while has been filtered non-equal virtual The diffusion of information in a network such as ARP of packet in LAN.
Terminal address can also use the automatic mapping in the present embodiment with MAC Address mapping relations with manual configuration Mode, as long as ensureing that each terminal can correspond to a MAC Address;Terminal address item can be passed through in VLAN allocation lists Dynamic routing acquisition or manual configuration addition;Broadcast packe can be converted to unicast packets, can continue to use Broadcast packet is sent;Terminal can also pass through wired connection with INF2 interfaces by wireless connection.
The abbreviation being related in the present invention is explained as follows:

Claims (2)

1. a kind of distributed virtual LAN suitable for mobile wireless node realizes system, it is characterised in that by multiple wireless VLAN agent equipments form, and each VLAN agent equipments include:
Wave point INF1, for setting up multi-hop wireless self-organizing network between multiple equipment;INF2 interfaces, accessed for terminal;
Module is monitored, for monitoring all data of INF2 interfaces;
VLAN allocation lists, including vlan number, INF1 addresses, terminal address/mask and mac address entry;
Broadcast process module:If the IP that INF2 interfaces listen to is grouped into broadcast packe, VLAN allocation lists are inquired about, are returned all With all terminal address in this node vlan number identical list item, quantity is M, and broadcast packe is revised as into destination address is M unicast packet of each terminal address, above gives system protocol stack, and repeating process is determined by system protocol stack;
ARP proxy module:If what INF2 interfaces listened to is ARP request packet, the purpose IP address in the packet is extracted, The list item that terminal address matches with the destination address is searched from VLAN allocation lists, the MAC Address in these list items is returned to, with this A little MAC Address encapsulate arp reply packet for response MAC Address;After terminal receives arp reply, unicast IP packets are sent, if not Arp reply is received then not send unicast discarding;
Unicast processing module:If what monitoring module listened to is grouped into unicast packet, system protocol stack is directly given, by agreement Stack determines repeating process.
A kind of 2. distribution that system is realized based on the distributed virtual LAN for being applied to mobile wireless node described in claim 1 Formula VLAN implementation method, it is characterised in that comprise the following steps:
Step 1, VLAN allocation lists are initialized
Configure the vlan number in VLAN allocation lists and INF1 addresses;
Monitor and obtain INF2 interfaces connection terminal address information, noticed by wave point INF1 route informations to the whole network;
Routing convergence on wave point INF1, other in VLAN allocation lists are improved according to routing iinformation;
Step 2, data forwarding
If the IP packet destination addresses that INF2 interfaces listen to are broadcast address, VLAN allocation lists are inquired about, return to identical VLAN Number all terminal address;The data destination address of packet capturing is changed to return address, becomes multiple unicasts and is sent to port INF1;
If what INF2 interfaces listened to is ARP request packet, the purpose IP address in the packet is extracted, from VLAN allocation lists It is middle to search the list item that is matched with the destination address of terminal address, return to the MAC Address in these list items, using these MAC Address as Respond MAC Address encapsulation arp reply packet;After terminal receives arp reply, unicast IP packets are sent, otherwise abandon unicast not Send;
If the IP packet destination addresses that INF2 interfaces listen to are unicast address, system protocol stack is directly given, by protocol stack Determine repeating process.
CN201710715793.9A 2017-08-20 2017-08-20 Distributed virtual local area network implementation system and method suitable for mobile wireless node Active CN107613033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710715793.9A CN107613033B (en) 2017-08-20 2017-08-20 Distributed virtual local area network implementation system and method suitable for mobile wireless node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710715793.9A CN107613033B (en) 2017-08-20 2017-08-20 Distributed virtual local area network implementation system and method suitable for mobile wireless node

Publications (2)

Publication Number Publication Date
CN107613033A true CN107613033A (en) 2018-01-19
CN107613033B CN107613033B (en) 2020-09-25

Family

ID=61065379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710715793.9A Active CN107613033B (en) 2017-08-20 2017-08-20 Distributed virtual local area network implementation system and method suitable for mobile wireless node

Country Status (1)

Country Link
CN (1) CN107613033B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361558A (en) * 2018-12-19 2019-02-19 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network proxy for equipment node
CN110062061A (en) * 2019-04-29 2019-07-26 清华大学 Address resolution mapping method based on IP/MAC exchange

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482711A2 (en) * 2001-04-20 2004-12-01 Egenera, Inc. Virtual networking system and method in a processing system
CN101321118A (en) * 2007-06-07 2008-12-10 杭州华三通信技术有限公司 Method and apparatus for implementing wireless router proxy
CN101431810A (en) * 2008-12-19 2009-05-13 西安电子科技大学 Cross-layer cooperated routing method supporting multi-speed transmission in Ad Hoc network
CN101521895A (en) * 2009-04-03 2009-09-02 南京邮电大学 Forwarding method used for constructing multi-hop routing in wireless self-organizing network
CN104468620A (en) * 2014-12-26 2015-03-25 陈晨 ARP hijacking and performance enhancing method in wireless local area network
CN104468866A (en) * 2014-12-26 2015-03-25 陈晨 Fast roaming method for multi-gateway terminal in wireless local area network
CN105337833A (en) * 2015-11-24 2016-02-17 中国人民解放军理工大学 Multi-hop wireless network topology simulation system for supporting heterogeneous multi-channel

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482711A2 (en) * 2001-04-20 2004-12-01 Egenera, Inc. Virtual networking system and method in a processing system
CN101321118A (en) * 2007-06-07 2008-12-10 杭州华三通信技术有限公司 Method and apparatus for implementing wireless router proxy
CN101431810A (en) * 2008-12-19 2009-05-13 西安电子科技大学 Cross-layer cooperated routing method supporting multi-speed transmission in Ad Hoc network
CN101521895A (en) * 2009-04-03 2009-09-02 南京邮电大学 Forwarding method used for constructing multi-hop routing in wireless self-organizing network
CN104468620A (en) * 2014-12-26 2015-03-25 陈晨 ARP hijacking and performance enhancing method in wireless local area network
CN104468866A (en) * 2014-12-26 2015-03-25 陈晨 Fast roaming method for multi-gateway terminal in wireless local area network
CN105337833A (en) * 2015-11-24 2016-02-17 中国人民解放军理工大学 Multi-hop wireless network topology simulation system for supporting heterogeneous multi-channel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于卫波,王海,郑少仁: "利用有线路由协议实现与固定网络互联", 《网络与应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361558A (en) * 2018-12-19 2019-02-19 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network proxy for equipment node
CN109361558B (en) * 2018-12-19 2021-09-21 上海智格网通信科技有限公司 Distributed wireless ad hoc network management method based on grid network equipment proxy node
CN110062061A (en) * 2019-04-29 2019-07-26 清华大学 Address resolution mapping method based on IP/MAC exchange
CN110062061B (en) * 2019-04-29 2020-06-19 清华大学 Address resolution mapping method based on IP/MAC exchange

Also Published As

Publication number Publication date
CN107613033B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN103841023B (en) The method and apparatus of data forwarding
CN102932254B (en) Message forwarding method and device
CN102413061B (en) Message transmission method and equipment
US9756682B2 (en) Method and system for partitioning wireless local area network
US7876756B2 (en) Packet transmitting method, relay node and receiving node
CN102957589B (en) Method, network node and system for service data transmission
US20070195725A1 (en) Access Point Control System, And Access Point Control Method
CN114124618B (en) Message transmission method and electronic equipment
CN104869042A (en) Message forwarding method and message forwarding device
CN102035729A (en) Multicast data forwarding method and device thereof
CN102801625A (en) Method and device for double layered mutual communication in heterogeneous network
CN109525489B (en) Fusion gateway and data transmission method
CN114095305A (en) BIER message forwarding method, equipment and system
CN106209616B (en) Flooding inhibition method and device
WO2021052399A1 (en) Interface extension method, apparatus and system
CN101150481B (en) Method and device for WLAN and LAN intercommunication
CN105187311A (en) Message forwarding method and message forwarding device
WO2020220459A1 (en) Vxlan and openflow-based method and system for sharing virtual home network
CN108259351B (en) Data transmission method suitable for wide-band and narrow-band channel hybrid network
CN105591897B (en) The MAC Address synchronous method and device of TRILL network
GB2600332A (en) Link layer method of configuring a bare-metal server in a virtual network
CN107613033A (en) System and method is realized suitable for the distributed virtual LAN of mobile wireless node
EP4250649A1 (en) Packet forwarding method and apparatus, and network system
CN105991446A (en) Three-layer networking method, device and system and data processing method, device and system of TRILL network
CN106487677B (en) Provider edge equipment and data forwarding method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant