Cisco 1841 con 2 HWIC ADSL e Failover

Configurazioni per connettività ADSL, ISDN e switch per privati e piccole network

Moderatore: Federico.Lagni

Avatar utente
emiliano
Network Emperor
Messaggi: 280
Iscritto il: lun 19 nov , 2012 11:44 am

Posta nuovamente la CFG per intero.

Emiliano :)
- KEEP CALM AND CARRY ON -

CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
Avatar utente
z3n0
Cisco fan
Messaggi: 56
Iscritto il: ven 22 giu , 2012 9:09 pm

Ecco a te :D

Codice: Seleziona tutto

no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXXXXXXXXX
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 XXXXXXXXXXXXXXXXXXXXXXXXXXX
enable password XXXXXXXXXXX
!
no aaa new-model
!
dot11 syslog
no ip source-route
!
!
!
ip dhcp excluded-address 10.0.0.1 10.0.0.99
ip dhcp excluded-address 10.0.0.151 10.0.0.254
!
ip dhcp pool LAN
   network 10.0.0.0 255.255.255.0
   dns-server 8.8.8.8 8.8.4.4
   default-router 10.0.0.1
!
!
ip cef
ip domain name XXXXXXXXXXXX.XXXXX
ip name-server 8.8.8.8
ip name-server 8.8.4.4
no ipv6 cef
!
multilink bundle-name authenticated
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO1841 sn XXXXXXXXXXXXX
archive
 log config
  hidekeys
username XXXXXXXXXXX password 0 XXXXXXXXXXXXX
!
redundancy
!
!
ip ssh time-out 60
ip ssh authentication-retries 4
!
track 1 interface Dialer0 line-protocol
!
track 2 interface Dialer1 line-protocol
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.0.0.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 duplex auto
 speed auto
 no mop enabled
!
interface FastEthernet0/1
 ip address 192.168.1.10 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
!
interface ATM0/0/0
 no ip address
 no ip route-cache cef
 no ip route-cache
 no atm ilmi-keepalive
 max-reserved-bandwidth 100
 pvc 8/35
  pppoe-client dial-pool-number 1
 !
!
interface ATM0/1/0
 no ip address
 no ip route-cache cef
 no ip route-cache
 no atm ilmi-keepalive
 max-reserved-bandwidth 100
 pvc 8/35
  pppoe-client dial-pool-number 2
 !
!
interface Dialer0
 description ADSL 1
 mtu 1492
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation ppp
 dialer pool 1
 no ppp chap wait
 ppp pap sent-username xxxxxxxxxxxxxxx password 0 xxxxxxxxxxxxx
 no ppp pap wait
!
interface Dialer1
 description ADSL 2
 mtu 1492
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation ppp
 dialer pool 2
 no ppp chap wait
 ppp pap sent-username xxxxxxxxxxxx password 0 xxxxxxxxxxxxxx
 no ppp pap wait
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip dns server
no ip nat service sip udp port 5060
ip nat inside source route-map 112 interface Dialer0 overload
ip nat inside source route-map 113 interface Dialer1 overload
ip nat inside source route-map 114 interface FastEthernet0/1 overload
ip route 0.0.0.0 0.0.0.0 Dialer0 track 1
ip route 0.0.0.0 0.0.0.0 Dialer1 100 track 2
ip route 0.0.0.0 0.0.0.0 192.168.1.1 110
ip route 8.8.4.4 255.255.255.255 Dialer1
ip route 8.8.8.8 255.255.255.255 Dialer0
!
logging esm config
access-list 112 permit ip 10.0.0.0 0.0.0.255 any
access-list 113 permit ip 10.0.0.0 0.0.0.255 any
access-list 114 permit ip 10.0.0.0 0.0.0.255 any
!
!
!
!
route-map 112 permit 10
 match ip address 112
 match interface Dialer0
!
route-map 113 permit 10
 match ip address 113
 match interface Dialer1
!
route-map 114 permit 10
 match ip address 114
 match interface FastEthernet0/1
!
snmp-server community public RO
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
 password xxxxxxxxxxxx
 login local
 transport input ssh
!
no scheduler max-task-time
scheduler allocate 20000 1000
end
Rispondi