CN104518937A - Method and device for communicating multiple devices of virtual local area network (VLAN) with one another - Google Patents

Method and device for communicating multiple devices of virtual local area network (VLAN) with one another Download PDF

Info

Publication number
CN104518937A
CN104518937A CN201310465748.4A CN201310465748A CN104518937A CN 104518937 A CN104518937 A CN 104518937A CN 201310465748 A CN201310465748 A CN 201310465748A CN 104518937 A CN104518937 A CN 104518937A
Authority
CN
China
Prior art keywords
vlan
client
server
network
address
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
CN201310465748.4A
Other languages
Chinese (zh)
Other versions
CN104518937B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310465748.4A priority Critical patent/CN104518937B/en
Publication of CN104518937A publication Critical patent/CN104518937A/en
Application granted granted Critical
Publication of CN104518937B publication Critical patent/CN104518937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a device for communicating multiple devices of a virtual local area network (VLAN) with one another. The devices comprise VLAN servers and VLAN clients. The method includes locating the VLAN servers in the local area network, connecting the local area network with the internet and connecting the VLAN clients with the internet; starting the VLAN servers at the VLAN clients, distributing internal network IP (internet protocol) addresses for the various VLAN clients after the VLAN servers re successfully connected with the VLAN clients and storing the internal network IP addresses; enabling each VLAN server to transmit the corresponding internal network IP address to the other corresponding VLAN clients, and connecting the various VLAN clients with one another. The method and the device have the advantage that data can be exchanged between the internal devices of the VPN (virtual private network) and external devices by the aid of the method and the device.

Description

The method of the many communication between devices of virtual LAN VLAN and device
Technical field
The present invention relates to communication technical field, particularly relate to method and the device of the many communication between devices of a kind of virtual LAN VLAN.
Background technology
Along with the development of network technology, realize the communication in enterprise network between external equipment, seem and become more and more important.But the proper communication realized in prior art inside and outside enterprise network, high to the requirement of server, directly cause server stress excessive.
To realize VPN(Virtual Private Network in company, VPN (virtual private network)) communicate as example is described, set up a vpn server in intra-company, vpn server has two pieces of network interface cards, and one piece connects Intranet, and another block connects public network.Other places employee is after locality connects the Internet, vpn server is found by the Internet, then utilize vpn server as transfer Entry Firm Intranet, to realize the proper communication of equipment room, the condition of general needs comprises: 1, vpn server possesses outside public network IP address, and guarantee external equipment can by the Internet and in-company network device communications; 2, vpn server will possess the hardware of double netcard, carries out isolation and turn mutually between guarantee Intranet; 3, each branch outside Intranet and between the VPN client of employee, communication must by vpn server transfer, increases vpn server pressure.This shows, to realize the proper communication of the equipment room inside and outside enterprises lan, server being had higher requirements.
Therefore, one of problem that those skilled in the art are in the urgent need to address is, proposes method and the device of the many communication between devices of a kind of virtual LAN VLAN, in order to realize the exchange of the data between VPN internal unit and external equipment.
Summary of the invention
Technical problem to be solved by this invention is to provide method and the device of the many communication between devices of a kind of virtual LAN VLAN, in order to realize the exchange of the data between VPN internal unit and external equipment.
In order to solve the problem, the invention discloses the method for the many communication between devices of a kind of virtual LAN VLAN, described equipment comprises VLAN server, VLAN client, and described method comprises:
Described VLAN server is positioned at local area network (LAN), and described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Described VLAN server at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
IP address of internal network is sent to other VLAN clients by described VLAN server, is also interconnected between each VLAN client.
Preferably, described equipment also comprises the network equipment be in described VLAN server in same local area network (LAN),
When the described network equipment sends data to described VLAN client, the described network equipment sends data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
Or,
When described VLAN client sends data to the described network equipment, described VLAN client sends data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
Preferably, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN clients described directly send data to VLAN client.
Preferably, described VLAN client has client identification, described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for each VLAN client and preserve step and be:
Described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for VLAN client corresponding to each client identification and also preserve;
Described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for VLAN client corresponding to each client identification and the step of preserving comprises:
Described VLAN server is connected by RIP communication mode with described VLAN client; When after successful connection, between described VLAN server and described VLAN client, set up RIP passage;
Described VLAN server adopts dynamic host configuration protocol DHCP to be that each VLAN client distributes IP address of internal network by described RIP passage; Described VLAN client is for preserving described IP address of internal network;
Described VLAN server preserves described client identification and IP address of internal network.
Preferably, described method also relates to one or more transit node equipment SE, described RIP communication mode is that described VLAN client adopts NAT communication mode to be connected with described VLAN server, connects unsuccessful according to NAT communication mode, then connect transit node equipment SE respectively;
When described VLAN client sends packet to VLAN server, described VLAN client according to the information of one or more transit node equipment SE of described VLAN server successful connection by Packet Generation to wherein at least one transit node equipment SE, described transit node equipment SE is used for described packet to be forwarded to described VLAN server
Or,
When described VLAN server sends packet to VLAN client, Packet Generation is used for described packet to be forwarded to described VLAN client to wherein at least one transit node equipment SE, described transit node equipment SE according to the information of the successful one or more transit node equipment SE of described VLAN client's side link by described VLAN server.
Preferably, RIP communication mode is also adopted to connect between described VLAN client.
Preferably, IP address of internal network is sent to the step of other VLAN clients and is by described VLAN server:
Described client identification and IP address of internal network are sent to other VLAN clients by described VLAN server.
The embodiment of the invention also discloses the device of the many communication between devices of a kind of virtual LAN VLAN, described equipment comprises VLAN server, VLAN client, and described device comprises:
Be positioned at the link block of VLAN server, for when described VLAN server is positioned at local area network (LAN), described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Be positioned at the IP address assignment module of VLAN server, at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
Being positioned at the sending module of VLAN server, for IP address of internal network being sent to other VLAN clients, being also interconnected between each VLAN client.
Preferably, described equipment also comprises the network equipment be in described VLAN server in same local area network (LAN),
When the described network equipment sends data to described VLAN client, the described network equipment sends data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
Or,
When described VLAN client sends data to the described network equipment, described VLAN client sends data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
Preferably, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN clients described directly send data to VLAN client.
Compared with prior art, the present invention includes following advantage:
In the embodiment of the present invention, VLAN server and VLAN client are interconnected; realize the exchange of the data between VPN internal unit and external equipment; and; owing to being the forwarding being carried out packet by third-party equipment; effectively can avoid the attack from network-external, hide and the information of protecting network inside.In addition, also mutually connect between VLAN client, if need swap data between VLAN client, directly can carry out the exchange of data between, efficiency is high, provides better experience sense to user, improves the service quality of service provider network.
VLAN server and VLAN client adopt RIP communication mode to communicate in embodiments of the present invention, when VLAN server can not be directly connected by NAT communication mode with VLAN client, same transit node equipment can be connected, when needs transmit mutually packet, first can send packet to transit node equipment, by transit node equipment, packet is forwarded again, the communication between equipment is realized like this by third party device, the diversification of real-time performance communication between devices mode, and reliability is high.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the embodiment of the method 1 of a kind of many communication between devices of the present invention;
Fig. 2 is the flow chart of steps of the embodiment of the method 2 of a kind of many communication between devices of the present invention;
Fig. 3 is the schematic diagram of a kind of many equipment rooms annexation of the present invention;
Fig. 4 is that a kind of equipment room of the present invention carries out the direct-connected schematic diagram of P2P;
Fig. 5 is the schematic diagram of the annexation of a kind of many equipment of the present invention;
Fig. 6 is the structured flowchart of the device embodiment of a kind of many communication between devices of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is; VLAN server is connected mutually with VLAN client; to realize the exchange of the data between equipment; and; owing to being the forwarding being carried out packet by third-party equipment; effectively can avoid the attack from network-external, hide and the information of protecting network inside.In addition, also mutually connect between VLAN client, if need swap data between VLAN client, directly can carry out the exchange of data between, efficiency is high, provides better experience sense to user, improves the service quality of service provider network.
With reference to Fig. 1, show the flow chart of steps of the embodiment of the method 1 of a kind of many communication between devices of the present invention, described equipment can comprise virtual LAN VLAN server, VLAN client, and described method can comprise the steps:
Step 101, described VLAN server is positioned at local area network (LAN), and described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Step 102, described VLAN server at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
Step 103, IP address of internal network is sent to other VLAN clients by described VLAN server, is also interconnected between other VLAN clients.
VLAN(Virtual Local Area Network, VLAN) be that lan device is logically divided into the network segment one by one by one, thus realize the emerging data switching technology of virtual workgroup.
VLAN server is in a local network connected with this local area network (LAN), and this local area network (LAN) is then connected with the Internet of outside.Outside this local area network (LAN), one or more VLAN client can also be had Anywhere, and be also connected with this Internet.
When after VLAN client terminal start-up, be connected with VLAN server at once.When after successful connection, VLAN server is that each VLAN client distributes IP address of internal network, and preserves IP address of internal network corresponding to each VLAN client.IP address of internal network is sent to other VLAN client by VLAN server.
It should be noted that, be also interconnected between other VLAN clients, like this, other VLAN clients can directly communicate, and without the need to by VLAN server, save the network bandwidth of this local area network (LAN).
With reference to Fig. 2, show the flow chart of steps of the embodiment of the method 2 of a kind of many communication between devices of the present invention, described equipment can comprise virtual LAN VLAN server, VLAN client, described VLAN client can have client identification, and described method can comprise the steps:
Step 201, described VLAN server is positioned at local area network (LAN), and described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Step 202, described VLAN server adopts RIP communication mode to be connected with described VLAN client; After successful connection, between described VLAN server and described VLAN client, set up RIP passage;
If VLAN server and described VLAN client adopt RIP communication mode, also relate to one or more transit node equipment SE.Described RIP communication mode can be that described VLAN client adopts NAT communication mode to be connected with described VLAN server, connects unsuccessful according to NAT communication mode, then connect transit node equipment SE respectively;
When described VLAN client sends packet to VLAN server, described VLAN client according to the information of one or more transit node equipment SE of described VLAN server successful connection by Packet Generation to wherein at least one transit node equipment SE, described transit node equipment SE is used for described packet to be forwarded to described VLAN server
Or,
When described VLAN server sends packet to VLAN client, Packet Generation is used for described packet to be forwarded to described VLAN client to wherein at least one transit node equipment SE, described transit node equipment SE according to the information of the successful one or more transit node equipment SE of described VLAN client's side link by described VLAN server.
Specifically, first VLAN client attempts directly being connected with VLAN server, if connection failure, after VLAN client receives the information of one or more transit node equipment SE that server PS sends, and transit node equipment SE corresponding with the information of transit node equipment SE respectively connects, if successful connection, the information receiving VLAN client and send the transit node equipment SE of its successful connection is sent to VLAN server by server PS, the node device SE that VLAN server is corresponding with the information of transit node equipment SE respectively connects, and record the information of the transit node equipment SE of its successful connection.When VLAN client and VLAN server send data packets to each other, the other side can be transmitted to respectively by both transit node equipment SE of equal successful connection.Therefore, when VLAN client cannot directly be connected with VLAN server, the other side can also be transmitted to by transit node equipment SE, the diversification of communication between devices mode.
In a kind of preferred exemplary of the present invention, be connected if certain transit node equipment SE has reached P2P with VLAN client and VLAN server, then the route arriving VLAN server is pointed to transit node equipment SE by VLAN client in internal routing table; The route arriving VLAN client is pointed to transit node equipment SE by VLAN server in internal routing table conversely.With reference to the schematic diagram of the of the present invention a kind of many equipment rooms annexation shown in Fig. 3, wherein, equipment room can communicate for P2P.When VLAN client needs to send data to VLAN server, filling in final purpose address at packet is VLAN server, and by Packet Generation to transit node equipment SE; When transit node equipment SE receives that to indicate VLAN server be the packet of destination address, automatically this packet is transmitted to VLAN server, otherwise, when VLAN server needs to send data to VLAN client, filling in final purpose address at packet is VLAN client, and by Packet Generation to transit node equipment SE; When transit node equipment SE receives that to indicate VLAN client be the packet of destination address, automatically this packet is transmitted to VLAN client.
In another preferred exemplary of the present invention, if VLAN client and the successful connection of VLAN server, also directly can send out data mutually so between the two, and not need through transit node equipment SE, specifically, what equipment room directly connected is have employed NAT communication mode.By using NAT communication mode that in-house all user can be made by limited several (or 1) legitimate ip address access Internet, thus save the legitimate ip address on Internet; On the other hand, by address transition, the real IP address of interior online main frame can be hidden, thus improve the fail safe of network.The schematic diagram of P2P connection specifically can be carried out with reference to the of the present invention a kind of equipment room shown in Fig. 4, described VLAN client can have the first Intranet udp port and the first outer net udp port, described VLAN server can have the second Intranet udp port and the second outer net udp port, and namely described in VLAN client's side link, the step of VLAN server can comprise:
Step S1, described VLAN client sends described in described first Intranet udp port and the first outer net udp port to described server PS; Described server PS is used for described first Intranet udp port and the first outer net udp port to be sent to described VLAN server; Described VLAN server is used for when receiving described first Intranet udp port and the first outer net udp port, record described first Intranet udp port and the first outer net udp port, and send described second Intranet udp port and the second outer net udp port extremely described server PS;
Step S2, described VLAN client receives the described second Intranet udp port and the second outer net udp port record that described server PS sends;
Step S3, described VLAN client, respectively from described first Intranet udp port and described first outer net udp port, sends confirmation to described second Intranet udp port and described second outer net udp port;
Step S4, described VLAN client receives the confirmation successful information that described VLAN server sends for described confirmation.
In specific implementation, if the message of receiving the confirmation, then represent direct-connected success.Node device also comprises tcp port, if use UDP(User Datagram Protocol, User Datagram Protoco (UDP)) mode cannot successful connection, then use TCP(Transmission ControlProtocol by tcp port, transmission control protocol) mode connects.
Step 203, described VLAN server adopts dynamic host configuration protocol DHCP to be that each VLAN client distributes IP address of internal network by described RIP passage; Described VLAN client is for preserving described IP address of internal network;
Step 204, described VLAN server preserves described client identification and IP address of internal network;
Step 205, described client identification and IP address of internal network are sent to other VLAN clients by described VLAN server, are also interconnected between other VLAN clients.
When after each VLAN client terminal start-up, also directly connect between VLAN client terminal start-up, its connected mode is identical with the connected mode of VLAN server and VLAN client, therefore has not repeated at this.
After having the success of VLAN client's side link, VLAN server is by inner DHCP(Dynamic host configuration protocol, DHCP) the IP address assignment device of server or self configuration distributes IP address of internal network to outside VLAN client, VLAN server is again by connecting RIP channel allocation to each VLAN client, the client identification (namely No. ID) of VLAN client, IP address of internal network are saved in VLAN server, and local area network is announced on the MAC of IP address of internal network sensing VLAN server network interface card.
It should be noted that, RIP communication mode between VLAN client, also can be adopted to connect, owing to adopting RIP communication mode connection procedure identical with VLAN client and VLAN server, therefore do not repeated at this.
In one preferred embodiment of the invention, described equipment can also comprise the network equipment be in described VLAN server in same local area network (LAN), when the described network equipment sends data to described VLAN client, the described network equipment sends data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
With reference to the schematic diagram of the annexation of the of the present invention a kind of many equipment shown in Fig. 5, specifically VLAN server can be comprised, VLAN1 client and VLAN2 client.When VLAN1 client needs the network equipment that sends data in corporate lan, can be such as the host computer in corporate lan or other equipment, data are first sent to VLAN server by VLAN1, are forwarded in the network equipment be forwarded to again in this local area network (LAN) by VLAN server.
When described VLAN client sends data to the described network equipment, described VLAN client sends data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
Same with reference to Fig. 5, when the network equipment of company needs data to be sent to outside VLAN1 client, first data are sent to VLAN server, these data of VLAN server are sent to VLAN1 client by RIP passage.
In another preferred embodiment of the invention, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN client described directly sends data to VLAN client.
Same with reference to Fig. 5, when VLAN1 client needs to send data to VLAN2 client, can directly be dealt into VLAN2 client by RIP channel data.So do not need to use the Internet resources in intra-company's local area network (LAN), and be directly connected with VLAN2 client due to VLAN1 client, communication efficiency is high.
In specific implementation, usually the communication of local area network (LAN) internal network devices and outside VLAN client will be realized, VLAN server needs the hardware of double netcard, applies the equipment that the embodiment of the present invention then can not need double netcard, only needs the equipment by Single NIC.Specifically, after VLAN startup of server, the network interface card of VLAN server can obtain IP address of internal network by DHCP or by the mode of directly specifying, and by this IP address of internal network and server PS, outside VLAN client communicates.After having VLAN client's side link to come in, VLAN server distributes the IP address of internal network used in local area network (LAN) to outside VLAN client by the IP address assignment device of internal DHCP server or self configuration, this IP address of internal network is registered in VLAN server, and local area network is announced on the MAC of this interior IP address sensing VLAN server network interface card.
When IP address of internal network from internal network devices to VLAN client being representative send packet time, first the network interface card of VLAN server can be published to, after VLAN server receives bag, judge that receiver address is the IP address of VLAN client, then the RIP passage by setting up with VLAN client sends to VLAN server.So just only need IP address of internal network realizes the communication between equipment, namely can use Single NIC equipment, low for equipment requirements.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the application is necessary.
With reference to the structured flowchart of the device embodiment of the many communication between devices of of the present invention a kind of virtual LAN VLAN shown in Fig. 6, described equipment can comprise VLAN server, VLAN client, and described device can comprise as lower module:
Be positioned at the link block 301 of VLAN server, for when described VLAN server is positioned at local area network (LAN), described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Be positioned at the IP address assignment module 302 of VLAN server, at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
In one preferred embodiment of the invention, described VLAN client can have client identification, described in be positioned at VLAN server IP address assignment module 302 can comprise:
Be positioned at the IP address assignment submodule of VLAN server, at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for VLAN client corresponding to each client identification and also preserve;
The IP address assignment submodule of the described VLAN of being positioned at server can comprise:
Be positioned at the RIP Path Setup unit of VLAN server, be directly connected with described VLAN client for described VLAN server; When after successful connection, between described VLAN server and described VLAN client, set up RIP passage;
Described VLAN server has the first Intranet udp port and the first outer net udp port, and described VLAN client has the second Intranet udp port and the second outer net udp port, and the RIP Path Setup unit being positioned at VLAN server comprises:
Described VLAN server sends described in described first Intranet udp port and the first outer net udp port to described server PS; Described server PS is used for described first Intranet udp port and the first outer net udp port to be sent to described VLAN client; Described VLAN client is used for when receiving described first Intranet udp port and the first outer net udp port, record described first Intranet udp port and the first outer net udp port, and send described second Intranet udp port and the second outer net udp port extremely described server PS;
Described VLAN server receives the described second Intranet udp port and the second outer net udp port record that described server PS sends;
Described VLAN server, respectively from described first Intranet udp port and described first outer net udp port, sends confirmation to described second Intranet udp port and described second outer net udp port;
Described VLAN server receives the confirmation successful information that described VLAN client sends for described confirmation.
Be positioned at the IP address assignment unit of VLAN server, adopt dynamic host configuration protocol DHCP to be that each VLAN client distributes IP address of internal network by described RIP passage for described VLAN server; Described VLAN client is for preserving described IP address of internal network;
Be positioned at the preservation submodule of VLAN server, described VLAN server preserves described client identification and IP address of internal network.
Be positioned at the sending module 303 of VLAN server, for the mark of VLAN client and IP address of internal network are sent to other VLAN clients, be also interconnected between each VLAN client.
Wherein, mutually directly connect between each VLAN client described.
In one preferred embodiment of the invention, the sending module 303 being positioned at VLAN server described in can comprise:
Be positioned at the transmission submodule of VLAN server, for described client identification and IP address of internal network are sent to other VLAN clients.
In one preferred embodiment of the invention, described equipment can also comprise the network equipment be in described VLAN server in same local area network (LAN),
When the described network equipment sends data to described VLAN client, the described network equipment can send data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
Or,
When described VLAN client sends data to the described network equipment, described VLAN client can send data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
In one preferred embodiment of the invention, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN clients described directly send data to VLAN client.
In one preferred embodiment of the invention, described device can also relate to one or more transit node equipment SE, described RIP communication mode can be that described VLAN client adopts NAT communication mode to be connected with described VLAN server, connect unsuccessful according to NAT communication mode, then connect transit node equipment SE respectively;
When described VLAN client sends packet to VLAN server, described VLAN client according to the information of one or more transit node equipment SE of described VLAN server successful connection by Packet Generation to wherein at least one transit node equipment SE, described transit node equipment SE is used for described packet to be forwarded to described VLAN server
Or,
When described VLAN server sends packet to VLAN client, Packet Generation is used for described packet to be forwarded to described VLAN client to wherein at least one transit node equipment SE, described transit node equipment SE according to the information of the successful one or more transit node equipment SE of described VLAN client's side link by described VLAN server.
In one preferred embodiment of the invention, RIP communication mode also can be adopted between described VLAN client to connect.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the application can be provided as method, device or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above to method and the device of the many communication between devices of a kind of virtual LAN VLAN provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method for the many communication between devices of virtual LAN VLAN, is characterized in that, described equipment comprises VLAN server, VLAN client, and described method comprises:
Described VLAN server is positioned at local area network (LAN), and described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Described VLAN server at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
IP address of internal network is sent to other VLAN clients by described VLAN server, is also interconnected between each VLAN client.
2. method according to claim 1, is characterized in that, described equipment also comprises the network equipment be in described VLAN server in same local area network (LAN),
When the described network equipment sends data to described VLAN client, the described network equipment sends data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
Or,
When described VLAN client sends data to the described network equipment, described VLAN client sends data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
3. method according to claim 1, is characterized in that, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN clients described directly send data to VLAN client.
4. method according to claim 1, is characterized in that, described VLAN client has client identification, described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for each VLAN client and preserve step and be:
Described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for VLAN client corresponding to each client identification and also preserve;
Described VLAN server at VLAN client terminal start-up and with its successful connection after, distribute IP address of internal network for VLAN client corresponding to each client identification and the step of preserving comprises:
Described VLAN server is connected by RIP communication mode with described VLAN client; When after successful connection, between described VLAN server and described VLAN client, set up RIP passage;
Described VLAN server adopts dynamic host configuration protocol DHCP to be that each VLAN client distributes IP address of internal network by described RIP passage; Described VLAN client is for preserving described IP address of internal network;
Described VLAN server preserves described client identification and IP address of internal network.
5. method according to claim 4, it is characterized in that, described method also relates to one or more transit node equipment SE, described RIP communication mode is that described VLAN client adopts NAT communication mode to be connected with described VLAN server, connect unsuccessful according to NAT communication mode, then connect transit node equipment SE respectively;
When described VLAN client sends packet to VLAN server, described VLAN client according to the information of one or more transit node equipment SE of described VLAN server successful connection by Packet Generation to wherein at least one transit node equipment SE, described transit node equipment SE is used for described packet to be forwarded to described VLAN server
Or,
When described VLAN server sends packet to VLAN client, Packet Generation is used for described packet to be forwarded to described VLAN client to wherein at least one transit node equipment SE, described transit node equipment SE according to the information of the successful one or more transit node equipment SE of described VLAN client's side link by described VLAN server.
6. method according to claim 1 or 5, is characterized in that, also adopt RIP communication mode to connect between described VLAN client.
7. the method according to claim 1 or 4, is characterized in that, the step that IP address of internal network is sent to other VLAN clients by described VLAN server is:
Described client identification and IP address of internal network are sent to other VLAN clients by described VLAN server.
8. a device for the many communication between devices of virtual LAN VLAN, is characterized in that, described equipment comprises VLAN server, VLAN client, and described device comprises:
Be positioned at the link block of VLAN server, for when described VLAN server is positioned at local area network (LAN), described local area network (LAN) is connected with the Internet, and VLAN client is also connected with described the Internet;
Be positioned at the IP address assignment module of VLAN server, at VLAN client terminal start-up and with its successful connection after, for each VLAN client distributes IP address of internal network preserving;
Being positioned at the sending module of VLAN server, for IP address of internal network being sent to other VLAN clients, being also interconnected between each VLAN client.
9. device according to claim 8, is characterized in that, described equipment also comprises the network equipment be in described VLAN server in same local area network (LAN),
When the described network equipment sends data to described VLAN client, the described network equipment sends data to described VLAN server, and described VLAN server is again by described data retransmission extremely described VLAN client;
Or,
When described VLAN client sends data to the described network equipment, described VLAN client sends data to described VLAN server, and described VLAN server is again by the described data retransmission extremely described network equipment.
10. device according to claim 8, is characterized in that, when described VLAN client sends data to other VLAN clients, described VLAN client directly sends data to other VLAN client; Or when other VLAN clients send data to described VLAN client, other VLAN clients described directly send data to VLAN client.
CN201310465748.4A 2013-09-30 2013-09-30 The method and device of the more communication between devices of virtual LAN VLAN Active CN104518937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310465748.4A CN104518937B (en) 2013-09-30 2013-09-30 The method and device of the more communication between devices of virtual LAN VLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310465748.4A CN104518937B (en) 2013-09-30 2013-09-30 The method and device of the more communication between devices of virtual LAN VLAN

Publications (2)

Publication Number Publication Date
CN104518937A true CN104518937A (en) 2015-04-15
CN104518937B CN104518937B (en) 2019-02-05

Family

ID=52793698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310465748.4A Active CN104518937B (en) 2013-09-30 2013-09-30 The method and device of the more communication between devices of virtual LAN VLAN

Country Status (1)

Country Link
CN (1) CN104518937B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787877A (en) * 2017-11-10 2019-05-21 智邦科技股份有限公司 The management method that box interchanger, network interface card and package transfer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764752A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method and system for managing remote concentrated image

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764752A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method and system for managing remote concentrated image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周晓林: "基于VLAN的局域网和基于VPN的广域网的互连系统", 《计算机系统应用》 *
张永: "利用ADSL组建基于VLAN远程办公网络的组网方案研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787877A (en) * 2017-11-10 2019-05-21 智邦科技股份有限公司 The management method that box interchanger, network interface card and package transfer
CN109787877B (en) * 2017-11-10 2020-12-25 智邦科技股份有限公司 Box type switch, network interface card and management method for packet transfer

Also Published As

Publication number Publication date
CN104518937B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US10826829B2 (en) Scalable handling of BGP route information in VXLAN with EVPN control plane
CN103166874B (en) A kind of message forwarding method and equipment
CN107948076B (en) Method and device for forwarding message
TWI538461B (en) Management server and management method thereof for managing cloud appliances in virtual local area networks
CN106161335A (en) A kind for the treatment of method and apparatus of network packet
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
CN105264493A (en) Dynamic virtual machines migration over information centric networks
CN107094110B (en) DHCP message forwarding method and device
CN109547354B (en) Load balancing method, device, system, core layer switch and storage medium
CN109361606A (en) A kind of message handling system and the network equipment
KR101938623B1 (en) Openflow communication method, system, controller, and service gateway
WO2021042445A1 (en) Layer 2 leased line network system, configuration method, and device
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
US20170180311A1 (en) Systems and methods for managing network address information
CN104378299A (en) Flow table entry processing method and device
CN107733930B (en) Method and system for forwarding Internet Protocol (IP) packets at multiple WAN network gateways
CN105933235B (en) Data communications method and device
CN105657078A (en) Data transmission method, data transmission device and multi-layer network manager
CN108512737B (en) Data center IP layer interconnection method and SDN controller
CN106027354B (en) The reflow method and device of VPN client
CN104518959A (en) Method and device for communication between devices
CN104518937A (en) Method and device for communicating multiple devices of virtual local area network (VLAN) with one another
WO2021042446A1 (en) Layer-two tunnel switching method, system, and apparatus
CN105577850A (en) Method, device and system for realizing VOIP (Voiceover Internet Protocol) service transversal
US10693673B2 (en) Method and apparatus for routing data to cellular network

Legal Events

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