CN101060456B - Ethernet point-to-point protocol-based broad band access method and system - Google Patents

Ethernet point-to-point protocol-based broad band access method and system Download PDF

Info

Publication number
CN101060456B
CN101060456B CN2007101188431A CN200710118843A CN101060456B CN 101060456 B CN101060456 B CN 101060456B CN 2007101188431 A CN2007101188431 A CN 2007101188431A CN 200710118843 A CN200710118843 A CN 200710118843A CN 101060456 B CN101060456 B CN 101060456B
Authority
CN
China
Prior art keywords
pppoe
node
effectively
tag field
pcr
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.)
Active
Application number
CN2007101188431A
Other languages
Chinese (zh)
Other versions
CN101060456A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101188431A priority Critical patent/CN101060456B/en
Publication of CN101060456A publication Critical patent/CN101060456A/en
Application granted granted Critical
Publication of CN101060456B publication Critical patent/CN101060456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosed broadband access method based on PPPoE comprises: three layer nodes between client and access server combines PPPoE relay and route function to build transmission path for PPPoE. This invention can also use PPPoE relay mechanism to prevent PPPoE illegal server effect, and needs no extra expending for ensuring transmission efficiency.

Description

Broad band access method and system based on point-to-point protocol on the Ethernet
Technical field
The present invention relates to communication technique field, relate in particular to a kind of broad band access method and system based on PPPoE (Point to PointProtocol over Ethernet, point-to-point protocol on the Ethernet).
Background technology
Along with the carrying out and popularize of wideband switch-in business, PPPoE has become a kind of main broadband access method.For PPPoE, between the two ends double layer network, press MAC (Media Access Control, media access control layer) frame and transmit.Therefore, for the networking situation that has three node layers such as router in the middle of some, just use relatively difficulty.General at present two-layer VPN (the Virtual Private Network that adopts, Virtual Private Network) mode realizes that PPPoE strides the three layers of IP Ethernet and inserts, comprise GRE (Generic RoutingEncapsulation, generic route encapsulation), L2TP (Layer 2Tunnel Protocol, Level 2 Tunnel Protocol) or MPLS (Multi protocol Label Switch, multiprotocol label switching) etc.It is PPPoE relaying (PPPoE relay) mode that another kind of PPPoE strides three layers of IP Ethernet access implementation.But all there is weak point separately in these modes, as employing two-layer VPN mode, and the agreement more complicated, stability and maintainability are not high, and encapsulation needs extra expense.And there is the problem that can only pass through one three node layer in PPPoE relay mode, if there are a plurality of three node layers, then can't use PPPoE relay mode.
In summary, existing broadband access technology based on PPPoE obviously exists inconvenience and defective, so be necessary to be improved on reality is used.
Summary of the invention
At above-mentioned defective, the object of the present invention is to provide a kind of broad band access method and system based on point-to-point protocol on the Ethernet, it can be finished PPPoE and stride the access of three layers of IP Ethernet, and guarantees data transmission efficiency.
To achieve these goals, the invention provides a kind of broad band access method based on point-to-point protocol on the Ethernet, comprise client and access server in its residing broadband access system, and comprise a plurality of three node layers between client and the access server, described method comprises:
In the PPPoE discovery stage, described each three node layer are in conjunction with configuration of PPPoE relaying and routing function, and the PPPoE bag of setting up between client and the access server is transmitted path, particularly, can comprise the steps:
A, client send PPPoE and effectively find initial package, and described each three node layer find effectively that with this PPPoE initial package transfers to the access server of all appointments according to the configuration of PPPoE relaying;
After B, access server received that PPPoE effectively finds initial package in the scope of business, response PPPoE effectively found bag is provided, and described each three node layer are effectively found this PPPoE to provide packet transfer to arrive client in conjunction with configuration of PPPoE relaying and routing function;
C, client send PPPoE to selected access server and effectively find request package, and described each three node layer find effectively that with this PPPoE request package is transferred to selected access server in conjunction with configuration of PPPoE relaying and routing function;
D, access server response PPPoE effectively find session affirmation bag, each three node layer receives that this PPPoE sets up the PPPoE bag forwarding path of session stage when effectively finding session affirmation bag, and in conjunction with configuration of PPPoE relaying and routing function this PPPoE is found that effectively session affirmation packet transfer is to client.
According to broad band access method of the present invention, in described three node layers, be first three node layer PCR definition PCR tag field of contiguous client, comprise PCR node routable three layers of IP address in this PCR tag field and receive the client circuit information that PPPoE wraps;
Be first three node layer PSR definition PSR tag field of adjacency access server, comprise PSR node routable three layers of IP address in this PSR tag field and receive the access server circuit information that PPPoE wraps; And
Described each three node layer all dispose a PPPoE relay entity, and under this PPPoE relay entity given client terminal circuit information and access server circuit information, and except the client circuit information of PCR node and the access server circuit information of PSR node, the circuit information that comprises in other PPPoE relay entity is all related IP interface message address of three node layers.
According to broad band access method of the present invention, described steps A further comprises:
After A1, PCR node receive that the PPPoE of client transmission effectively finds initial package, configuration obtains the access server circuit information according to the PPPoE relaying of this node, and generates the PCR tag field and add PPPoE to and effectively find to be dealt on the access server circuit behind the initial package;
After A2, middle three node layers and PSR node receive that PPPoE effectively finds initial package,, this PPPoE is found that effectively initial package transfers to the access server of all appointments according to the PPPoE relaying configuration of this node.
According to broad band access method of the present invention, the PCR tag field that described PCR node generates is used the Relay-Session-Id tag field.
According to broad band access method of the present invention, described step B further comprises:
After B1, access server receive that PPPoE effectively finds initial package in the scope of business, generate and send the PPPoE that comprises the PCR tag field and effectively find to provide bag;
After B2, PSR node receive that PPPoE effectively finds bag is provided, obtain the PCR IP addresses of nodes according to the PCR tag field, and obtain the client circuit information in conjunction with PPPoE relaying configuration and routing function inquiry, generate and be dealt on the client circuit after the PSR tag field is added PPPoE to effectively discovery is provided bag;
After B3, middle three node layers receive that PPPoE effectively finds bag is provided, obtain the PCR IP addresses of nodes according to the PCR tag field, and, this PPPoE is effectively found to provide packet transfer to the PCR node in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition client circuit information;
B4, PCR node obtain the client circuit information according to the PCR tag field, and this PPPoE is effectively found to provide bag to send to client.
According to broad band access method of the present invention, PPPoE effectively finds to provide the PCR tag field in the bag to use the Relay-Session-Id tag field among the described step B1;
The PSR tag field that generates among the described step B2 is newly-increased for expansion;
Deletion PCR tag field and the PSR tag field copied in the Relay-Session-Id tag field among the described step B4 is effectively found this PPPoE to provide bag to send to client again.
According to broad band access method of the present invention, described step C further comprises:
After C1, client are selected an access server, generate and send the PPPoE that comprises the PSR tag field and effectively find request package;
After C2, PCR node receive that PPPoE effectively finds request package, obtain the PSR IP addresses of nodes according to the PSR tag field, and in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition access server circuit information, generation PCR tag field is added PPPoE to and is effectively found to be dealt on the access server circuit after the request package;
After C3, middle three node layers receive that PPPoE effectively finds request package, obtain the PSR IP addresses of nodes according to the PSR tag field, and, this PPPoE is found that effectively request package transfers to the PSR node in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition access server circuit information;
C4, PSR node obtain the access server circuit information according to the PSR tag field, and this PPPoE is found that effectively request package sends to selected access server.
According to broad band access method of the present invention, PPPoE finds that effectively the PSR tag field in the request package uses the Relay-Session-Id tag field among the described step C1;
The PCR node is according to the newly-increased PSR tag field of information expansion of Relay-Session-Id tag field among the described step C2, use the Relay-Session-Id tag field simultaneously and generate the PCR tag field, and add described PCR tag field and PSR tag field to PPPoE and effectively find in the request package;
With after the deletion of PSR tag field, again this PPPoE is found that effectively request package sends to access server among the described step C4.
According to broad band access method of the present invention, described step D further comprises:
D1, access server generate and send the PPPoE that comprises the PCR tag field and effectively find session affirmation bag;
After D2, PSR node and middle three node layers receive that PPPoE finds that effectively bag is confirmed in session, transmit the PPPoE bag of setting up session stage by generation and transmit path, and according to PCR tag field acquisition PCR IP addresses of nodes, obtain the client circuit information in conjunction with configuration of PPPoE relaying and routing function inquiry, this PPPoE is found that effectively session affirmation bag is dealt on the PCR node;
After D3, PCR node receive that this PPPoE finds that effectively bag is confirmed in session, also generate and transmit the PPPoE bag forwarding path of setting up session stage, and, after the deletion PCR tag field this PPPoE is found that effectively session affirmation bag sends to client according to PCR tag field acquisition client circuit information.
According to broad band access method of the present invention, described transmit comprise client mac address, session identification, go into circuit information, access server MAC Address and/or go out circuit information;
Also comprising after the described step D, when each three node layer is received the PPPoE bag of session stage, is that keyword is looked into and transmitted with the target MAC (Media Access Control) address of this PPPoE bag and session identification, obtains out circuit information, this PPPoE is wrapped be forwarded to out circuit then.
According to broad band access method of the present invention, also comprise that each three node layer is monitored PPPoE and effectively found end packet after the described step D, find that effectively end packet then removes this locality and transmit if receive PPPoE; And/or
Each three node layer monitoring pppoe session flow does not have flow or flow when very little in the given time when pppoe session, then removes this locality and transmits.
According to broad band access method of the present invention, described each three node layer all are that the media access control layer frame is transmitted, and all three node layers are not revised header when transmitting media access control layer frames.
The present invention also provides a kind of broadband access system based on point-to-point protocol on the Ethernet, comprise client and access server, and comprise a plurality of three node layers between client and the access server, described each three node layer in conjunction with configuration of PPPoE relaying and routing function, are set up PPPoE bag forwarding path between client and the access server in the PPPoE discovery stage.
The present invention is in the PPPoE discovery stage, each three node layer is in conjunction with PPPoE relay configuration and routing function, set up the PPPoE bag of session stage and transmit path, thereby both can finish PPPoE and stride the access of three layers of IP Ethernet, can take precautions against the influence that the illegal server of PPPoE inserts client by PPPoE relay mechanism again, and not need extra communication-cost to guarantee efficiency of transmission for transfer of data.
Description of drawings
Fig. 1 is the flow chart that the invention provides based on the broad band access method of PPPoE;
Fig. 2 is PCRTAG and a PSRTAG formal definition schematic diagram among the present invention;
Fig. 3 is the structural representation of the broadband access system of one embodiment of the invention;
Fig. 4 is the negotiation flow chart that PPPoE finds the stage among the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The invention provides a kind of broad band access method based on PPPoE, comprise client and access server in its residing broadband access system, and comprise a plurality of three node layers between client and the access server as router, each three node layer is all supported PPPoE relay configuration, this method is in the PPPoE discovery stage, described each three node layer are in conjunction with PPPoE relay configuration and routing function, set up PPPoE bag forwarding path between client and the access server, this PPPoE bag can be packet or controlling packet.
PPPoE sets up process can be divided into discovery stage (Discovery) and session stage (Session).Wherein the discovery stage is a stateless stage, this stage mainly is to select access server, the Session ID of definite PPPoE that will set up (SESSION_ID), obtain the link information of the other side's point-to-point simultaneously, and pppoe session stage operative norm PPP (Point to point protocol, point-to-point protocol) process.
The PPPoE discovery stage comprises 4 steps altogether:
1, client sends PADI bag (PPPoE Active Discovery Initiation, PPPOE effectively finds initial package).Client is that the mode with broadcasting sends PADI bag, should be filled to entirely 1 so this PADI wraps the destination address of pairing ethernet frame, and source address is filled the MAC Address of client.The PADI bag of broadcasting may be received by a plurality of access servers.
2, after access server is received PADI bag in the scope of business, send PADO bag (PPPoEActive Discovery Offer, PPPOE effectively find to provide bag) with response request.This moment, this PADO wrapped the MAC Address of the source address filling access server of pairing ethernet frame, and destination address is then filled the MAC Address of the client of being obtained from the PADI bag.
3, client is in a plurality of PADO bags that may receive, select the object of a suitable access server as subsequent session, and to selected access server transmission PADR bag (PPPoE ActiveDiscovery Request, PPPoE effectively finds request package), therefore PADR wraps the MAC Address of the source address filling client of pairing ethernet frame, and the destination address of Ethernet is filled to the MAC Address of access server.
4, access server is received PADR bag back preparation beginning pppoe session, and to client transmission PADS bag (PPPoE Active Discovery Session-confirmation, PPPoE effectively finds session affirmation bag), carry SESSION_ID in this PADS bag.
Fig. 1 shows the broad band access method flow process based on PPPoE provided by the invention, comprising:
Step S101, client send the PADI bag with broadcast mode, and each three node layer is given this PADI packet transfer the access server of all appointments according to the PPPoE relay configuration of this locality.
Response PADO wrapped after step S102, access server were received the interior PADI bag of the scope of business, and described respectively three node layers arrive client in conjunction with PPPoE relay configuration and routing function with this PADO packet transfer.
Step S103, client are selected a suitable access server and it are sent the PADR bag, and each three node layer is in conjunction with PPPoE relay configuration and routing function, with this PADR packet transfer to selected access server.
Step S104, access server are received PADR bag back response PADS bag, set up the PPPoE bag of session stage when respectively three node layers are received this PADS bag and transmit path, and in conjunction with PPPoE relay configuration and routing function this PADS packet transfer is arrived client.
The present invention is to first three node layer of contiguous nearly client, called after PCR node (the firstRouter connected to PPPoE client); And for first three node layer near access server, called after PSR node (the first Router connected to PPPoE AC Server).
As shown in Figure 2, to two tag fields of PPPoE package definition (TAG), a called after PCRTAG uses Relay-Session-Id (type 0x0110), TAG_VALUE length 12 bytes; Another called after PSRTAG, expansion is newly-increased, TAG_VALUE length 12 bytes.
PCRTAG and PSRTAG formal definition: IP address (4 byte)+circuit information (define voluntarily and explain by PCR node, PSR node, use the part or all of of back 8 bytes).
The PCR IP addresses of nodes is PCR routable three layers of IP address (not filling out 0, called after CGWIP), and circuit information is the client circuit identifier (called after CCir) that the PCR node receives the PPPoE bag.
But the PSR IP addresses of nodes is PSR route three layers of IP address (not filling out 0, called after SGWIP), and circuit information is the access server circuit identifier (called after SCir) that receives the PPPoE bag.
CGWIP and SGWIP can be three related layer interface IP addresses of outlet circuit among the present invention, and when CGWIP and SGWIP were not 0, both must be routables.And all be that the ethernet mac frame is transmitted from the PCR node to all three node layers the PSR node, and all three node layers are not revised header (keep target MAC (Media Access Control) address, source MAC, ethernet type constant) when transmitting mac frames.
Each three node layer between client and access server, all support PPPoE relay configuration, this PPPoE relay configuration mainly comprises relay entity of configuration, and the client circuit information of appointment under this relay entity and access server circuit information, except the client circuit of PCR node and the access server circuit of PSR node, the circuit that comprises in other PPPoE relay entities all should be related the IP interface message of three node layers (the effective I P address is arranged).And each three node layer between client and access server are all supported PPPoE encapsulation identification, for the client circuit that defines in the PPPoE relay entity, support will be received the PADI bag on this client circuit, the PADR bag, and the PADT bag extracts the control unit analyzing and processing; For the access server circuit that defines in the PPPoE relay entity, support is extracted PADO bag, PADS bag, the PADT bag of receiving on this access server circuit control unit and is carried out analyzing and processing.
In order better to realize the present invention, the present invention also provides a kind of broadband access system based on PPPoE, comprise client and access server in this broadband access system, and comprise a plurality of three node layers between client and the access server, described each three node layer in conjunction with PPPoE relay configuration and routing function, are set up PPPoE bag forwarding path between client and the access server in the PPPoE discovery stage.
Fig. 3 shows the broadband access system networking structure of one embodiment of the invention, and (Broadband Remote Access Server BRAS) hangs over the convergence device next door as the access server side to Broadband Remote Access Server 1.PC is as client 2, and by switch 4, Digital Subscriber Line Access Multiplexer 5 (DSLAccess Multiplexer, DSLAM) and a plurality of router (Router) 3 access band remote access server 1.Each router three in conjunction with PPPoE relay configuration and routing function, is set up PPPoE bag forwarding path between client 1 and the Broadband Remote Access Server 1, to allow client 2 access band remote access server 1 in the PPPoE discovery stage.
Fig. 4 shows the negotiation flow process that PPPoE of the present invention finds the stage,
The step S101 of described transmission PADI bag further comprises:
Step S101-a, after the PCR node is received the PADI bag of client transmission, PPPoErelay configuration according to this node obtains the access server circuit information, and according to and generate according to the client circuit information that PCR routable three layers of IP address and PCR node receive the PADI bag and to be dealt on the access server circuit after PCRTAG adds the PADI bag to, the PCRTAG that generates of PCR node uses the Relay-Session-Id tag field here.
After step S101-b, middle three node layers and PSR node receive the PADI bag,, this PADI packet transfer is given the access server of all appointments according to the PPPoE relay configuration acquisition access server circuit information of this node.
The step S102 of described transmission PADO bag further comprises:
Step S102-a, access server generate and send the PADO that comprises PCRTAG and wrap to respond after receiving the interior PADI bag of the scope of business.According to the agreement regulation, comprise the Relay-Session-Id tag field of receiving (PCRTAG just) in the PADO bag.
Step S102-b, after the PSR node is received the PADO bag, obtain the PCR IP addresses of nodes according to PCRTAG, and in conjunction with PPPoE relay configuration and routing inquiry acquisition client outlet circuit information, the newly-increased generation of expansion is dealt on the client circuit after PSRTAG adds the PADO bag to, but described PSRTAG generates according to PSR node route three layers of IP address and the access server circuit information that receives the PADO bag.
Step S102-c, middle three node layers obtain the PCR IP addresses of nodes according to PCRTAG after receiving the PADO bag, and obtain the client circuit information in conjunction with PPPoE relay configuration and routing inquiry, give the PCR node with this PADO packet transfer.
Step S102-d, after the PCR node is received the PADO bag (checking PCRTAG information) of issuing oneself, the PCR node obtains the client circuit information according to PCRTAG, after deleting PCRTAG and copying to PSRTAG in the Relay-Session-Id tag field, again this PADO bag is sent to client.
The step S103 of described transmission PADR bag further comprises:
Step S103-a, after client is selected a suitable access server, generating and sending the PADR that comprises PSRTAG wraps to selected access server, this PSRTAG uses the Relay-Session-Id tag field, according to the agreement regulation, has the Relay-Session-Id tag field in the PADR bag that client sends.
Step S103-b, after the PCR node is received the PADR bag, obtain the PSR IP addresses of nodes according to PSRTAG, and in conjunction with PPPoE relay configuration and routing inquiry acquisition access server circuit information, generate and be dealt on the access server circuit after PCRTAG adds the PADR bag to, here the PCR node is according to the newly-increased PSRTAG of information expansion of Relay-Session-Id tag field, use the Relay-Session-Id tag field simultaneously and generate PCRTAG, and described PCRTAG and PSRTAG are added in the PADR bag.
Step S103-c, middle three node layers obtain the PSR IP addresses of nodes according to PSRTAG after receiving the PADR bag, and obtain the access server circuit information in conjunction with PPPoE relay configuration and routing inquiry, give the PSR node with this PADR packet transfer.
Step S103-d, the PSR node obtains the access server circuit information according to PSRTAG, and with after the PSRTAG deletion, again this PADR bag is sent to access server.
The step S104 of described transmission PADS bag further comprises:
Step S104-a, access server generate and send the PADS bag that comprises PCRTAG, and this PCRTAG uses the Relay-Session-Id tag field;
Step S104-b, after PSR node and middle three node layers are received the PADS bag, transmit the PPPoE bag of setting up the pppoe session stage by generation and transmit path, and according to PCRTAG acquisition PCR IP addresses of nodes, obtain the client circuit information in conjunction with PPPoE relay configuration and routing inquiry, this PADS bag is dealt on the PCR node;
After step S104-c, PCR node receive this PADS bag, also generate and transmit the PPPoE bag forwarding path of setting up the pppoe session stage, and obtain the client circuit information, behind the deletion PCRTAG this PADS bag is sent to client according to PCRTAG.So far finish the negotiations process that PPPoE finds the stage.At this moment, each three node layer between client and the access server have all been set up corresponding forwarding path for this pppoe session, can transmit follow-up PPPoE bag.
Described be used to make up transmit transmitting of path, comprise client mac address, SESSION ID, go into circuit information, access server MAC Address and/or go out circuit information etc. that these information can be extracted from the PADS bag.Wherein, it is keyword that up direction is transmitted with access server MAC Address+SESSIONID, and this comprises up outlet circuit information in transmitting; It is keyword that down direction is transmitted with client mac address+SESSION ID, and this comprises descending outlet circuit information in transmitting.When each three node layer construct transmit after, receive PPPoE when bag in the stage in pppoe session, be that keyword is looked into this and transmitted with the target MAC (Media Access Control) address+SESSION ID of PPPoE bag, obtain the outlet circuit information, then the PPPoE bag is forwarded to out circuit.In addition, can also carry out matching check to going into circuit information before the PPPoE bag is transmitted, need to be incorporated into circuit information in transmitting this moment.
After pppoe session began, client or access server can send PADT bag (PPPoE Active Discovery Terminate, PPPoE effectively finds end packet) at any time, and the PADT bag is mainly used in ends a pppoe session.Each three node layer is monitored PADT bag, then transmits and removes the forwarding path by deleting this locality if receive this PADT bag.In addition, each three node layer can also be monitored the pppoe session flow, when pppoe session does not have flow or flow when very little in the given time, then transmits and removes the forwarding path by deleting this locality.
In sum, the present invention is in the PPPoE discovery stage, each three node layer is in conjunction with PPPoE relay configuration and routing function, set up the PPPoE bag of session stage and transmit path, thereby both can finish PPPoE and stride the access of three layers of IP Ethernet, can take precautions against the influence that the illegal server of PPPoE inserts client by PPPoE relay mechanism again, and not need extra communication-cost and then guarantee efficiency of transmission for transfer of data.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (13)

1. the broad band access method based on point-to-point protocol PPPoE on the Ethernet is characterized in that, comprises client and access server in the residing broadband access system, and comprises a plurality of three node layers between client and the access server, and described method comprises:
In the PPPoE discovery stage, described each three node layer are in conjunction with configuration of PPPoE relaying and routing function, and the PPPoE bag of setting up between client and the access server is transmitted path, specifically may further comprise the steps:
A, client send PPPoE and effectively find initial package, and described each three node layer find effectively that with this PPPoE initial package transfers to the access server of all appointments according to the configuration of PPPoE relaying;
After B, access server received that PPPoE effectively finds initial package in the scope of business, response PPPoE effectively found bag is provided, and described each three node layer are effectively found this PPPoE to provide packet transfer to arrive client in conjunction with configuration of PPPoE relaying and routing function;
C, client send PPPoE to selected access server and effectively find request package, and described each three node layer find effectively that with this PPPoE request package is transferred to selected access server in conjunction with configuration of PPPoE relaying and routing function;
D, access server response PPPoE effectively find session affirmation bag, each three node layer receives that this PPPoE sets up the PPPoE bag forwarding path of session stage when effectively finding session affirmation bag, and in conjunction with configuration of PPPoE relaying and routing function this PPPoE is found that effectively session affirmation packet transfer is to client.
2. broad band access method according to claim 1, it is characterized in that, in described three node layers, be first three node layer PCR definition PCR tag field of contiguous client, comprise the three layers of IP address that the PCR node can route in this PCR tag field and receive the client circuit information of PPPoE bag;
Be first three node layer PSR definition PSR tag field of adjacency access server, comprise the three layers of IP address that the PSR node can route in this PSR tag field and receive the access server circuit information of PPPoE bag; And
Described each three node layer all dispose a PPPoE relay entity, and under this PPPoE relay entity given client terminal circuit information and access server circuit information, and except the client circuit information of PCR node and the access server circuit information of PSR node, the IP interface message of three node layers that the circuit information that comprises in other PPPoE relay entity is all related.
3. broad band access method according to claim 2 is characterized in that, described steps A further comprises:
After A1, PCR node receive that the PPPoE of client transmission effectively finds initial package, configuration obtains the access server circuit information according to the PPPoE relaying of this node, and generates the PCR tag field and add PPPoE to and effectively find to be dealt on the access server circuit behind the initial package;
After A2, middle three node layers and PSR node receive that PPPoE effectively finds initial package,, this PPPoE is found that effectively initial package transfers to the access server of all appointments according to the PPPoE relaying configuration of this node.
4. broad band access method according to claim 3 is characterized in that, the PCR tag field that described PCR node generates is used the Relay-Session-Id tag field.
5. broad band access method according to claim 2 is characterized in that, described step B further comprises:
After B1, access server receive that PPPoE effectively finds initial package in the scope of business, generate and send the PPPoE that comprises the PCR tag field and effectively find to provide bag;
After B2, PSR node receive that PPPoE effectively finds bag is provided, obtain the PCR IP addresses of nodes according to the PCR tag field, and obtain the client circuit information in conjunction with PPPoE relaying configuration and routing function inquiry, generate and be dealt on the client circuit after the PSR tag field is added PPPoE to effectively discovery is provided bag;
After B3, middle three node layers receive that PPPoE effectively finds bag is provided, obtain the PCR IP addresses of nodes according to the PCR tag field, and, this PPPoE is effectively found to provide packet transfer to the PCR node in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition client circuit information;
B4, PCR node obtain the client circuit information according to the PCR tag field, and this PPPoE is effectively found to provide bag to send to client.
6. broad band access method according to claim 5 is characterized in that, PPPoE effectively finds to provide the PCR tag field in the bag to use the Relay-Session-Id tag field among the described step B1;
The PSR tag field that generates among the described step B2 is newly-increased for expansion;
Deletion PCR tag field and the PSR tag field copied in the Relay-Session-Id tag field among the described step B4 is effectively found this PPPoE to provide bag to send to client again.
7. broad band access method according to claim 2 is characterized in that, described step C further comprises:
After C1, client are selected an access server, generate and send the PPPoE that comprises the PSR tag field and effectively find request package;
After C2, PCR node receive that PPPoE effectively finds request package, obtain the PSR IP addresses of nodes according to the PSR tag field, and in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition access server circuit information, generation PCR tag field is added PPPoE to and is effectively found to be dealt on the access server circuit after the request package;
After C3, middle three node layers receive that PPPoE effectively finds request package, obtain the PSR IP addresses of nodes according to the PSR tag field, and, this PPPoE is found that effectively request package transfers to the PSR node in conjunction with configuration of PPPoE relaying and routing function inquiry acquisition access server circuit information;
C4, PSR node obtain the access server circuit information according to the PSR tag field, and this PPPoE is found that effectively request package sends to selected access server.
8. broad band access method according to claim 7 is characterized in that, PPPoE finds that effectively the PSR tag field in the request package uses the Relay-Session-Id tag field among the described step C1;
The PCR node is according to the newly-increased PSR tag field of information expansion of Relay-Session-Id tag field among the described step C2, use the Relay-Session-Id tag field simultaneously and generate the PCR tag field, and add described PCR tag field and PSR tag field to PPPoE and effectively find in the request package;
With after the deletion of PSR tag field, again this PPPoE is found that effectively request package sends to access server among the described step C4.
9. broad band access method according to claim 2 is characterized in that, described step D further comprises:
D1, access server generate and send the PPPoE that comprises the PCR tag field and effectively find session affirmation bag;
After D2, PSR node and middle three node layers receive that PPPoE finds that effectively bag is confirmed in session, transmit the PPPoE bag of setting up session stage by generation and transmit path, and according to PCR tag field acquisition PCR IP addresses of nodes, obtain the client circuit information in conjunction with configuration of PPPoE relaying and routing function inquiry, this PPPoE is found that effectively session affirmation bag is dealt on the PCR node;
After D3, PCR node receive that this PPPoE finds that effectively bag is confirmed in session, also generate and transmit the PPPoE bag forwarding path of setting up session stage, and, after the deletion PCR tag field this PPPoE is found that effectively session affirmation bag sends to client according to PCR tag field acquisition client circuit information.
10. broad band access method according to claim 9 is characterized in that, described transmit comprise client mac address, session identification, go into circuit information, access server MAC Address and go out circuit information;
Also comprising after the described step D, when each three node layer is received the PPPoE bag of session stage, is that keyword is looked into and transmitted with the target MAC (Media Access Control) address of this PPPoE bag and session identification, obtains out circuit information, this PPPoE is wrapped be forwarded to out circuit then.
11. broad band access method according to claim 9 is characterized in that, also comprises after the described step D, each three node layer is monitored PPPoE and is effectively found end packet, finds that effectively end packet then removes this locality and transmit if receive PPPoE; And/or
Each three node layer monitoring pppoe session flow does not have flow or flow when very little in the given time when pppoe session, then removes this locality and transmits.
12. broad band access method according to claim 1 is characterized in that, described each three node layer all are that the media access control layer frame is transmitted, and all three node layers are not revised header when transmitting media access control layer frames.
13. broadband access system of implementing each method of claim 1~12, it is characterized in that, comprise client and access server in this broadband access system, and comprise a plurality of three node layers between client and the access server, described each three node layer in conjunction with configuration of PPPoE relaying and routing function, are set up PPPoE bag forwarding path between client and the access server in the PPPoE discovery stage.
CN2007101188431A 2007-06-12 2007-06-12 Ethernet point-to-point protocol-based broad band access method and system Active CN101060456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101188431A CN101060456B (en) 2007-06-12 2007-06-12 Ethernet point-to-point protocol-based broad band access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101188431A CN101060456B (en) 2007-06-12 2007-06-12 Ethernet point-to-point protocol-based broad band access method and system

Publications (2)

Publication Number Publication Date
CN101060456A CN101060456A (en) 2007-10-24
CN101060456B true CN101060456B (en) 2010-04-21

Family

ID=38866359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101188431A Active CN101060456B (en) 2007-06-12 2007-06-12 Ethernet point-to-point protocol-based broad band access method and system

Country Status (1)

Country Link
CN (1) CN101060456B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111014B (en) * 2007-08-15 2011-02-16 华为技术有限公司 Method, equipment and system for client access to third-party server
JP5925287B1 (en) * 2014-12-26 2016-05-25 株式会社Pfu Information processing apparatus, method, and program
CN106911817B (en) * 2017-02-28 2020-01-03 新华三技术有限公司 Method and device for notifying change of MAC address of PPPoE server
CN111182016B (en) * 2018-11-12 2022-12-27 中移(杭州)信息技术有限公司 PPPoE dialing message transmission method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571420A (en) * 2003-07-14 2005-01-26 华为技术有限公司 Method for implementing dedicated network access by using PPPOE protocol

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571420A (en) * 2003-07-14 2005-01-26 华为技术有限公司 Method for implementing dedicated network access by using PPPOE protocol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
陈桢、范华峰."跨越VLAN的PPPoE认证平台的构建".网络安全技术与应用 2.2005,(2),51-53,56.
陈桢、范华峰."跨越VLAN的PPPoE认证平台的构建".网络安全技术与应用 2.2005,(2),51-53,56. *

Also Published As

Publication number Publication date
CN101060456A (en) 2007-10-24

Similar Documents

Publication Publication Date Title
US8472438B2 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network
EP2579544B1 (en) Methods and apparatus for a scalable network with efficient link utilization
USRE46195E1 (en) Multipath transmission control protocol proxy
JP5499391B2 (en) Method, apparatus and system for transferring messages
EP1585261B1 (en) Apparatus and method for processing labeled flows in a communications access network
EP1875668B1 (en) Scalable system method for dsl subscriber traffic over an ethernet network
US20050129059A1 (en) Method of implementing PSEUDO wire emulation edge-to-edge protocol
AU2011244044A1 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a Packet Switched Network
EP1076955A1 (en) Point-to-point protocol with a signaling channel
WO2010031324A1 (en) Method, device and system for data transmission
WO2013182066A1 (en) Label distribution method and device
JP5242702B2 (en) Circuit emulation via IP interworking VLL
CN101060456B (en) Ethernet point-to-point protocol-based broad band access method and system
EP3758307A1 (en) Method for implementing gre tunnel, access point and gateway
WO2022117018A1 (en) Packet transmission method and apparatus
WO2008028383A1 (en) Method for identifying the layer 3 protocol in l2vpn heterogeneous medium interconnection and the apparatus and system thereof
CN110199504B (en) Method and system for enhanced use of switching fabric within central office delivery point
US20080049765A1 (en) Method and system for inter working a point-to-point link and a LAN service
CN107547347A (en) Path method of adjustment and device based on VNI
EP3269092B1 (en) Technique for routing and switching redundancy
JP2004304574A (en) Communication equipment
US8204080B2 (en) Techniques for encapsulating point to point (PPP) over Ethernet frames
EP1981217A1 (en) Method for forwarding data packets in an access network and device
CN108199960B (en) Multicast data message forwarding method, entrance routing bridge, exit routing bridge and system
KR20060059877A (en) An arrangement and a method relating to ethernet access systems

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