Subversion Repositories Progetto_Dorsale

Rev

Blame | Last modification | View Log | RSS feed

!
version 12.3
no service password-encryption
!
hostname HQ
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
username HQ password 0 ciscopap
username ISP password 0 ciscochap
!
!
!
interface FastEthernet0/0
 ip address 10.0.1.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type q933a
!
interface Serial0/0/0.41 point-to-point
 ip address 10.255.255.1 255.255.255.252
 frame-relay interface-dlci 41
 ip nat inside
!
interface Serial0/0/0.42 point-to-point
 ip address 10.255.255.5 255.255.255.252
 frame-relay interface-dlci 42
 ip nat inside
!
interface Serial0/0/0.43 point-to-point
 ip address 10.255.255.9 255.255.255.252
 frame-relay interface-dlci 43
 ip nat inside
!
interface Serial0/0/1
 ip address 10.255.255.253 255.255.255.252
 encapsulation ppp
 ppp authentication pap
 ppp pap sent-username NewB password 0 ciscopap
 ip nat inside
!
interface Serial0/1/0
 ip address 209.165.201.1 255.255.255.252
 encapsulation ppp
 ppp authentication chap
 ip access-group FIREWALL in
 ip nat outside
!
interface Serial0/1/1
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router eigrp 100
 passive-interface Serial0/0/1
 passive-interface Serial0/1/0
 network 10.0.0.0
 no auto-summary
!
ip nat pool XYZCORP 209.165.200.241 209.165.200.245 netmask 255.255.255.248
ip nat inside source list NAT_LIST pool XYZCORP overload
ip nat inside source static 10.0.1.2 209.165.200.246 
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/1/0 
ip route 10.4.5.0 255.255.255.0 Serial0/0/1 
!
ip access-list standard NAT_LIST
 permit 10.0.0.0 0.255.255.255
ip access-list extended FIREWALL
 permit tcp any host 10.0.1.2 eq www
 permit tcp any any established
 permit icmp 10.0.0.0 0.255.255.255 any
 deny ip any any
!
ip dhcp excluded-address 10.1.10.1 10.1.10.10
ip dhcp excluded-address 10.2.10.1 10.2.10.10
ip dhcp excluded-address 10.3.10.1 10.3.10.10
ip dhcp excluded-address 10.1.20.1 10.1.20.10
ip dhcp excluded-address 10.2.20.1 10.2.20.10
ip dhcp excluded-address 10.3.20.1 10.3.20.10
ip dhcp excluded-address 10.1.30.1 10.1.30.10
ip dhcp excluded-address 10.2.30.1 10.2.30.10
ip dhcp excluded-address 10.3.30.1 10.3.30.10
ip dhcp excluded-address 10.3.88.1 10.3.88.10
ip dhcp excluded-address 10.2.88.1 10.2.88.10
ip dhcp excluded-address 10.1.88.1 10.1.88.10
ip dhcp excluded-address 10.1.99.1 10.1.99.10
ip dhcp excluded-address 10.2.99.1 10.2.99.10
ip dhcp excluded-address 10.3.99.1 10.3.99.10
!
!
no cdp run
!
banner motd banner of the day
line con 0
 password cisco
 login
line vty 0 4
 password cisco
 login
!
!
end