CN103078779A - Method for realizing different internet businesses based on vlan (virtual local area network) at same interface - Google Patents

Method for realizing different internet businesses based on vlan (virtual local area network) at same interface Download PDF

Info

Publication number
CN103078779A
CN103078779A CN2012105801435A CN201210580143A CN103078779A CN 103078779 A CN103078779 A CN 103078779A CN 2012105801435 A CN2012105801435 A CN 2012105801435A CN 201210580143 A CN201210580143 A CN 201210580143A CN 103078779 A CN103078779 A CN 103078779A
Authority
CN
China
Prior art keywords
vlan
interface
packet
virtual
virtual interface
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.)
Pending
Application number
CN2012105801435A
Other languages
Chinese (zh)
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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W Electronics Co Ltd
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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN2012105801435A priority Critical patent/CN103078779A/en
Publication of CN103078779A publication Critical patent/CN103078779A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of home gateway network equipment, in particular to a method for realizing different internet businesses based on vlan (virtual local area network) at the same interface. According to the method, two virtual interfaces based on the vlan are firstly established by virtual interface establishing orders such as linux vconfig, then the virtual interfaces are bound into network bridges for bearing different businesses in a home gateway, data packets with the vlan are sent at the interface, and the data packets can flow into the virtual interfaces in the same vlan of the data packets, so that different internet businesses are distinguished on the basis of the vlan.

Description

Realize the method for different businesss of networking under the same interface based on vlan
Technical field
The present invention relates to home gateway network equipment field, relate in particular to the method that realizes different businesss of networking under a kind of same interface based on vlan.
Background technology
Progress along with society, the continuous speed-raising in the development of Information technology and broadband, family gateway equipment is had higher requirement, need equipment that high-performance, safe, stable data forwarding performance are provided, satisfy the diversified demands such as user's high-speed uploading, download.Simultaneously along with smart mobile phone, the appearance of the emerging product such as panel computer, the user also increases day by day for the demand of the multifunction of interface.
In at present traditional home gateway, a user interface can only be realized a kind of business of networking, or surfs the web webpage, or IPTV, and it is compatible on same interface to realize both.
Summary of the invention
The object of the present invention is to provide the method that realizes different businesss of networking under a kind of same interface based on vlan, solved in the present home gateway problem that a user interface can only be realized a kind of business of networking.
For addressing the above problem, the technical solution used in the present invention is:
Realize the method for different businesss of networking under a kind of same interface based on vlan, it is characterized in that: may further comprise the steps
At first create two based on the virtual interface of vlan;
Virtual interface is tied in the bridge of carrying different business in the home gateway;
Utilize virtual interface to send the packet of vlan;
To in actual interface, comparing with the packet of the corresponding vlan of virtual interface;
If the packet of vlan is identical, the data packet transmission of vlan to this packet with in the identical virtual interface of vlan;
Enter the binding bridge of virtual interface, binding bridge carrying business of networking.
Further technical scheme is that above-mentioned if the packet of vlan is not identical, packet then enters into default bridge by actual interface to comparing with the packet of the corresponding vlan of virtual interface in actual interface, default bridge carrying business of networking.
Further technical scheme is that two virtual interfaces based on vlan of above-mentioned establishment are, is that a LAN mouth with home gateway utilizes the vconfig order to create out the virtual interface of several receiving belts vlan data flow.
The beneficial effect that adopts technique scheme to produce is: this method is at first utilized two virtual interfaces based on vlan of establishment virtual interface order establishment such as linux vconfig, again these virtual interfaces are tied in the bridge that carries different business in the home gateway and go, at the packet of this interface transmission with vlan, these packets will flow to this packet with going in the identical virtual interface of vlan, thereby realize distinguishing different businesss of networking based on vlan.
Description of drawings
Fig. 1 is the schematic flow sheet of realizing an embodiment of method of different businesss of networking under of the present invention same interface based on vlan.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows an embodiment who realizes the method for different businesss of networking under the same interface of the present invention based on vlan: realize the method for different businesss of networking under a kind of same interface based on vlan, may further comprise the steps
At first create two based on the virtual interface of vlan;
Virtual interface is tied in the bridge of carrying different business in the home gateway;
Utilize virtual interface to send the packet of vlan;
To in actual interface, comparing with the packet of the corresponding vlan of virtual interface;
If the packet of vlan is identical, the data packet transmission of vlan to this packet with in the identical virtual interface of vlan;
Enter the binding bridge of virtual interface, binding bridge carrying business of networking.
Realize another embodiment of the method for different businesss of networking under the same interface based on vlan according to the present invention, to in actual interface, comparing with the packet of the corresponding vlan of virtual interface, if the packet of vlan is not identical, packet then enters into default bridge by actual interface, default bridge carrying business of networking.
Realize another embodiment of the method for different businesss of networking under the same interface based on vlan according to the present invention, creating two virtual interfaces based on vlan is, be a LAN mouth with home gateway such as eth0, utilize the vconfig order to create out the virtual interface of several receiving belts vlan data flow.
The invention has the beneficial effects as follows that whole process implementation gets up simply, implement easily, be very suitable for the demand based on the embedded device bridge data retransmission of LINUX system
Although invention has been described with reference to a plurality of explanatory embodiment of the present invention here, but, should be appreciated that those skilled in the art can design a lot of other modification and execution modes, these are revised and execution mode will drop within the disclosed principle scope and spirit of the application.More particularly, in the scope of, accompanying drawing open in the application and claim, can carry out multiple modification and improvement to building block and/or the layout of subject combination layout.Except modification that building block and/or layout are carried out with improving, to those skilled in the art, other purposes also will be obvious.

Claims (3)

1. realize the method for different businesss of networking under the same interface based on vlan, it is characterized in that: may further comprise the steps and at first create two based on the virtual interface of vlan;
Virtual interface is tied in the bridge of carrying different business in the home gateway;
Utilize virtual interface to send the packet of up-downgoing band vlan;
To in actual interface, comparing with the packet of the corresponding vlan of virtual interface;
If the packet of vlan is identical, data packet transmission to this packet with in the identical virtual interface of vlan;
Enter the binding bridge of virtual interface, binding bridge carrying business of networking.
2. realize the method for different businesss of networking under the same interface according to claim 1 based on vlan, it is characterized in that: described in actual interface, comparing with the packet of the corresponding vlan of virtual interface, if the packet of vlan is not identical, packet then enters into default bridge by actual interface, default bridge carrying business of networking.
3. realize the method for different businesss of networking under the same interface according to claim 1 based on vlan, it is characterized in that: two virtual interfaces based on vlan of described establishment are, be a LAN mouth with home gateway, utilize the vconfig order to create out the virtual interface of several receiving belts vlan data flow.
CN2012105801435A 2012-12-28 2012-12-28 Method for realizing different internet businesses based on vlan (virtual local area network) at same interface Pending CN103078779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105801435A CN103078779A (en) 2012-12-28 2012-12-28 Method for realizing different internet businesses based on vlan (virtual local area network) at same interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105801435A CN103078779A (en) 2012-12-28 2012-12-28 Method for realizing different internet businesses based on vlan (virtual local area network) at same interface

Publications (1)

Publication Number Publication Date
CN103078779A true CN103078779A (en) 2013-05-01

Family

ID=48155189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105801435A Pending CN103078779A (en) 2012-12-28 2012-12-28 Method for realizing different internet businesses based on vlan (virtual local area network) at same interface

Country Status (1)

Country Link
CN (1) CN103078779A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410559A (en) * 2014-12-18 2015-03-11 武汉长光科技有限公司 A method for achieving multiple routing and bridging of home gateway using single network bridge
CN107707481A (en) * 2017-11-27 2018-02-16 上海市共进通信技术有限公司 The message processing method of the WAN mouths of support Utag and Tag based on Vnet routers
CN108616439A (en) * 2018-05-03 2018-10-02 深圳市共进电子股份有限公司 Gateway device based on linux kernel and communication means
CN111683308A (en) * 2020-05-29 2020-09-18 烽火通信科技股份有限公司 Method and device for realizing flexible bridging service on home gateway
CN111885596A (en) * 2020-08-03 2020-11-03 南京创通微新通信有限公司 Data forwarding system and method based on virtual port
CN111917626A (en) * 2020-08-14 2020-11-10 上海中兴易联通讯股份有限公司 Centralized forwarding method for Wlan AC service data and electronic equipment
WO2021027408A1 (en) * 2019-08-14 2021-02-18 南京中兴新软件有限责任公司 Smooth evolution method for virtual gateway, and gateway device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522007A (en) * 2003-01-28 2004-08-18 ��Ϊ�������޹�˾ System and method for switch-in and transmission of different data frames in digital transmission network
CN101491014A (en) * 2006-08-04 2009-07-22 思科技术公司 Technique for sharing a physical port among a plurality of virtual bridges on a switch
CN102724087A (en) * 2011-03-29 2012-10-10 中兴通讯股份有限公司 Method and system for realizing network resource sharing
CN102769557A (en) * 2012-08-09 2012-11-07 深圳市共进电子股份有限公司 Transmission method and transmission device of business data message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522007A (en) * 2003-01-28 2004-08-18 ��Ϊ�������޹�˾ System and method for switch-in and transmission of different data frames in digital transmission network
CN101491014A (en) * 2006-08-04 2009-07-22 思科技术公司 Technique for sharing a physical port among a plurality of virtual bridges on a switch
CN102724087A (en) * 2011-03-29 2012-10-10 中兴通讯股份有限公司 Method and system for realizing network resource sharing
CN102769557A (en) * 2012-08-09 2012-11-07 深圳市共进电子股份有限公司 Transmission method and transmission device of business data message

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410559A (en) * 2014-12-18 2015-03-11 武汉长光科技有限公司 A method for achieving multiple routing and bridging of home gateway using single network bridge
CN107707481A (en) * 2017-11-27 2018-02-16 上海市共进通信技术有限公司 The message processing method of the WAN mouths of support Utag and Tag based on Vnet routers
CN108616439A (en) * 2018-05-03 2018-10-02 深圳市共进电子股份有限公司 Gateway device based on linux kernel and communication means
WO2021027408A1 (en) * 2019-08-14 2021-02-18 南京中兴新软件有限责任公司 Smooth evolution method for virtual gateway, and gateway device and storage medium
CN112398728A (en) * 2019-08-14 2021-02-23 南京中兴新软件有限责任公司 Smooth evolution method of virtual gateway, gateway equipment and storage medium
CN112398728B (en) * 2019-08-14 2024-03-08 中兴通讯股份有限公司 Virtual gateway smooth evolution method, gateway equipment and storage medium
CN111683308A (en) * 2020-05-29 2020-09-18 烽火通信科技股份有限公司 Method and device for realizing flexible bridging service on home gateway
CN111683308B (en) * 2020-05-29 2022-04-29 烽火通信科技股份有限公司 Method and device for realizing flexible bridging service on home gateway
CN111885596A (en) * 2020-08-03 2020-11-03 南京创通微新通信有限公司 Data forwarding system and method based on virtual port
CN111917626A (en) * 2020-08-14 2020-11-10 上海中兴易联通讯股份有限公司 Centralized forwarding method for Wlan AC service data and electronic equipment
CN111917626B (en) * 2020-08-14 2022-01-18 上海中兴易联通讯股份有限公司 Centralized forwarding method for Wlan AC service data and electronic equipment

Similar Documents

Publication Publication Date Title
CN103078779A (en) Method for realizing different internet businesses based on vlan (virtual local area network) at same interface
WO2009052452A3 (en) Virtual dispersive routing
MX2014000576A (en) System and method for reliable virtual bi-directional data stream communications with single socket point-to-multipoint capability.
WO2011144067A3 (en) Message handling method and apparatus
CN102646031A (en) Method for controlling large screen to display contents by mobile terminal
CN107302528A (en) A kind of transmission method of multi-protocol data and a kind of gateway apparatus
ATE501572T1 (en) BUNDLING COMMUNICATION SIGNALS FOR EFFICIENCY
CN107678716A (en) A kind of method for displaying image, device and mobile terminal
WO2012092817A1 (en) Method and system for message transmission
CN209134428U (en) Multi-link aggregated terminal and system
CN202957840U (en) Cross-network acceleration system
CN105100885A (en) Multi-screen interaction method and system for browsing and playing power point (PPT) files
CN107205286B (en) A kind of RCC, RRS and distributed base station system
CN105027508A (en) Using a network switch to control a virtual local network identity association
CN203026765U (en) Network de-concentrator
CN102752178B (en) A kind of CHINA RFTCOM Co Ltd system and realize the method for third-party operator's consumer wideband online
CN106936670A (en) Wing code is logical
CN103220117B (en) The multiple service supporting method of power line carrier communication wireless aps terminal installation
CN104009779B (en) Connecting method, client and system
CN105429838A (en) Led display system
CN205123772U (en) Router based on local authentication request that handles of hardware
CN205124004U (en) WiFi chip certification system based on hardware this locality and remote communication authentication request
CN203912203U (en) Cell phone accelerating system
CN103945390B (en) TV broadcast network and mobile communications network cooperative spatial multiplexing transmission method
CN103559664A (en) Vocational training network service platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130501