Chinaunix首页 | 论坛 | 博客
  • 博客访问: 239004
  • 博文数量: 68
  • 博客积分: 884
  • 博客等级: 准尉
  • 技术积分: 700
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-25 14:34
文章分类

全部博文(68)

文章存档

2016年(3)

2015年(4)

2014年(9)

2013年(8)

2012年(6)

2011年(19)

2010年(19)

我的朋友

分类:

2010-09-11 15:52:33

1.download following pakages:
PPPD-2.4.5(Latest)
 
Ro-PPPoe
 
2.Configure & Make & Make install
....
....
 
3.Config PPPoe-server
1)For MS, Can not support encypt-password protocol (PAP), but only chap ! Change this in the config file (/etc/ppp/options) as following:

# Don't agree to authenticate using PAP.
-pap
# Require the peer to authenticate itself using CHAP [Cryptographic
# Handshake Authentication Protocol] authentication.
+chap
 
Or like this :
(/etc/ppp/pppoe-server-options)
#require-pap
require-chap
2)Create account .
/etc/ppp/chap-secrects for CHAP , /etc/ppp/pap-secrects for PAP
 
4.Startup PPPoe-server
./pppoe-server -I eth0 -L 172.18.10.11 -R 172.118.20.11 -N 20
 
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.
   -O fname       -- Use PPPD options from specified file
                     (default /etc/ppp/pppoe-server-options).
   -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.
   -u             -- Pass 'unit' option to pppd.
   -r             -- Randomize session numbers.
   -d             -- Debug session creation.
   -x n           -- Limit to 'n' sessions/MAC address.
   -P             -- Check pool file for correctness and exit.
   -h             -- Print usage information.
PPPoE-Server Version 3.10, Copyright (C) 2001-2006 Roaring Penguin Software Inc.
PPPoE-Server comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2
or (at your option) any later version.

阅读(2414) | 评论(0) | 转发(0) |
0

上一篇:Mark

下一篇:About CMTS.

给主人留下些什么吧!~~