!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router_A
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no aaa new-model
memory-size iomem 25
!
ip cef
!
crypto isakmp policy 1
encr 3des
authentication pre-share
crypto isakmp key cisco address 200.200.200.2
!
crypto ipsec transform-set TS-IPSEC esp-3des esp-sha-hmac
!
crypto map MAP-IPSEC 1 ipsec-isakmp
set peer 200.200.200.2
set transform-set TS-IPSEC
match address 100
!
interface Ethernet0
ip address 100.0.0.1 255.0.0.0
half-duplex
!
interface FastEthernet0
ip address 200.200.200.1 255.255.255.0
speed auto
crypto map MAP-IPSEC
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 200.200.200.3
ip route 101.0.0.0 255.0.0.0 200.200.200.2
no ip http server
no ip http secure-server
!
access-list 100 permit ip 100.0.0.0 0.255.255.255 101.0.0.0 0.255.255.255
!
control-plane
!
line con 0
line aux 0
line vty 0 4
password cisco
login
!
end