Cấu hình của Access-server:
Current configuration:
!
service udp-small-servers
service tcp-small-servers
!
hostname Router
!
enable secret 5 $1$Zchm$GcXOP613UVI.dfTwUVkiu1
enable password cisco
!
username test callback-dialstring 1234567 password test
!
interface loopback0
ip address 10.0.0.1 255.0.0.0
!
interface Ethernet0
ip address 192.168.10.3 255.255.255.0
!
interface Serial0
shutdown
!
interface Serial1
shutdown
!
interface async7
ip unnumbered loopback0
encapsulation ppp
async default ip address 10.0.0.2
async mode dedicated
dialer idle-timeout 90
dialer in-band
dialer wait-for-carrier-time 60
dialer enable-time 30
ppp callback accept
ppp authentication chap
!
line 7
login
pass cisco
modem InOut
modem autoconfigure type usr_courier
transport input all
stopbits 1
speed 115200
flowcontrol hardware
callback forced-wait 5
line aux 0
line vty 0 4
exec-timeout 20 0
password cisco
login
!
end
trên client, chú ý chọn option request callback trên kết nối dial-up
Current configuration:
!
service udp-small-servers
service tcp-small-servers
!
hostname Router
!
enable secret 5 $1$Zchm$GcXOP613UVI.dfTwUVkiu1
enable password cisco
!
username test callback-dialstring 1234567 password test
!
interface loopback0
ip address 10.0.0.1 255.0.0.0
!
interface Ethernet0
ip address 192.168.10.3 255.255.255.0
!
interface Serial0
shutdown
!
interface Serial1
shutdown
!
interface async7
ip unnumbered loopback0
encapsulation ppp
async default ip address 10.0.0.2
async mode dedicated
dialer idle-timeout 90
dialer in-band
dialer wait-for-carrier-time 60
dialer enable-time 30
ppp callback accept
ppp authentication chap
!
line 7
login
pass cisco
modem InOut
modem autoconfigure type usr_courier
transport input all
stopbits 1
speed 115200
flowcontrol hardware
callback forced-wait 5
line aux 0
line vty 0 4
exec-timeout 20 0
password cisco
login
!
end
trên client, chú ý chọn option request callback trên kết nối dial-up