敬业的IT人 >> 网络技术 >> 网络协议 >> 典型基于L2TP协议的VPN方案

典型基于L2TP协议的VPN方案

敬业的IT人 互联网 佚名 2008-3-20 9:22:15

  一:目的

  使用L2TP协议,实现下面各个乡镇点能访问各分公司访问中心服务器,实现用户一次拨号实现上服务器。如果在MA5200F上对每台上分公司专网的MAC地址进行绑定,从而能更高满足用户安全性方面的要求。

  二:组网:

典型基于L2TP协议的VPN方案

  三、方案实施

  基本思路是在MA5200F上单独建一个域,在此域中对用户接入做本地认证,同时在MA5200F上启用L2TP组,设置同R2611对接的参数;在R2611上启用L2TP组,设置同MA5200F对接参数,设置地址池(用户PC在此地址池中取地址),设置用户拨入帐号(用于对拨入用户进行认证)。

  四、附录:

  1、R2611配置

dis cu
Now create configuration...
Current configuration
!
version 1.74
local-user xxx service-type administrator password cipher
)/$07TR692T
local-user vpn@caizhengju service-type ppp password simple gd@czj
local-user 1@caizhengju service-type ppp password simple 1
local-user 2@caizhengju service-type ppp password simple 2
//说明:如果有多少个用户,就需要添加多少个local-user,域名都相同
l2tp enable
ip pool 1 10.4.122.2 10.4.122.100
firewall enable
aaa-enable
aaa authentication-scheme login default local
aaa authentication-scheme login default local
interface Aux0
async mode flow
link-protocol ppp
!
interface Ethernet0
ip address 192.168.1.2 255.255.255.0
!
interface Ethernet1
ip address 10.4.123.1 255.255.255.0
!
interface Virtual-Template1
link-protocol ppp
mtu 1500
ppp authentication-mode pap
remote address pool 1
*
ip address 10.4.122.1 255.255.255.0
!
l2tp-group 1
allow l2tp virtual-template 1 remote lac-end
tunnel name lns-end
tunnel password simple huawei
!
quit
ip route-static 0.0.0.0
0.0.0.0
192.168.1.1 preference 60
!
return

  2、MA5200F需添加的数据

PEIfish running-config interface ATM 5/0
Building configuration...
Current configuration : 263 bytes
!
interface ATM5/0
atm mcpt-timers 50 100 200 ??三个独立计时器,单位为毫秒
atm pvp 1 12transport
cell-packing 6 mcpt-timer 2 ?????MNCP 6和MCPT 100毫秒
xconnect 203.203.203.203 1
encapsulation mpls
end


    
粤ICP备06119539号
Copyright CiscoSky.Org,Some Rights Reserved.
Email:me1228#tom.com