Comment paramétrer une connexion adsl sur un modem
prepa ccna4.docx
1. Creationde tunnel :
inttunnel 0
ipadd 10.10.10.1 255.255.255.252
tunnel source s0/0/0
tunnel destination209.165.122.2
tunnel mode gre ip
exit
R1(config)# access-list 101 permit ip 10.0.0.0 0.255.255.255 172.16.0.0
0.0.3.255
Configure the ISAKMP Phase 1 properties on R1.
R1(config)# crypto isakmp policy 101
R1(config-isakmp)# encryption aes
R1(config-isakmp)# authentication pre-share
R1(config-isakmp)# group 5
R1(config-isakmp)# exit
Generate isakmp keys for each peer of R1.
R1(config)# crypto isakmp key cisco address 64.100.13.2
R1(config)# crypto isakmp key cisco address 64.102.46.2
Configure the ISAKMP Phase 2 properties on R1.
R1(config)# crypto ipsec transform-set R1_Set esp-aes esp-sha-
hmac
R1(config)# crypto map R1_Map 101 ipsec-isakmp
R1(config-crypto-map)# set peer 64.100.13.2
2. R1(config-crypto-map)# set peer 64.102.46.2
R1(config-crypto-map)# set transform-set R1_Set
R1(config-crypto-map)# match address 101
R1(config-crypto-map)# exit
Étape 2 : activez le service d'horodatage de journalisation sur les commutateurs.
Configurez S1 et S2 de telle sorte que les horodatages soient envoyés avec les journaux au
serveur Syslog.
S1(config)# service timestamps log datetime msec
réglez automatiquement l'horloge du routeur.
Réglez l'horloge sur R1 à la date et l'heure du serveur NTP.
R1(config)# ntp server 64.103.224.2