Today, we use RP-pppoe as a pppoe-server.

Source: Internet
Author: User
It seems that other people use ADSL-setup or something to do the client. I will do the server, hey...
However, there is no understanding of the pppoe protocol. You need to understand it first...
Basically, if I didn't do anything, I could use the pppoe dial-up tool to dial it...
Platform: RedHat as3
Software:
[Root @ Jintao PPP] # rpm-Qa | grep-I "pppoe"
Rp-pppoe-3.5-4
It's 3.5-4, but it's similar...
After installation, You need to modify it in several files under/etc/PPP...
The main method is to change the authentication method, and Other Default methods will be available... so we usually select the authentication method in pppoe-server-options...
For example, chap or pap.
You need to specify the user name and password in the corresponding file, such as chap-secrets and pap-secrets...
Sadly, when I use pap, even if the user name and password are specified, it still cannot pass the authentication...
When chap is used, the system calls it...
Format:
"Jintao" * "Jintao "*
The username, server, and password respectively. I forgot them... Haha...

Pppoe-server...
Pppoe-server-l 10.0.0.1-r 10.0.0.2-N 64-K-u
-L: IP address of the pppoe Server
-R: Specifies the IP address range allocated to the client by the pppoe dial-in server.
-N: Number of allowed clients to dial in simultaneously (the default value is 64, and the maximum value is 65534)
-K: Kernel Mode (but it seems that it cannot be used)

This is help:
Usage: pppoe-server [Options]
Options:
-I if_name -- specify interface (default eth0 .)
-T timeout -- specify inactivity timeout in seconds.
-C name -- set Access Concentrator name.
-M mss -- clamp incoming and outgoing MSS options.
-L IP -- set local IP address.
-L -- increment local IP address for each session.
-R ip -- set start address of remote IP pool.
-S name -- advertise specified service-name.
-P fname -- optain IP address pool from specified file.
-N num -- allow 'num' concurrent sessions.
-O offset -- assign session numbers starting at Offset + 1.
-F disc: sess -- set Ethernet frame types (HEX ).
-S -- use synchronous PPP mode.
-K -- use kernel-mode pppoe.
-U -- pass 'unit 'option to pppd.
-R -- randomize session numbers.
-D -- debug session creation.
-P -- check pool file for correctness and exit.
-H -- print usage information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.