##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
PPTP 配置PNS 的基本
最新推荐文章于 2024-01-04 20:24:10 发布