PPTP 配置PNS 的基本

##PPTP 配置PNS 的基本


PPTP(client)-------------ISP--------------GW(router)------------(E0/1)PNS(E0/0)------ISP
             202.116.64.70   192.168.1.2/24 192.168.1.1/24    10.1.1.10/24
Pool:   192.168.2.1 ~192.168.2.25
control:{ L2(pre)  IP    TCP   PPTP(control)    L2(post)  }   
data   :{ L2(pre)  IP    GRE   PPP(header)    PPP(load)     L2(post) }
PNS configuration


conf t
int e0/1
no sh
ip addr 192.168.1.2  255.255.255.0
int e0/0
no sh
ip addr 10.1.1.10 255.255.255.0


username name1 password password1


vpdn enable
vpdn-group pptp 
accept-dialin
protocol pptp
virtual-template 1
exit
exit


inter virtual-template 1
ip unnum fa0/0
ppp authen ms-chap
peer default ip address pool pptp_pool
ppp encrypt mppe 40 requried
exit


ip local pool pptp-pool 192.168.10.2 192.168.10.253
async-bootp dns-server 10.0.0.10
async-bootp nbns-server 10.1.1.11


#DEBUG
show vpdn
show vpdn tunnel
show vpdn session
show ppp mppe virtual-access number
debug vpdn error
debug vpdn event
debug vpdn protocol 
debug vpdn flow-control

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值