1、配件:CISCO3640+1FE2W+1CE1U+30DM做拨号服务器,30B+D做拨号访问服务器,IOS=C3640-IS-MZ.121.3A-T1.BIN。
Current configuration
:
!
!
aaa new-model
aaa authentication login default local
aaa authentication ppp default if-needed local
enable password lHJXXX
!
!
isdn switch-type primary-net5
!
!
controller E1 0/0
framing NO-CRC4
pri-group timeslots 1-31
!
!
interface Loopback0
ip address 10.1.1.1 255.255.0.0
!
interface FastEthernet0/0
ip address 192.168.3.254 255.255.255.0
duplex auto
speed auto
!
interface Serial1/0:15
encapsulation ppp
ip mroute-cache
dialer rotary-group 0
dialer-group 1
dialer load-threshold 1
isdn switch-type primary-net5
isdn incoming-voice modem
!
interface Group-Async1
ip unnumbered FastEthernet0/0
encapsulation ppp
ip tcp header-compression passive
delay 120
dialer in-band
dialer idle-timeout 180
async default routing
async dynamic address
async mode dedicated
peer default ip address pool asy_dialin
ppp authentication pap callin
group-range 65 94
!
interface Dialer0
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer in-band
dialer-group 1
peer default ip address pool isdn_dialin
ppp authentication chap pap callin
ppp multilink
!
ip local pool asy_dialin 192.168.3.80 192.168.3.109
ip local pool isdn_dialin 192.168.3.110 192.168.3.139
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
ip route 192.168.0.0 255.255.0.0 FastEthernet0/0
access-list 101 permit ip 192.168.3.0 any
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
transport input none
ip access-table 101 in
line 65 94
autoselect during-login
autoselect ppp
script dialer cisco-default
modem Dialin
autocommand ppp
transport input all
line aux 0
password cisco
modem InOut
modem autoconfigure discovery
speed 57600
line vty 0 4
!
end