Chinaunix首页 | 论坛 | 博客
  • 博客访问: 829495
  • 博文数量: 198
  • 博客积分: 4036
  • 博客等级: 上校
  • 技术积分: 2173
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-19 22:31
文章分类

全部博文(198)

文章存档

2010年(4)

2008年(8)

2007年(143)

2006年(42)

2005年(1)

我的朋友

分类: 系统运维

2007-03-09 22:22:48

 

      Client:
   
Now create configuration...
   
Current configuration
   
!
  
version 1.65
  
hostname R1
   
!
   
interface Aux0
  
async mode interactive
  
encapsulation ppp
   
!
   
interface Ethernet0
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Ethernet1
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Serial0
  
encapsulation ppp
  ppp pap sent-username password 
0 *****
  
ip address negotiate
   
!
   
interface Serial1
  
clock-select DTECLK1
  
encapsulation ppp
  
shutdown
   
!
   
voice-port 0
   
!
   
voice-port 1
   
!
   
end
  

  LAC:
   
Now create configuration...
   
Current configuration
   
!
  
version 1.65
  
user service-type ppp password 0 *****
  vpdn enable
  
aaa-enable
  
aaa authentication ppp default local
  
aaa authentication login default local
  
aaa accounting optional
  
hostname R2
   
!
   
interface Aux0
  
async mode interactive
  
encapsulation ppp
   
!
   
interface Ethernet0
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Ethernet1
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Ethernet1
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Serial0
  
clock-select DTECLK1
  
encapsulation ppp
  ppp authentication 
pap
   
!
   
interface Serial1
  
encapsulation ppp
  
ip address 202.103.1.21 255.255.255.252
   
!
   
vpdn-group 1
  
request dialin l2tp ip 202.103.1.22 fullusername *****
  
l2tp tunnel password 0 ****
   
!
   
end
  

  LNS:
   
Now create configuration...
   
Current configuration
   
!
  
version 1.65
  
user service-type ppp password 0 *****
  vpdn enable
  
ip local pool 1 192.168.1.2 192.168.1.254
  
aaa-enable
  
aaa authentication ppp default local
  
aaa authentication login default local
  
aaa accounting optional
  
hostname R3
   
!
   
interface Aux0
  
async mode interactive
  
encapsulation ppp
   
!
   
interface Ethernet0
  
speed auto
  
duplex auto
  
no loopback
   
!
   
interface Serial0
  
no loopback
   
!
   
interface Serial0
  
encapsulation ppp
  
shutdown
   
!
   
interface Serial1
  
clock-select DTECLK1
  
encapsulation ppp
  
ip address 202.103.1.22 255.255.255.252
   
!
   
interface Virtual-Template1
  
encapsulation ppp
  ppp authentication 
pap
  
peer default ip address pool 1
  
ip address 192.168.1.1 255.255.255.0
   
!
   
vpdn-group 1
  
accept dialin l2tp virtual-template 1 remote R2
  l2tp tunnel password 0 ****
   
!
   end

阅读(3793) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~