hostname
!
enable passWord
!
no ip name-server
!
ip subnet-zero
no ip domain-lookup
ip routing
!
interface Ethernet 0
ip nat inside
no shutdown
description connected to EthernetLAN
ip address
no keepalive
!
interface Serial 0
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface Serial 1
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface dialer 1
ip nat outside
no shutdown
ip unnumbered Ethernet 0
ip address negotication
ip tcp header-compression passive
dialer string 169
encapsulation ppp
async default routing
async mode dedicated
group-range (通过SHOW LINE命令显示)
ppp authentication pap callin
pap sent 用户名 password 口令
dialer-group 1
no cdp enable
!
dialer-list 1 protocol ip permit
router rip
version 2
network
no auto-summary
!
!
ip classless
no ip http server
snmp-server community public RO
no snmp-server location
no snmp-server contact
!
ip route 0.0.0.0 0.0.0.0 dialer1
line console 0
exec-timeout 0 0
password
login
!
line vty 0 4
password
login
!
line
exec
autoselect ppp
autoselect during-login
login local
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
!
end