CN103052172A - PPPoE (point-to-point protocol over Ethernet) realization method for WLAN (wireless local area networks) sub net terminal - Google Patents
PPPoE (point-to-point protocol over Ethernet) realization method for WLAN (wireless local area networks) sub net terminal Download PDFInfo
- Publication number
- CN103052172A CN103052172A CN2012105876747A CN201210587674A CN103052172A CN 103052172 A CN103052172 A CN 103052172A CN 2012105876747 A CN2012105876747 A CN 2012105876747A CN 201210587674 A CN201210587674 A CN 201210587674A CN 103052172 A CN103052172 A CN 103052172A
- Authority
- CN
- China
- Prior art keywords
- pppoe
- message
- wireless
- terminal
- access device
- 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
Links
Images
Abstract
The invention discloses a PPPoE (point-to-point protocol over Ethernet) realization method for a WLAN (wireless local area networks) sub net terminal. After an upstream PPPoE message sent by a client terminal is received by wireless client end access equipment, a mark which can be used for uniquely identifying the client terminal and can not be changed in primary interaction is extracted from the upstream PPPoE message, the mark and a source MAC (media access control) address in the PPPoE message are stored into a terminal address corresponding table, and the source MAC address in the PPPoE message is replaced into the wireless MAC address of the wireless client end access equipment by the wireless client end access equipment; and after a PPPoE downstream message from a wideband access server sent by a wireless access point is received by the wireless client end access equipment, the mark is extracted from the downstream PPPoE message, according to the mark, the MAC address corresponding to the client terminal is found from the terminal address corresponding table, and then a target address in the PPPoE message is replaced into the MAC address of the client terminal. The technical scheme has the beneficial effects that the PPPoE realization method is simple and feasible, the functional requirement on the wireless access point by WLAN is reduced, and PPPoE connection that a sub net is connected with a local area network in a wireless manner is realized.
Description
Technical field
The present invention relates to a kind of control method of WLAN (wireless local area network), relate in particular to a kind of WLAN(Wireless Local Area Networks WLAN (wireless local area network)) the point-to-point Ethernet protocol of PPPoE(Point-to-Point Protocol over Ethernet of subnet end) implementation method.
Background technology
Existing WLAN (wireless local area network), if terminal directly is connected to local area network (LAN) by wireless mode, be the pattern networking of client terminal-WAP (wireless access point)-BAS Broadband Access Server, terminal can be smoothly by the PPPoE dial mode and BAS(Broadband Access Server BAS Broadband Access Server) carry out mutual.And if subnet is connected to local area network (LAN) by wireless mode, the networking model of client terminal-wireless client access device-WAP (wireless access point)-BAS Broadband Access Server for example, because in WAP (wireless access point) and the wireless client access device reciprocal process, message must be take the opposite end MAC of these two equipment as purpose MAC, thereby so that the up message of client terminal can't arrive BAS, the descending message of BAS also can't arrive client terminal, thereby can't realize PPPoE.
Summary of the invention
For the problems referred to above that exist in the existing WLAN (wireless local area network), provide first a kind of and be intended to realize that subnet is connected to the PPPoE implementation method that realizes the WLAN subnet end of PPPoE under the local area network (LAN) condition with wireless mode.
Concrete technical scheme is as follows:
A kind of PPPoE implementation method of WLAN subnet end, be applied to mainly by BAS Broadband Access Server, WAP (wireless access point), in the network that wireless client access device and at least one client terminal form, described client terminal is connected with described wireless client access device by cable or wireless transmitter, described wireless client is connected with described BAS Broadband Access Server by described WAP (wireless access point), wherein, on described wireless client access device, set up one in order to the terminal address corresponding table of record with the MAC Address of the described client terminal of described wireless client access device connection;
Described wireless client access device is behind the up PPPoE message that receives described client terminal transmission, in described up PPPoE message, extract one and can unique sign send the client terminal of described PPPoE message and the sign that in once mutual, can not change, and described sign is stored into the corresponding table of described terminal address with source MAC in the described PPPoE message, described wireless client access device is transmitted after the source MAC in the described PPPoE message being replaced with the wireless MAC address of described wireless client access device subsequently;
Described wireless client access device is behind the PPPoE downlink message from described BAS Broadband Access Server that receives described WAP (wireless access point) transmission, in described descending PPPoE message, extract described sign, and according to the described MAC Address that finds described client terminal corresponding to described sign in the corresponding table of described terminal address that is identified in, transmit after subsequently the destination address in the described PPPoE message being replaced with the MAC Address of described client terminal.
Preferably, find the stage in PPPoE, when described wireless client access device is received PADI message or PADR message with the main frame unique identification field in the described up PPPoE message as described sign.
Preferably, in the pppoe session stage, the session id when described wireless client access device is received the up PPPoE message that sends from described client terminal in the described up PPPoE message is as described sign.
Preferably, in the pppoe session stage, after described wireless client access device is received PADT message and forwarding, the deletion record corresponding with the sign in the described PADT message in the corresponding table of described terminal address.
Preferably, described wireless client access device is regularly deleted within the scheduled time without the record in the corresponding table of described terminal address of message interaction.
The beneficial effect of technique scheme is:
Simple, reduced the functional requirement of WLAN for WAP (wireless access point), realized that subnet connects with the PPPoE that wireless mode is connected under the local area network (LAN) condition.
Description of drawings
Fig. 1 is the applicable system configuration schematic diagram of PPPoE implementation method of a kind of WLAN subnet of the present invention end.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as limiting to the invention.
As shown in Figure 1, the PPPoE implementation method of a kind of WLAN subnet of the present invention end, in the network that is applied to mainly to be formed by BAS Broadband Access Server, WAP (wireless access point), wireless client access device and at least one client terminal, client terminal is connected with the wireless client access device by cable or wireless transmitter, wireless client is connected with BAS Broadband Access Server by WAP (wireless access point), wherein, on the wireless client access device, set up one in order to the terminal address corresponding table of record with the MAC Address of the client terminal of wireless client access device connection;
The wireless client access device is behind the up PPPoE message that receives the client terminal transmission, in up PPPoE message, extract one can be unique sign send the client terminal of PPPoE message and the sign that in once mutual, can not change, and will identify with the PPPoE message in source MAC be stored into the corresponding table of terminal address, the wireless client access device is transmitted after the source MAC in the PPPoE message being replaced with the wireless MAC address of wireless client access device subsequently;
The wireless client access device is behind the PPPoE downlink message from BAS Broadband Access Server that receives the WAP (wireless access point) transmission, in descending PPPoE message, extract sign, and according to being identified in the MAC Address that finds client terminal corresponding to sign in the corresponding table of terminal address, transmit after subsequently the destination address in the PPPoE message being replaced with the MAC Address of client terminal.
The PPPoE agreement comprises two stages altogether, i.e. the discovery stage of PPPoE and the session stage of PPPoE.The discovery stage of PPPoE can be divided into for four steps, and Main Function is so that client terminal and BAS Broadband Access Server both sides obtain MAC Address and unique session id number each other, sets up point-to-point corresponding relation.The first step is PADI (PPPoE Active Discovery Initiation Dynamic Discovery begins) message, is the broadcasting packet of being initiated by the client terminal side; Second step is PADO (PPPoE Active Discovery Offer Dynamic Discovery offer) message, is the unicast message of being responded the PADI message of each client terminal transmission by BAS Broadband Access Server; The 3rd step was after receiving the PADO message by the client terminal side joint for PADR (request of PPPoE Active Discovery Request Dynamic Discovery) message, selected a BAS Broadband Access Server to send unicast message as the subsequent session object; The 4th step was PADS (PPPoE Active Discovery Session-confirmation Dynamic Discovery session affirmation) message, BAS Broadband Access Server is prepared to enter session stage after receiving the PADR message, and this message can carry unique session id of distributing to client terminal.In addition, also has a PADT (end of PPPoE Active Discovery Terminate Dynamic Discovery) message, random time after session begins sends, and is used for stopping the session of a PPPoE, can be sent by client terminal or BAS Broadband Access Server.In the pppoe session stage, the point-to-point corresponding relation of namely setting up according to the discovery stage carries out exchanges data.The terminal address corresponding table of the present invention by in the wireless client access device, setting up, with can be corresponding with source MAC in order to unique identification client terminal and the sign that in a reciprocal process, can not change in the PPPoE message, and the source address in the PPPoE uplink message that client terminal is sent replaces with the wireless MAC address of wireless client access device, make the wireless client access device replace client terminal as the transmission source of PPPoE, when BAS Broadband Access Server sends descending PPPoE message, the wireless client access device is by the being identified in destination address of replacing after the MAC Address that finds client terminal corresponding to sign in the corresponding table of terminal address in the descending PPPoE message in the descending PPPoE message, making the wireless client access device replace BAS Broadband Access Server to carry out message sends, in the uplink and downlink process of PPPoE message, the wireless client access device has played the PPPoE message for the effect of sending out and withholding, thereby has realized that subnet connects with the PPPoE that wireless mode is connected under the local area network (LAN) condition.
On the technique scheme basis, further, find the stage in PPPoE, when the wireless client access device is received PADI message or PADR message with the main frame unique identification field in the up PPPoE message as sign.Because session id was not also established when PADI message and PADR message sent, so main frame unique identification field can be used as sign.
On the technique scheme basis, further, in the pppoe session stage, the session id when the wireless client access device is received the up PPPoE message that sends from client terminal in the up PPPoE message is as sign.Because the session stage session id is established, but and session id unique identification pppoe session, so session id can be used as sign.
On the technique scheme basis, further, in the pppoe session stage, after the wireless client access device is received PADT message and forwarding, the deletion record corresponding with the sign in the PADT message in the corresponding table of terminal address.Because the PADT message is the message of termination PPPoE dialogue, therefore after transmitting this message in the corresponding table of deletion terminal address corresponding record can reduce the expense of the corresponding table in wireless client access device maintenance terminal address.
On the technique scheme basis, further, the wireless client access device is regularly deleted within the scheduled time without the record in the corresponding table of terminal address of message interaction.This mode can further reduce the expense of the corresponding table in wireless client access device maintenance terminal address.
The above only is preferred embodiment of the present invention; be not so restriction embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.
Claims (5)
1. the PPPoE implementation method of a WLAN subnet end, be applied to mainly by BAS Broadband Access Server, WAP (wireless access point), in the network that wireless client access device and at least one client terminal form, described client terminal is connected with described wireless client access device by cable or wireless transmitter, described wireless client is connected with described BAS Broadband Access Server by described WAP (wireless access point), it is characterized in that, on described wireless client access device, set up one in order to the terminal address corresponding table of record with the MAC Address of the described client terminal of described wireless client access device connection;
Described wireless client access device is behind the up PPPoE message that receives described client terminal transmission, in described up PPPoE message, extract one and can unique sign send the client terminal of described PPPoE message and the sign that in once mutual, can not change, and described sign is stored into the corresponding table of described terminal address with source MAC in the described PPPoE message, described wireless client access device is transmitted after the source MAC in the described PPPoE message being replaced with the wireless MAC address of described wireless client access device subsequently;
Described wireless client access device is behind the PPPoE downlink message from described BAS Broadband Access Server that receives described WAP (wireless access point) transmission, in described descending PPPoE message, extract described sign, and according to the described MAC Address that finds described client terminal corresponding to described sign in the corresponding table of described terminal address that is identified in, transmit after subsequently the destination address in the described PPPoE message being replaced with the MAC Address of described client terminal.
2. the PPPoE implementation method of WLAN subnet end as claimed in claim 1, it is characterized in that, find the stage in PPPoE, when described wireless client access device is received PADI message or PADR message with the main frame unique identification field in the described up PPPoE message as described sign.
3. the PPPoE implementation method of WLAN subnet end as claimed in claim 1, it is characterized in that, in the pppoe session stage, the session id when described wireless client access device is received the up PPPoE message that sends from described client terminal in the described up PPPoE message is as described sign.
4. the PPPoE implementation method of WLAN subnet end as claimed in claim 1, it is characterized in that, in the pppoe session stage, after described wireless client access device is received PADT message and forwarding, the deletion record corresponding with the sign in the described PADT message in the corresponding table of described terminal address.
5. the PPPoE implementation method of WLAN subnet end as claimed in claim 1 is characterized in that, described wireless client access device is regularly deleted within the scheduled time without the record in the corresponding table of described terminal address of message interaction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587674.7A CN103052172B (en) | 2012-12-28 | 2012-12-28 | A kind of PPPoE implementation method of WLAN subnet end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210587674.7A CN103052172B (en) | 2012-12-28 | 2012-12-28 | A kind of PPPoE implementation method of WLAN subnet end |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103052172A true CN103052172A (en) | 2013-04-17 |
CN103052172B CN103052172B (en) | 2015-10-28 |
Family
ID=48064633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210587674.7A Active CN103052172B (en) | 2012-12-28 | 2012-12-28 | A kind of PPPoE implementation method of WLAN subnet end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103052172B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614565A (en) * | 2020-05-19 | 2020-09-01 | 青岛海信宽带多媒体技术有限公司 | Message forwarding method and gateway |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050200456A1 (en) * | 2004-03-11 | 2005-09-15 | Raj Bridgelall | Method and system for communicating data to a wireless access point |
CN101141259A (en) * | 2007-10-22 | 2008-03-12 | 杭州华三通信技术有限公司 | Method and device of access point equipment for preventing error access |
US20080228932A1 (en) * | 2007-03-12 | 2008-09-18 | Telefonaktiebolaget Lm Ericsson (Publ) | Applying policies for managing a service flow |
CN101715199A (en) * | 2009-11-16 | 2010-05-26 | 中兴通讯股份有限公司 | Method and device for upgrading access point |
-
2012
- 2012-12-28 CN CN201210587674.7A patent/CN103052172B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050200456A1 (en) * | 2004-03-11 | 2005-09-15 | Raj Bridgelall | Method and system for communicating data to a wireless access point |
US20080228932A1 (en) * | 2007-03-12 | 2008-09-18 | Telefonaktiebolaget Lm Ericsson (Publ) | Applying policies for managing a service flow |
CN101141259A (en) * | 2007-10-22 | 2008-03-12 | 杭州华三通信技术有限公司 | Method and device of access point equipment for preventing error access |
CN101715199A (en) * | 2009-11-16 | 2010-05-26 | 中兴通讯股份有限公司 | Method and device for upgrading access point |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614565A (en) * | 2020-05-19 | 2020-09-01 | 青岛海信宽带多媒体技术有限公司 | Message forwarding method and gateway |
CN111614565B (en) * | 2020-05-19 | 2022-05-10 | 青岛海信宽带多媒体技术有限公司 | Message forwarding method and gateway |
Also Published As
Publication number | Publication date |
---|---|
CN103052172B (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102143035B (en) | Data traffic processing method, network device and network system | |
CN102340546B (en) | IPv6 address distribution method and system | |
CN1972230A (en) | A broadcasting method and access controller for wireless LAN address resolution protocol | |
EP3863246B1 (en) | Service traffic processing method and apparatus | |
CN103118064A (en) | Method and device of Portal centralized authentication | |
CN102244688A (en) | Message forwarding method, apparatus thereof and system threof | |
CN105898892B (en) | The method for realizing high-speed traffic using wifi probe request and response bag | |
CN102238075A (en) | IPv6 (Internet Protocol version 6) routing establishing method based on Ethernet Point-to-Point Protocol and access server | |
CN103220276B (en) | A kind of method of network insertion, gateway and system | |
CN104980368A (en) | Bandwidth guarantee method and apparatus in software defined network (SDN) | |
CN107612928B (en) | Guarantee the method and system of Radio Link communication quality under thin ap mode | |
CN101547100A (en) | Method and system for multicast receiving control | |
WO2016101525A1 (en) | Method, apparatus and system for managing optical network unit dpu device | |
CN103685007A (en) | Method for MAC address learning during packet forwarding of edge devices and edge device | |
CN103079229B (en) | Directional broadcast transmission method for access controller | |
WO2015123807A1 (en) | Method, apparatus and system for obtaining configuration file | |
CN101827036B (en) | Method and device for realizing multicast service configuration of home gateway | |
CN104168302B (en) | Equipment manipulation implementation method, system and proxy gateway | |
WO2015131739A1 (en) | Data exchange method, baseband processing unit, radio frequency remote unit and relay unit | |
CN104717640A (en) | Realization method for wireless network communication based on positioning | |
CN103052172A (en) | PPPoE (point-to-point protocol over Ethernet) realization method for WLAN (wireless local area networks) sub net terminal | |
CN102868642A (en) | Method and device for achieving NVGRE message transmission in application specific integrated circuit (ASIC) | |
CN103001930A (en) | Remote data communication system | |
CN107465742B (en) | Distribution equipment and method for realizing asymmetric service by UDP tunnel technology | |
CN207010726U (en) | A kind of shunting device that non-symmetrical service is realized using UDP tunneling techniques |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170113 Address after: 200030 Shanghai City, Xuhui District Tianlin Road No. 140 Building No. 16 East Building Room 201-2 Patentee after: Shanghai atlas Network Technology Co., Ltd. Address before: 200240 Shanghai Road, Dongchuan, No. 555, building, floor 6, block 02B Patentee before: Shanghai Huanchuang Communication Technology Co., Ltd. |