hi,
anbei eine konfig mit chap-authentifizierung und statischem routing.
die konfiguration ist eine von vielen möglichen.
schau dich am besten noch mal bei cisco um.
http://www.cisco.com/pcgi-bin/Suppor...mples_and_Tips
http://www.cisco.com/pcgi-bin/Suppor...mples_and_Tips
#
Router 1
hostname r1
!
enable password cisco
!
username r2 password 0 cisco
!
!
!
!
ip subnet-zero
no ip finger
!
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no shut
!
interface BRI0
description zu router r2
ip address 192.168.3.1 255.255.255.252
encapsulation ppp
no shut
no ip mroute-cache
dialer map ip 192.168.3.2 name r2 4711
dialer-group 1
isdn switch-type basic-net3
no cdp enable
ppp authentication chap
!
ip classless
ip route 192.168.2.0 255.255.255.0 192.168.3.2
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
no scheduler allocate
end
Router 2
hostname r2
!
enable password cisco
!
username r1 password 0 cisco
!
ip subnet-zero
no ip finger
!
isdn switch-type basic-net3
!
!
!
interface Ethernet0
ip address 192.168.2.1 255.255.255.0
no shut
!
interface BRI0
description zu router r1
ip address 192.168.3.2 255.255.255.252
no shut
encapsulation ppp
no ip mroute-cache
dialer map ip 192.168.3.1 name r1 0815
dialer-group 1
isdn switch-type basic-net3
no cdp enable
ppp authentication chap
!
ip classless
ip route 192.168.1.0 255.255.255.0 192.168.3.1
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
line vty 0 4
password cisco
login
!
no scheduler allocate
end