CN102882867A - PPPoE maximal receiving unit negotiation method - Google Patents

PPPoE maximal receiving unit negotiation method Download PDF

Info

Publication number
CN102882867A
CN102882867A CN2012103522606A CN201210352260A CN102882867A CN 102882867 A CN102882867 A CN 102882867A CN 2012103522606 A CN2012103522606 A CN 2012103522606A CN 201210352260 A CN201210352260 A CN 201210352260A CN 102882867 A CN102882867 A CN 102882867A
Authority
CN
China
Prior art keywords
mru
pppoe
client computer
predetermined
server
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
CN2012103522606A
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.)
AUTELAN TECHNOLOGY Inc
Original Assignee
AUTELAN TECHNOLOGY Inc
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 AUTELAN TECHNOLOGY Inc filed Critical AUTELAN TECHNOLOGY Inc
Priority to CN2012103522606A priority Critical patent/CN102882867A/en
Publication of CN102882867A publication Critical patent/CN102882867A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a PPPoE (Point-to-point over Ethernet) maximal receiving unit (MRU) negotiation method, which comprises the following steps: avoiding MRU of message segment between two ends of a channel through negotiation between a PPPoE server and a wireless controller (AC); forwarding the MRU to a PPPoE client through the AC; confirming the MRU by the PPPoE client, informing the PPPoE server of the confirming result by the AC, and sending the MRU of the PPPoE client to the PPPoE server by the AC; confirming the MRU of the PPPoE client by the PPPoE server, and then informing the PPPoE client of the confirming result by the AC; and respectively selecting the maximal MRU from the confirmed MRUs by the PPPoE server and the PPPoE client for message transmission.

Description

Maximum receive unit machinery of consultation based on the point-to-point protocol on the Ethernet
Technical field
The application relates to wireless communication technology, more specifically, relates to a kind of maximum receive unit machinery of consultation based on the point-to-point protocol on the Ethernet.
Background technology
Point-to-point protocol on the Ethernet (PPPoE) can make the PPPoE client computer by simple bridging device (such as, switch or hub) link on the access concentrator of far-end, by the PPPoE agreement, the PPPoE server can be realized the control of each PPPoE client computer and charging.
Fig. 1 illustrates the PPPoE server of prior art and the diagram that is connected of PPPoE client computer.Shown in (A) among Fig. 1, PPPoE server and PPPoE client computer are set up tunnel communication.In network environment, send message between PPPoE server and the PPPoE client computer, can need to encapsulate heading, and can further carry out PPPoE maximum receive unit (MRU) and consult, if PPPoE consults MRU and adds that the heading size afterwards of encapsulation is greater than maximum transmitting element (MTU), then can cause message at the intermediate equipment burst, to all network elements, processing burst is the operation in consuming time, an expensive source, simultaneously the Internet Transmission quality also there is damage, reduces communication efficiency.For example; shown in (B) among Fig. 1; in the wlan network environment, PPPoE server and PPPoE client computer are usually by intermediate equipment, namely; wireless controller (AC) and WAP (wireless access point) (AP); carry out control and configuration (CAPWAP) encapsulation of WAP (wireless access point), usually can greater than MTU, process therefore cause carrying out between AC and AP message fragment because PPPoE negotiation MRU adds CAPWAP encapsulated message head; serious AC and the AP efficient of reducing takies processor.
Summary of the invention
The object of the present invention is to provide a kind of maximum receive unit based on the point-to-point protocol on the Ethernet (PPPoE) (MRU) machinery of consultation, described method comprises: PPPoE server and wireless controller (AC) are consulted to make the two ends, tunnel must not carry out the MRU of message fragment; AC is forwarded to the PPPoE client computer with described MRU; The PPPoE client computer is confirmed described MRU, will confirm that via AC the result notifies the PPPoE server, and via AC the MRU of PPPoE client computer is sent to the PPPoE server; The PPPoE server is confirmed the MRU of PPPoE client computer, and will be confirmed that via AC the result notifies the PPPoE client computer; The MRU of the minimum among the MRU that PPPoE server and PPPoE client computer are all selected to confirm is to be used for message transmissions.
The step that PPPoE server and AC consult to make the two ends, tunnel must not carry out the MRU of Fragmentation can comprise: the PPPoE server sends link configuration agreement (LCP) the configuring request message of the predetermined MRU that carries the PPPoE server to AC; AC resolves LCP configuring request message with the predetermined MRU of the PPPoE server that obtains to carry; If the predetermined MRU of the PPPoE server that carries is greater than the predetermined MRU of AC, then AC tackles LCP configuring request message, send the LCP configuration negative response message of the predetermined MRU that carries AC to the PPPoE server, the PPPoE server is resolved the predetermined MRU of the AC that obtains to carry to LCP configuration negative response message, and sends the LCP configuring request message of the predetermined MRU that carries AC to AC.
AC can comprise the step that described MRU is forwarded to the PPPoE client computer: if the MRU that the LCP configuring request message that the PPPoE server sends to AC carries is not more than the predetermined MRU of AC, then AC with LCP configuring request message repeating to the PPPoE client computer.
The PPPoE client computer is confirmed described MRU, to confirm that via AC the result notifies the step of PPPoE server to comprise: the PPPoE client computer is resolved LCP configuring request message, if the MRU that carries is not more than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configure-ack message to confirm the described MRU that carries via AC to the PPPoE server, if the MRU that carries is greater than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configuration negative response message to deny the described MRU that carries via AC to the PPPoE server.
The PPPoE client computer can comprise the step that the MRU of PPPoE client computer sends to the PPPoE server via AC: the PPPoE client computer sends the LCP configuring request message of the predetermined MRU that carries the PPPoE client computer to the PPPoE server via AC.
The PPPoE server is confirmed the MRU of PPPoE client computer, and will confirm that via AC the result notifies the step of PPPoE client computer to comprise: the PPPoE server is also resolved LCP configuring request message, if the predetermined MRU of the PPPoE client computer of carrying is not more than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configure-ack message with the predetermined MRU of the PPPoE client computer confirming to carry via AC to the PPPoE client computer, if the predetermined MRU of the PPPoE client computer of carrying is greater than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configuration negative response message with the predetermined MRU of the PPPoE client computer denying carrying via AC to the PPPoE client computer.
The predetermined MRU of PPPoE server can be the maximum MRU that the PPPoE server allows, and the predetermined MRU of AC makes the two ends, tunnel must not carry out the maximum MRU of message fragment, and the predetermined MRU of PPPoE client computer can be the maximum MRU that the PPPoE client computer allows.
The maximum MRU that makes the two ends, tunnel must not carry out message fragment can equal the size that maximum transmitting element (MTU) deducts the heading of the anterior encapsulation of message.
Will be in ensuing description part set forth the present invention other aspect and/or advantage, some will be clearly by describing, and perhaps can learn through enforcement of the present invention.
Description of drawings
By the detailed description of carrying out below in conjunction with accompanying drawing, above and other objects of the present invention and characteristics will become apparent, wherein:
Fig. 1 illustrates the PPPoE server of prior art and the diagram that is connected of PPPoE client computer;
Fig. 2 is the diagram that illustrates according to an exemplary embodiment of the present invention based on the maximum receive unit machinery of consultation of PPPoE agreement;
Fig. 3 illustrates the according to an exemplary embodiment of the present invention diagram of CAPWAP encapsulation PPPoE message.
Embodiment
Now, describe exemplary embodiment of the present invention in detail, its example represents in the accompanying drawings, and wherein, identical label represents identical parts all the time.
Fig. 2 is the diagram that illustrates according to an exemplary embodiment of the present invention based on the maximum receive unit machinery of consultation of PPPoE agreement.With reference to Fig. 2, can between PPPoE server and PPPoE client computer, set up the tunnel.
At operation S210, the PPPoE server sends link configuration agreement (LCP) configuring request (the LCP configuration Request) message of the predetermined MRU that carries the PPPoE server to AC.Here, the predetermined MRU of described PPPoE server can be the maximum MRU that the PPPoE server allows, but the invention is not restricted to this.
AC monitors LCP configuring request message and it is resolved the predetermined MRU of the PPPoE server that obtains to carry, if the predetermined MRU of the PPPoE server that carries is greater than the predetermined MRU of AC, then at operation S220, AC interception LCP configuring request message, send LCP configuration negative response (the LCP configuration Nak) message of the predetermined MRU that carries AC to the PPPoE server, with the supported MRU of notice PPPoE server.If the predetermined MRU of the PPPoE server that carries is not more than the predetermined MRU of AC, then AC operates S240.
Here, AC can be issued to flag bit at least one interface of AC and determine which interface to monitor up LCP configuring request message (namely by, by the LCP configuring request message of PPPoE server to the AC transmission), whether AC also can select the unlock interface monitor function, if unlock interface monitor function not, then AC can transmit message according to method of the prior art.In addition, AC also can arrange the maximum MRU (that is, the predetermined MRU of AC) that message fragment is not carried out at assurance two ends, tunnel, and this maximum MRU equals the size that MTU deducts the heading of the anterior encapsulation of message.Fig. 3 illustrates the according to an exemplary embodiment of the present invention diagram of CAPWAP encapsulation PPPoE message.As shown in Figure 3, only as example, maximum MRU equals MTU-60 (IP head)-8 (User Datagram Protoco (UDP) (UDP) head)-16 (CAPWAP)-28 (802.11)-3 (802.2 logic link controls (LLC))-5 (802.2 sub-network access protocal (SNAP))-8 (PPPoE)=MTU-128 (byte).Because regular traffic IP head is 20 bytes, MTU can be 1480 bytes, therefore MRU can be set to MTU-88 (byte), i.e. 1412 bytes, but should be understood that to the invention is not restricted to this, those skilled in the art can arrange maximum MRU according to actual conditions and needs.
At operation S230, the PPPoE server receives LCP configuration negative response message and it is resolved the predetermined MRU of the AC that obtains to carry, and sends the LCP configuring request message of the predetermined MRU that carries AC to AC.
AC monitors LCP configuring request message and it is resolved, because the MRU that carries is not more than the predetermined MRU of AC (under present case, the MRU that carries equals the predetermined MRU of AC), thus the operation S240, AC with LCP configuring request message repeating to the PPPoE client computer.
The PPPoE client computer receives LCP configuring request message and it is resolved, at operation S250, if the MRU that carries is not more than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configure-ack (LCP configuration ACK) message to confirm the MRU of this negotiation via AC to the PPPoE server, that is the MRU that, carries; If the MRU that carries is greater than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configuration negative response (LCP configuration Nak) message to deny the MRU of this negotiation via AC to the PPPoE server.Here, the predetermined MRU of described PPPoE client computer can be the maximum MRU that the PPPoE client computer allows, but the invention is not restricted to this.
At operation S260, the PPPoE client computer sends LCP configuring request (the LCP configuration Request) message of the predetermined MRU that carries the PPPoE client computer to the PPPoE server via AC.
The PPPoE server receives LCP configuring request message and it is resolved, at operation S270, if the predetermined MRU of the PPPoE client computer of carrying is not more than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configure-ack (LCP configuration ACK) message to confirm the MRU of this negotiation via AC to the PPPoE client computer, that is the predetermined MRU of the PPPoE client computer of, carrying; If the predetermined MRU of the PPPoE client computer of carrying is greater than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configuration negative response (LCP configuration Nak) message to deny the MRU of this negotiation via AC to the PPPoE client computer.
Through after the aforesaid operations, the MRU between PPPoE server and the PPPoE client computer consults complete, and PPPoE server and PPPoE client computer both sides all select minimum MRU among the MRU of the negotiation confirmed, with for subsequently message transmissions.
Should understand, also can have AP in the tunnel between PPPoE server and the PPPoE client computer, namely, AC can be forwarded to first AP with message, is further transmitted by AP again, perhaps first forwards the packet to AC by AP, further transmitted by AC again, do not repeat them here.In addition, the PPPoE that passes through the tunnel for every needs is professional, can adopt similar scheme to solve.
According to exemplary embodiment of the present invention, monitor and do link MRU negotiation by AC, can make PPPoE server in the existing network and PPPoE client computer in the situation that complete unaware AC (PPPoE server and PPPoE client computer are all thought each other direct communication), solve the problem that the PPPoE link passes through CAPWAP tunnel, and can improve link transmission efficient by making on the link each network element not need to process burst.
Although illustrated and described the present invention with reference to certain exemplary embodiments, but it will be apparent to one skilled in the art that the various changes that in the situation that does not break away from the spirit and scope of the present invention that scope limits by claim and equivalent thereof, can make on form and the details.

Claims (8)

1. the maximum receive unit based on the point-to-point protocol on the Ethernet (PPPoE) (MRU) machinery of consultation, described method comprises:
PPPoE server and wireless controller (AC) are consulted to make the two ends, tunnel must not carry out the MRU of message fragment;
AC is forwarded to the PPPoE client computer with described MRU;
The PPPoE client computer is confirmed described MRU, will confirm that via AC the result notifies the PPPoE server, and via AC the MRU of PPPoE client computer is sent to the PPPoE server;
The PPPoE server is confirmed the MRU of PPPoE client computer, and will be confirmed that via AC the result notifies the PPPoE client computer;
The MRU of the minimum among the MRU that PPPoE server and PPPoE client computer are all selected to confirm is to be used for message transmissions.
2. the MRU machinery of consultation of PPPoE as claimed in claim 1, wherein, the step that PPPoE server and AC consult to make the two ends, tunnel must not carry out the MRU of Fragmentation comprises:
The PPPoE server sends link configuration agreement (LCP) the configuring request message of the predetermined MRU that carries the PPPoE server to AC;
AC resolves LCP configuring request message with the predetermined MRU of the PPPoE server that obtains to carry;
If the predetermined MRU of the PPPoE server that carries is greater than the predetermined MRU of AC, then AC tackles LCP configuring request message, send the LCP configuration negative response message of the predetermined MRU that carries AC to the PPPoE server, the PPPoE server is resolved the predetermined MRU of the AC that obtains to carry to LCP configuration negative response message, and sends the LCP configuring request message of the predetermined MRU that carries AC to AC.
3. the MRU machinery of consultation of PPPoE as claimed in claim 2, wherein, AC comprises the step that described MRU is forwarded to the PPPoE client computer:
If the MRU that the LCP configuring request message that the PPPoE server sends to AC carries is not more than the predetermined MRU of AC, then AC with LCP configuring request message repeating to the PPPoE client computer.
4. the MRU machinery of consultation of PPPoE as claimed in claim 3, wherein, the PPPoE client computer is confirmed described MRU, will confirm that via AC the result notifies the step of PPPoE server to comprise:
The PPPoE client computer is resolved LCP configuring request message, if the MRU that carries is not more than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configure-ack message to confirm the described MRU that carries via AC to the PPPoE server, if the MRU that carries is greater than the predetermined MRU of PPPoE client computer, then the PPPoE client computer sends LCP configuration negative response message to deny the described MRU that carries via AC to the PPPoE server.
5. the MRU machinery of consultation of PPPoE as claimed in claim 4, wherein, the PPPoE client computer comprises the step that the MRU of PPPoE client computer sends to the PPPoE server via AC:
The PPPoE client computer sends the LCP configuring request message of the predetermined MRU that carries the PPPoE client computer to the PPPoE server via AC.
6. the MRU machinery of consultation of PPPoE as claimed in claim 5, wherein, the PPPoE server is confirmed the MRU of PPPoE client computer, and will be confirmed that via AC the result notifies the step of PPPoE client computer to comprise:
The PPPoE server is also resolved LCP configuring request message, if the predetermined MRU of the PPPoE client computer of carrying is not more than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configure-ack message with the predetermined MRU of the PPPoE client computer confirming to carry via AC to the PPPoE client computer, if the predetermined MRU of the PPPoE client computer of carrying is greater than the predetermined MRU of PPPoE server, then the PPPoE server sends LCP configuration negative response message with the predetermined MRU of the PPPoE client computer denying carrying via AC to the PPPoE client computer.
7. such as the MRU machinery of consultation of the described PPPoE of one of claim 1~6, wherein, the predetermined MRU of PPPoE server is the maximum MRU that the PPPoE server allows, the predetermined MRU of AC makes the two ends, tunnel must not carry out the maximum MRU of message fragment, and the predetermined MRU of PPPoE client computer is the maximum MRU that the PPPoE client computer allows.
8. the MRU machinery of consultation of PPPoE as claimed in claim 7, wherein, the maximum MRU that makes the two ends, tunnel must not carry out message fragment equals the size that maximum transmitting element (MTU) deducts the heading of the anterior encapsulation of message.
CN2012103522606A 2012-09-20 2012-09-20 PPPoE maximal receiving unit negotiation method Pending CN102882867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103522606A CN102882867A (en) 2012-09-20 2012-09-20 PPPoE maximal receiving unit negotiation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103522606A CN102882867A (en) 2012-09-20 2012-09-20 PPPoE maximal receiving unit negotiation method

Publications (1)

Publication Number Publication Date
CN102882867A true CN102882867A (en) 2013-01-16

Family

ID=47484010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103522606A Pending CN102882867A (en) 2012-09-20 2012-09-20 PPPoE maximal receiving unit negotiation method

Country Status (1)

Country Link
CN (1) CN102882867A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530193A (en) * 2014-09-30 2016-04-27 华为技术有限公司 Method for determining maximum transmission unit of tunnel, network device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863165A (en) * 2006-01-24 2006-11-15 华为技术有限公司 Method for reducing data IP fragmentation quantity in PS network
CN101079771A (en) * 2007-04-03 2007-11-28 中兴通讯股份有限公司 A broadband access method based on PPPoE
CN101083662A (en) * 2007-06-27 2007-12-05 中兴通讯股份有限公司 Apparatus and method for improving PPPoA transmission performance
CN101621515A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Access method based on point-to-point protocol on Ethernet and exchanger
CN101924689A (en) * 2009-06-16 2010-12-22 中兴通讯股份有限公司 Negotiation method of maximum segmentation parameters and network forwarding equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863165A (en) * 2006-01-24 2006-11-15 华为技术有限公司 Method for reducing data IP fragmentation quantity in PS network
CN101079771A (en) * 2007-04-03 2007-11-28 中兴通讯股份有限公司 A broadband access method based on PPPoE
CN101083662A (en) * 2007-06-27 2007-12-05 中兴通讯股份有限公司 Apparatus and method for improving PPPoA transmission performance
CN101924689A (en) * 2009-06-16 2010-12-22 中兴通讯股份有限公司 Negotiation method of maximum segmentation parameters and network forwarding equipment
CN101621515A (en) * 2009-08-07 2010-01-06 中兴通讯股份有限公司 Access method based on point-to-point protocol on Ethernet and exchanger

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530193A (en) * 2014-09-30 2016-04-27 华为技术有限公司 Method for determining maximum transmission unit of tunnel, network device and system
CN105530193B (en) * 2014-09-30 2019-06-07 华为技术有限公司 Determine method, the network equipment and the system of tunnel maximum transmission unit

Similar Documents

Publication Publication Date Title
US10412650B2 (en) Data transmission method, apparatus and system
EP3565196B1 (en) Flow control method and apparatus
US20150201373A1 (en) Data Transmission Method, User Equipment, and Network Side Device
CN110505714B (en) Multi-link communication method, equipment and terminal
EP4243486A2 (en) Handover method and device
US10368254B2 (en) Data forwarding method and controller
US9467535B2 (en) Data transmission method, network element device and communication system
EP3637703B1 (en) Message transmission methods and proxy servers
US20130176950A1 (en) Mechanism for Controlling Transmission of Control Signal to Communication Device
CN111988212B (en) Message transmission method and related device
KR20180097673A (en) Methods, apparatus and computer program product for PDU formatting according to SDU segmentation
US20210119931A1 (en) Method and apparatus for avoiding packet fragmentation
EP3021555B1 (en) Message processing method and device
JP2022515628A (en) Wireless communication method and equipment
KR20200116908A (en) Data transmission control method and related products
US10122438B2 (en) Systems, methods and devices for modifying relay operation of a wireless device
CN106550474B (en) Heterogeneous network integration method and device
JP6609645B2 (en) Wireless network function setting method, wireless network node, and core network device
JP6562573B2 (en) Processing method and apparatus for service flow packet
Ahn et al. SDN-based mobile data offloading scheme using a femtocell and WiFi networks
CN108307537B (en) Message interaction method and related equipment
CN102882867A (en) PPPoE maximal receiving unit negotiation method
CN102484820B (en) For controlling the system and method for the parameter in the application providing service in communication link of doing one's best
EP3217707B1 (en) Information transmitting method, radio equipment controller, radio equipment and base station
CN114666745B (en) Data transmission method, node control method, network equipment and network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100193 Beijing city Haidian District Dongbeiwang West Road No. 8 Zhongguancun Software Park Building 5 Building 2 layer Hanvon Technology

Applicant after: Beijing AUTELAN Technology Co., Ltd.

Address before: 100085 Beijing city Haidian District Dongbeiwang West Road No. 8 Zhongguancun Software Park Building 5 Building 2 layer Hanvon Technology

Applicant before: Autelan Technology Inc.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: AUTELAN TECHNOLOGY INC. TO: BEIJING AUTELAN TECHNOLOGY CO., LTD.

C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130116