ho configurato un Cisco 877 per la connessione Adsl Alice 7Mb.
Di seguito la configurazione che sto utilizzando
Codice: Seleziona tutto
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname best
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
logging buffered 10240000
no logging rate-limit
no logging console
!
no aaa new-model
clock timezone CET 1
clock summer-time summertime recurring last Sun Mar 3:00 last Sun Oct 3:00
clock save interval 8
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2760771060
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2760771060
revocation-check none
rsakeypair TP-self-signed-2760771060
!
!
crypto pki certificate chain TP-self-signed-2760771060
certificate self-signed 01
3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32373630 37373130 3630301E 170D3131 30363132 31323431
30375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 37363037
37313036 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100D905 0B1EDBDA 4514C8CE FF6DF193 85D40DFD 96B27DA0 0C98F558 3CFE4967
8EA07768 44D0F40D 26F416CE 51162446 FEC690BA 30687AE1 00D15004 5FBFB1CE
BA57BB17 442EA5EF 4177BD13 740F3694 A859B114 1E9F81E9 E501109C 1E157F02
744810ED 258322CC 37A08ED1 663A8DEE E2D7C49F 4B60BC7A 6022211A 92B3BCD3
75DD0203 010001A3 64306230 0F060355 1D130101 FF040530 030101FF 300F0603
551D1104 08300682 04626573 74301F06 03551D23 04183016 8014D42B 015CB908
9D2CC5ED C17BCE23 0CA45A32 E155301D 0603551D 0E041604 14D42B01 5CB9089D
2CC5EDC1 7BCE230C A45A32E1 55300D06 092A8648 86F70D01 01040500 03818100
D44F4212 CD60DD90 F706D8F4 19F58E35 806161A8 8406EEFD 28B78515 96C53FB6
BBC94D80 723EE897 698EB327 5AABC909 3F9995E5 D6B6C799 73EAC914 642B26B2
DCE34E1F AB7EA4C4 3C64EB59 1490EBFA 32A3BA52 C1B60C5F 7D83E743 112838AE
9CEC28FC A1009257 109903ED 8E4C9B4D EB7E557D BC1E8776 1C1EC383 AAB69457
quit
dot11 syslog
ip source-route
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 10.0.0.1 10.0.0.100
!
ip dhcp pool sdm-pool
network 10.0.0.0 255.255.255.0
default-router 10.0.0.252
dns-server 10.0.0.252
lease 0 12
!
!
ip cef
ip name-server 8.8.8.8
ip name-server 8.8.4.4
ip ddns update method myupdate
HTTP
add http://utente:[email protected]/nic/update?hostname=hostname
interval maximum 0 0 10 0
!
no ipv6 cef
!
multilink bundle-name authenticated
!
parameter-map type inspect pmap-audit
audit-trail on
!
!
username admin privilege 15 secret 5 password
!
!
!
archive
log config
hidekeys
!
!
!
class-map type inspect match-any to-inside-cmap
match access-group 101
class-map type inspect match-any allow-self
match protocol icmp
class-map type inspect match-any to-outside-cmap
match protocol tcp
match protocol udp
match protocol icmp
!
!
policy-map type inspect to-inside
class type inspect to-inside-cmap
inspect
class class-default
drop
policy-map type inspect to-self
class type inspect allow-self
inspect
class class-default
drop
policy-map type inspect to-outside
class type inspect to-outside-cmap
inspect
class class-default
drop
policy-map type inspect router-to-outside
class type inspect to-outside-cmap
inspect
class class-default
drop
!
zone security private
zone security public
zone-pair security inside-to-outside source private destination public
service-policy type inspect to-outside
zone-pair security self-to-outside source self destination public
service-policy type inspect router-to-outside
zone-pair security outside-to-inside source public destination private
service-policy type inspect to-inside
zone-pair security outside-to-self source public destination self
service-policy type inspect to-self
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
!
interface ATM0.1 point-to-point
pvc 8/35
oam-pvc manage
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
snmp trap link-status
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 10.0.0.252 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
zone-member security private
ip tcp adjust-mss 1412
ntp broadcast
!
interface Dialer0
ip ddns update hostname dsagra.bounceme.net
ip ddns update myupdate
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip nat outside
ip virtual-reassembly
zone-member security public
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname aliceadsl
ppp chap password 7 1108150C14170A081726
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0 2
no ip http server
ip http authentication local
ip http secure-server
!
!
ip dns server
ip nat inside source static tcp 10.0.0.2 22 interface Dialer0 22
ip nat inside source static tcp 10.0.0.4 5900 interface Dialer0 5900
ip nat inside source list 1 interface Dialer0 overload
!
logging trap debugging
logging origin-id hostname
logging source-interface Vlan1
logging 10.0.0.2
access-list 1 permit 10.0.0.0 0.0.0.255
access-list 101 permit tcp any any eq 5900
access-list 101 permit tcp 212.48.162.224 0.0.0.31 any eq 22
access-list 101 permit tcp host 94.85.242.9 any eq 22
access-list 101 permit tcp 46.226.179.80 0.0.0.15 any eq 22
access-list 101 permit tcp 85.41.159.96 0.0.0.15 any eq 22
access-list 101 permit tcp host 46.226.176.44 any eq 22
dialer-list 1 protocol ip permit
!
!
!
control-plane
!
banner motd ^C
******************************************************************************
* __ __ _ _ _ _ *
* \ \ / /__| | ___ ___ _ __ ___ ___ | |_ ___ | |__ ___ ___| |_ *
* \ \ /\ / / _ \ |/ __/ _ \| '_ ` _ \ / _ \ | __/ _ \ | '_ \ / _ \/ __| __|*
* \ V V / __/ | (_| (_) | | | | | | __/ | || (_) | | |_) | __/\__ \ |_ *
* \_/\_/ \___|_|\___\___/|_| |_| |_|\___| \__\___/ |_.__/ \___||___/\__|*
******************************************************************************
^C
alias exec ri show running-config | inc
alias exec li show log | inc
alias exec uptime show ver | inc uptime
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
privilege level 15
login local
transport input ssh
!
scheduler max-task-time 5000
ntp source Vlan1
ntp master
ntp server 193.204.114.232 prefer
ntp server 193.204.114.233
end
Codice: Seleziona tutto
Jun 7 19:06:16 best 45: best: Jun 7 17:06:16.085: PPPATM: ATM0.1 8/35, Event = VC event:3, VT:Di0
Jun 7 19:06:16 best 46: best: Jun 7 17:06:16.085: PPPATM: ATM0.1 8/35 [0], Event = Down Pending
Jun 7 19:06:16 best 47: best: Jun 7 17:06:16.913: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 48: best: Jun 7 17:06:16.917: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 49: best: Jun 7 17:06:16.917: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 50: best: Jun 7 17:06:16.917: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 51: best: Jun 7 17:06:16.917: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 52: best: Jun 7 17:06:16.921: PPPATM: ATM0.1Sub-encap Error
Jun 7 19:06:16 best 53: best: Jun 7 17:06:17.025: PPPATM: ATM0.1 8/35 [0], Event = Down Processed
Jun 7 19:06:16 best 54: best: Jun 7 17:06:17.025: PPPATM: ATM0.1 8/35 [0], Event = Disconnecting
Jun 7 19:06:16 best 55: best: Jun 7 17:06:17.025: PPPATM: ATM0.1 8/35 [0], Event = Vaccess Down
Jun 7 19:06:16 best 56: best: Jun 7 17:06:17.029: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to down
Jun 7 19:06:16 best 57: best: Jun 7 17:06:17.029: Vi2 PPP DISC: Authentication configuration changed
Jun 7 19:06:16 best 58: best: Jun 7 17:06:17.029: %DIALER-6-UNBIND: Interface Vi2 unbound from profile Di0
Jun 7 19:06:16 best 59: best: Jun 7 17:06:17.029: Vi2 PPP: Sending cstate DOWN notification
Jun 7 19:06:16 best 60: best: Jun 7 17:06:17.033: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to down
Jun 7 19:06:17 best 61: best: Jun 7 17:06:17.049: Di0 IPCP: Remove route to 192.168.100.1
Jun 7 19:06:17 best 62: best: Jun 7 17:06:17.049: Vi2 IPCP: Event[DOWN] State[Open to Starting]
Jun 7 19:06:17 best 63: best: Jun 7 17:06:17.049: Vi2 IPCP: Event[CLOSE] State[Starting to Initial]
Jun 7 19:06:17 best 64: best: Jun 7 17:06:17.049: Vi2 LCP: Event[DOWN] State[Open to Starting]
Jun 7 19:06:17 best 65: best: Jun 7 17:06:17.049: Vi2 PPP: Phase is DOWN
Jun 7 19:06:17 best 66: best: Jun 7 17:06:17.053: Vi2 PPP: Processing CstateDown message
Grazie mille.