This configuration will allow the AUX port on a router to
establish a dial-up PPP connection using PAP authentication &
nbsp;
to a non-Cisco access server. This configuration uses EasyIP
(only available in Cisco IOS 11.3) and obtains its IP address
from the remote router.
! Must Use 11.3 to use Easy-IP
!
version 11.3
no service password-encryption
!
hostname EASY_IP_DDR
!
enable password 7 xxxxxxxx
!
username xxxxxxx password 0 xxxxxxxx
ip subnet-zero
ip nat inside source list 101 interface Dialer0 overload
ip domain-name xxxxxxx.com
ip name-server 192.168.1.2
ip name-server 192.168.1.3
chat-script modemusrobitcs-336 "" "at&fs0=1&c1&d3&h1&r2&b1&k1&m4&w0" "
OK" ""
chat-script dialnum "" "atdt\T" TIMEOUT 120 CONNECT \c
!
!
!
interface Ethernet0
ip address 199.78.250.254 255.255.255.0
ip nat inside
!
interface Ethernet1
no ip address
shutdown
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
dialer rotary-group 0
async default routing
async mode dedicated
!
interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer in-band
dialer idle-timeout 900
dialer map ip 207.172.115.50 name xxxxxxxxx modem-script dialnum
broadcast 93549711
dialer-group 1
ppp authentication pap callin
ppp pap sent-username xxxxxxx password 7 xxxxxxxx
!
no ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
access-list 101 permit ip 199.78.250.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
line aux 0
script reset modemusrobitcs-336
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
password 7 xxxxxx
login
!
end
阅读(349) | 评论(0) | 转发(0) |