到这里,×××客户端的所有配置已经完成了。再来看一下车完整的配置:
ro#show running-config
Building configuration...
Current configuration : 1298 bytes
! version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
! hostname tro
! boot-start-marker
boot-end-marker
!! aaa new-model
!! aaa authentication ppp default local
!! aaa session-id common
ip cef
! no ip domain lookup
! multilink bundle-name authenticated
! vpdn enable
! vpdn-group linuxtro
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
l2tp tunnel receive-window 1024
! voice-card 0
no dspfarm
! username linuxtro password 0 linuxtro
archive
log config
hidekeys
! interface GigabitEthernet0/0
ip address 192.168.1.10 255.255.255.0
duplex auto
speed auto
media-type rj45
! interface GigabitEthernet0/1
ip address 10.123.123.123 255.255.255.0
duplex auto
speed auto
media-type rj45
! interface Virtual-Template1
ip unnumbered GigabitEthernet0/1
peer default ip address pool defaultpool
ppp encrypt mppe auto required
ppp authentication ms-chap ms-chap-v2
!! ip local pool defaultpool 10.123.123.10 10.123.123.100
!! ip http server
no ip http secure-server
!! control-plane
! line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
! scheduler allocate 20000 1000
! web*** cef
! End
二、×××客户端的配置