Codice: Seleziona tutto
Building configuration...
Current configuration : 6354 bytes
!
! Last configuration change at 13:41:59 UTC Fri Nov 20 2015 by comecar
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXXX
!
boot-start-marker
boot-end-marker
!
!
enable secret XXXXXXX
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
ip domain name XXXXXX.LOCAL
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1921/K9 sn FGL1819205A
!
!
username XXXXXX password 0 XXXXXX
!
redundancy
!
!
!
!
!
controller VDSL 0/0/0
!
controller VDSL 0/1/0
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 1
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.0.0.1 255.255.255.252 secondary
ip address XXX.XXX.XXX.XXX 255.255.255.248
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface ATM0/0/0
no ip address
ip load-sharing per-packet
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Ethernet0/0/0
no ip address
shutdown
!
interface ATM0/1/0
no ip address
ip load-sharing per-packet
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 2
!
!
interface Ethernet0/1/0
no ip address
shutdown
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname XXXXXX
ppp chap password XXXXXX
!
interface Dialer1
ip address XX.XX.XX.XX 255.255.255.252
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp header-compression
dialer pool 2
dialer-group 2
ppp pap sent-username XXXXX password XXXXX
no cdp enable
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source route-map DIAL0 interface Dialer0 overload
ip nat inside source route-map DIAL1 interface Dialer1 overload
ip nat inside source static tcp 10.0.5.2 25 XXXXXXXX 25 extendable
ip nat inside source static udp 10.0.5.2 25 XXXXXXXX 25 extendable
ip nat inside source static tcp 10.0.5.2 80 XXXXXXXXX 80 extendable
ip nat inside source static udp 10.0.5.2 80 XXXXXXXX 80 extendable
ip nat inside source static tcp 10.0.5.2 443 XXXXXXXX 443 extendable
ip nat inside source static udp 10.0.5.2 443 XXXXXXXX 443 extendable
ip nat inside source static tcp 10.0.5.2 5004 XXXXXXXX 5004 extendable
ip nat inside source static udp 10.0.5.2 5004 XXXXXXXX 5004 extendable
ip nat inside source static tcp 10.0.5.2 8080 XXXXXXXX 8080 extendable
ip nat inside source static udp 10.0.5.2 8080 XXXXXXXX 8080 extendable
ip nat inside source static tcp 10.0.5.3 8016 XXXXXXXX 8016 extendable
ip nat inside source static udp 10.0.5.3 8016 XXXXXXXX 8016 extendable
ip nat inside source static tcp 10.0.5.3 8200 XXXXXXXX 8200 extendable
ip nat inside source static udp 10.0.5.3 8200 XXXXXXXX 8200 extendable
ip nat inside source static tcp 10.0.5.3 10019 XXXXXXXX 10019 extendable
ip nat inside source static udp 10.0.5.3 10019 XXXXXXXX 10019 extendable
ip nat inside source static tcp 10.0.5.3 10088 XXXXXXXX 10088 extendable
ip nat inside source static udp 10.0.5.3 10088 XXXXXXXX 10088 extendable
ip nat inside source static tcp 10.0.5.3 12088 XXXXXXXX 12088 extendable
ip nat inside source static udp 10.0.5.3 12088 XXXXXXXX 12088 extendable
ip nat inside source static tcp 10.0.5.4 80 XXXXXXXX 80 extendable
ip nat inside source static udp 10.0.5.4 80 XXXXXXXX 80 extendable
ip nat inside source static tcp 10.0.5.5 23 XXXXXXXX 23 extendable
ip nat inside source static udp 10.0.5.5 23 XXXXXXXX 23 extendable
ip nat inside source static tcp 10.0.5.5 80 XXXXXXXX 80 extendable
ip nat inside source static udp 10.0.5.5 80 XXXXXXXX 80 extendable
ip nat inside source static tcp 10.0.5.5 3300 XXXXXXXX 3300 extendable
ip nat inside source static udp 10.0.5.5 3300 XXXXXXXX 3300 extendable
ip nat inside source static tcp 10.0.5.6 25 XXXXXXXX 25 extendable
ip nat inside source static udp 10.0.5.6 25 XXXXXXXX 25 extendable
ip nat inside source static tcp 10.0.5.6 80 XXXXXXXX 80 extendable
ip nat inside source static udp 10.0.5.6 80 XXXXXXXX 80 extendable
ip nat inside source static tcp 10.0.5.6 6036 XXXXXXXX 6036 extendable
ip nat inside source static udp 10.0.5.6 6036 XXXXXXXX 6036 extendable
ip nat outside source static 10.0.5.2 XXXXXXXX
ip nat outside source static 10.0.5.3 XXXXXXXX
ip nat outside source static 10.0.5.4 XXXXXXXX
ip nat outside source static 10.0.5.5 XXXXXXXX
ip nat outside source static 10.0.5.6 XXXXXXXX
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 10.0.1.0 255.255.255.224 10.0.0.2
ip route 10.0.2.0 255.255.255.0 10.0.0.2
ip route 10.0.3.0 255.255.255.224 10.0.0.2
ip route 10.0.4.0 255.255.255.192 10.0.0.2
ip route 10.0.5.0 255.255.255.0 10.0.0.2
!
access-list 1 permit 10.0.1.0 0.0.0.31
access-list 1 permit 10.0.2.0 0.0.0.255
access-list 1 permit 10.0.3.0 0.0.0.31
access-list 1 permit 10.0.4.0 0.0.0.63
access-list 1 permit 10.0.5.0 0.0.0.255
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
route-map DIAL0 permit 10
match ip address 1
match interface Dialer0
!
route-map DIAL1 permit 10
match ip address 1
match interface Dialer1
!
!
!
control-plane
!
!
banner motd ^C
^C
!
line con 0
password XXXXXX
logging synchronous
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password XXXXX
login local
transport input ssh
line vty 5 15
password XXXXX
login local
transport input ssh
!
scheduler allocate 20000 1000
!
end