Fichier a telecharger: ospf_clean.pkt
Logiciel: packet tracer
- Faire du routage statique entre Paris et Bruxelles
- Mettre en place OSPF dans le réseau sous Paris avec l'area 0, ne pas envoyer d'info dans les réseaux contenant des Host
- Redistribuer la/les route(s) statique de Paris dans OSPF
- Mettre en place de l'authentification MD5 entre Paris et Crepy
- Nice doit etre élu DR via la priorité
- LaPlagne doit être BDR via une interface loopback
Password : crepy
****************************************************
Correction
****************************************************
1.- Configuration des interfaces
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Bruxelles
''''''''''''''''''''
Bruxelles#configure terminale
Bruxelles(config)#no ip domain-lookup
Bruxelles(config)#line console 0
Bruxelles(config-line)#logging synchronous
Bruxelles(config-line)#interface f0/0
Bruxelles(config-if)#description vers 1.0/25
Bruxelles(config-if)#ip address 192.168.1.126 255.255.255.128
Bruxelles(config-if)#no shutdown
Bruxelles(config-if)#interface f0/1
Bruxelles(config-if)#description vers 3.0/24
Bruxelles(config-if)#ip address 192.168.3.254 255.255.255.0
Bruxelles(config-if)#no shutdown
Bruxelles(config-if)#ip dhcp pool LAN_1
Bruxelles(dhcp-config)#default-router 192.168.1.126
Bruxelles(dhcp-config)#network 192.168.1.0 255.255.255.128
Bruxelles(dhcp-config)#dns-server 8.8.8.8
Bruxelles(dhcp-config)#ip dhcp pool LAN_2
Bruxelles(dhcp-config)#default-router 192.168.3.254
Bruxelles(dhcp-config)#network 192.168.3.0 255.255.255.0
Bruxelles(dhcp-config)#dns-server 8.8.8.8
Bruxelles(dhcp-config)#interface s0/1/1
Bruxelles(config-if)#description vers Paris
Bruxelles(config-if)#ip address 1.1.1.2 255.255.255.252
Bruxelles(config-if)#no shutdown
Paris
'''''''''''
Paris(config)#enable password crepy
Paris(config)#no enable secret
Paris(config)#no ip domain-lookup
Paris(config)#line console 0
Paris(config-line)#logging synchronous
Paris(config-if)#interface serial 0/1/0
Paris(config-if)#do show controllers serial 0/1/0
Interface Serial0/1/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 128000
Paris(config-if)#description vers Bruxelles
Paris(config-if)#ip address 1.1.1.1 255.255.255.252
Paris(config-if)#clock rate 56000
Paris(config-if)#no shut
Paris(config-if)#interface s0/1/1
Paris(config-if)#do show controllers s0/1/1
Interface Serial0/1/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
Paris(config-if)#description vers Crepy
Paris(config-if)#ip address 1.1.1.5 255.255.255.252
Paris(config-if)#clock rate 56000
Paris(config-if)#no shutdown
Paris(config-if)#interface f0/0
Paris(config-if)#description vers Server0
Paris(config-if)#ip address 192.168.0.30 255.255.255.224
Paris(config-if)#no shutdown
Crepy
'''''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname Crepy
Crepy(config)#no ip domain-lookup
Crepy(config)#line console 0
Crepy(config-line)#logging synchronous
Crepy(config-line)#interface s0/1/0
Crepy(config-if)#description vers Paris
Crepy(config-if)#ip address 1.1.1.6 255.255.255.252
Crepy(config-if)#no shutdown
Crepy(config-if)#interface f0/0
Crepy(config-if)#description vers LaPlagne et Nice
Crepy(config-if)#ip address 2.2.2.1 255.255.255.248
Crepy(config-if)#no shutdown
LaPlagne
''''''''''''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname LaPlagne
LaPlagne(config)#no ip domain-lookup
LaPlagne(config)#line console 0
LaPlagne(config-line)#logging synchronous
LaPlagne(config-line)#interface f0/0
LaPlagne(config-if)#description vers Crepy et Nice
LaPlagne(config-if)#ip address 2.2.2.2 255.255.255.248
LaPlagne(config-if)#no shutdown
LaPlagne(config-if)#interface f0/1
LaPlagne(config-if)#description vers 5.0/28
LaPlagne(config-if)#ip address 192.168.5.14 255.255.255.240
LaPlagne(config-if)#no shutdown
LaPlagne(config-if)#ip dhcp pool LAN_5
LaPlagne(dhcp-config)#default-router 192.168.5.14
LaPlagne(dhcp-config)#network 192.168.5.0 255.255.255.240
LaPlagne(dhcp-config)#dns-server 8.8.8.8
Nice
'''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname Nice
Nice(config)#no ip domain-lookup
Nice(config)#line console 0
Nice(config-line)#logging synchronous
Nice(config-line)#interface f0/0
Nice(config-if)#description vers Crepy et LaPlagne
Nice(config-if)#ip address 2.2.2.3 255.255.255.248
Nice(config-if)#no shutdown
Nice(config-if)#interface f0/1
Nice(config-if)#description vers LAN_6
Nice(config-if)#ip address 192.168.6.62 255.255.255.192
Nice(config-if)#no shutdown
Nice(config)#ip dhcp pool LAN_6
Nice(dhcp-config)#default-router 192.168.6.62
Nice(dhcp-config)#network 192.168.6.0 255.255.255.192
Nice(dhcp-config)#dns-server 8.8.8.8
2.- Routage
'''''''''''''''''''''''
Statique
Paris(config)#ip route 0.0.0.0 0.0.0.0 serial 0/1/0
Bruxelles(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2
%Invalid next hop address (it's this router)
Bruxelles(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.1
OSPF
LaPlagne(config)#router ospf 74
LaPlagne(config-router)#network 192.168.5.0 0.0.0.15 area 0
LaPlagne(config-router)#network 2.2.2.0 0.0.0.7 area 0
LaPlagne(config-router)#passive-interface f0/1
LaPlagne(config-router)interface f0/0
LaPlagne(config-if)#ip ospf hello-interval 2
LaPlagne(config-if)#ip ospf dead-interval 6
Nice(config)#router ospf 6
Nice(config-router)#network 192.168.6.0 0.0.0.63 area 0
Nice(config-router)#network 2.2.2.0 0.0.0.7 area 0
Nice(config-router)#passive-interface f0/1
Nice(config)#interface f0/0
Nice(config-if)#ip ospf hello-interval 2
Nice(config-if)#ip ospf dead-interval 6
Crepy(config)#router ospf 60
Crepy(config-router)#network 2.2.2.0 0.0.0.7 area 0
Crepy(config-router)#network 1.1.1.4 0.0.0.3 area 0
Crepy(config)#interface f0/0
Crepy(config-if)#ip ospf hello-interval 2
Crepy(config-if)#ip ospf dead-interval 6
Crepy(config-if)#interface s0/1/0
Crepy(config-if)#ip ospf hello-interval 2
Crepy(config-if)#ip ospf dead-interval 6
Crepy(config-if)#
04:48:37: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from FULL to DOWN, Neighbor Down: Dead timer expired
04:48:37: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from FULL to DOWN, Neighbor Down: Interface down or detached
Paris(config)#router ospf 75
Paris(config-router)#network 192.168.0.0 0.0.0.31 area 0
Paris(config-router)#network 1.1.1.4 0.0.0.3 area 0
Paris(config-router)#passive-interface f0/0
Paris(config-router)#default-information originate
Paris(config)#interface s0/1/1
Paris(config-if)#ip ospf hello-interval 2
Paris(config-if)#ip ospf dead-interval 6
Paris(config-if)#
04:51:27: %OSPF-5-ADJCHG: Process 75, Nbr 2.2.2.1 on Serial0/1/1 from LOADING to FULL, Loading Done
Crepy(config-if)#
04:51:27: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from LOADING to FULL, Loading Done
3.- Authentification MD5 entre Paris et Crepy:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Paris(config)#interface serial 0/1/1
Paris(config-if)#ip ospf authentication message-digest <= active l'authentification MD5 pour l'interface
Paris(config-if)#ip ospf message-digest-key 1 md5 egilia <= on indique les parametres de l'authentification
Crepy(config)#interface serial 0/1/0
Crepy(config-if)#ip ospf authentication message-digest
Crepy(config-if)#ip ospf message-digest-key 1 md5 egilia
4.- Election de DR/BDR:
'''''''''''''''''''''''''''''''''''''''''''''''
Election de LaPlagne en tant que DR via la Priorite:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
LaPlagne#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.2/29, Area 0
Process ID 74, Router ID 192.168.5.14, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 2.2.2.1, Interface address 2.2.2.1
Backup Designated Router (ID) 192.168.5.14, Interface address 2.2.2.2
Timer intervals configured, Hello 2, Dead 6, Wait 6, Retransmit 5
Hello due in 00:00:01
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.1 (Designated Router)
Suppress hello for 0 neighbor(s)
LaPlagne(config)#interface f0/0
LaPlagne(config-if)#ip ospf priority 255
LaPlagne#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.2/29, Area 0
Process ID 74, Router ID 192.168.5.14, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 255
Election de Nice en tant que BDR via une loopback:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Nice#show ip ospf int f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.3/29, Area 0
Process ID 6, Router ID 192.168.6.62, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 192.168.5.14, Interface address 2.2.2.2
Backup Designated Router (ID) 2.2.2.1, Interface address 2.2.2.1
Timer intervals configured, Hello 2, Dead 6, Wait 6, Retransmit 5
Hello due in 00:00:01
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 192.168.5.14 (Designated Router)
Adjacent with neighbor 2.2.2.1 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
Nice(config)#interface loopback 1
Nice(config-if)#ip address 200.200.200.200 255.255.255.255
Nice#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.3/29, Area 0
Process ID 6, Router ID 200.200.200.200, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Bruxelles
''''''''''''''''''''
Bruxelles#configure terminale
Bruxelles(config)#no ip domain-lookup
Bruxelles(config)#line console 0
Bruxelles(config-line)#logging synchronous
Bruxelles(config-line)#interface f0/0
Bruxelles(config-if)#description vers 1.0/25
Bruxelles(config-if)#ip address 192.168.1.126 255.255.255.128
Bruxelles(config-if)#no shutdown
Bruxelles(config-if)#interface f0/1
Bruxelles(config-if)#description vers 3.0/24
Bruxelles(config-if)#ip address 192.168.3.254 255.255.255.0
Bruxelles(config-if)#no shutdown
Bruxelles(config-if)#ip dhcp pool LAN_1
Bruxelles(dhcp-config)#default-router 192.168.1.126
Bruxelles(dhcp-config)#network 192.168.1.0 255.255.255.128
Bruxelles(dhcp-config)#dns-server 8.8.8.8
Bruxelles(dhcp-config)#ip dhcp pool LAN_2
Bruxelles(dhcp-config)#default-router 192.168.3.254
Bruxelles(dhcp-config)#network 192.168.3.0 255.255.255.0
Bruxelles(dhcp-config)#dns-server 8.8.8.8
Bruxelles(dhcp-config)#interface s0/1/1
Bruxelles(config-if)#description vers Paris
Bruxelles(config-if)#ip address 1.1.1.2 255.255.255.252
Bruxelles(config-if)#no shutdown
Paris
'''''''''''
Paris(config)#enable password crepy
Paris(config)#no enable secret
Paris(config)#no ip domain-lookup
Paris(config)#line console 0
Paris(config-line)#logging synchronous
Paris(config-if)#interface serial 0/1/0
Paris(config-if)#do show controllers serial 0/1/0
Interface Serial0/1/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 128000
Paris(config-if)#description vers Bruxelles
Paris(config-if)#ip address 1.1.1.1 255.255.255.252
Paris(config-if)#clock rate 56000
Paris(config-if)#no shut
Paris(config-if)#interface s0/1/1
Paris(config-if)#do show controllers s0/1/1
Interface Serial0/1/1
Hardware is PowerQUICC MPC860
DCE V.35, no clock
Paris(config-if)#description vers Crepy
Paris(config-if)#ip address 1.1.1.5 255.255.255.252
Paris(config-if)#clock rate 56000
Paris(config-if)#no shutdown
Paris(config-if)#interface f0/0
Paris(config-if)#description vers Server0
Paris(config-if)#ip address 192.168.0.30 255.255.255.224
Paris(config-if)#no shutdown
Crepy
'''''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname Crepy
Crepy(config)#no ip domain-lookup
Crepy(config)#line console 0
Crepy(config-line)#logging synchronous
Crepy(config-line)#interface s0/1/0
Crepy(config-if)#description vers Paris
Crepy(config-if)#ip address 1.1.1.6 255.255.255.252
Crepy(config-if)#no shutdown
Crepy(config-if)#interface f0/0
Crepy(config-if)#description vers LaPlagne et Nice
Crepy(config-if)#ip address 2.2.2.1 255.255.255.248
Crepy(config-if)#no shutdown
LaPlagne
''''''''''''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname LaPlagne
LaPlagne(config)#no ip domain-lookup
LaPlagne(config)#line console 0
LaPlagne(config-line)#logging synchronous
LaPlagne(config-line)#interface f0/0
LaPlagne(config-if)#description vers Crepy et Nice
LaPlagne(config-if)#ip address 2.2.2.2 255.255.255.248
LaPlagne(config-if)#no shutdown
LaPlagne(config-if)#interface f0/1
LaPlagne(config-if)#description vers 5.0/28
LaPlagne(config-if)#ip address 192.168.5.14 255.255.255.240
LaPlagne(config-if)#no shutdown
LaPlagne(config-if)#ip dhcp pool LAN_5
LaPlagne(dhcp-config)#default-router 192.168.5.14
LaPlagne(dhcp-config)#network 192.168.5.0 255.255.255.240
LaPlagne(dhcp-config)#dns-server 8.8.8.8
Nice
'''''''''''
Router>enable
Router#configure terminal
Router(config)#hostname Nice
Nice(config)#no ip domain-lookup
Nice(config)#line console 0
Nice(config-line)#logging synchronous
Nice(config-line)#interface f0/0
Nice(config-if)#description vers Crepy et LaPlagne
Nice(config-if)#ip address 2.2.2.3 255.255.255.248
Nice(config-if)#no shutdown
Nice(config-if)#interface f0/1
Nice(config-if)#description vers LAN_6
Nice(config-if)#ip address 192.168.6.62 255.255.255.192
Nice(config-if)#no shutdown
Nice(config)#ip dhcp pool LAN_6
Nice(dhcp-config)#default-router 192.168.6.62
Nice(dhcp-config)#network 192.168.6.0 255.255.255.192
Nice(dhcp-config)#dns-server 8.8.8.8
2.- Routage
'''''''''''''''''''''''
Statique
Paris(config)#ip route 0.0.0.0 0.0.0.0 serial 0/1/0
Bruxelles(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2
%Invalid next hop address (it's this router)
Bruxelles(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.1
OSPF
LaPlagne(config)#router ospf 74
LaPlagne(config-router)#network 192.168.5.0 0.0.0.15 area 0
LaPlagne(config-router)#network 2.2.2.0 0.0.0.7 area 0
LaPlagne(config-router)#passive-interface f0/1
LaPlagne(config-router)interface f0/0
LaPlagne(config-if)#ip ospf hello-interval 2
LaPlagne(config-if)#ip ospf dead-interval 6
Nice(config)#router ospf 6
Nice(config-router)#network 192.168.6.0 0.0.0.63 area 0
Nice(config-router)#network 2.2.2.0 0.0.0.7 area 0
Nice(config-router)#passive-interface f0/1
Nice(config)#interface f0/0
Nice(config-if)#ip ospf hello-interval 2
Nice(config-if)#ip ospf dead-interval 6
Crepy(config)#router ospf 60
Crepy(config-router)#network 2.2.2.0 0.0.0.7 area 0
Crepy(config-router)#network 1.1.1.4 0.0.0.3 area 0
Crepy(config)#interface f0/0
Crepy(config-if)#ip ospf hello-interval 2
Crepy(config-if)#ip ospf dead-interval 6
Crepy(config-if)#interface s0/1/0
Crepy(config-if)#ip ospf hello-interval 2
Crepy(config-if)#ip ospf dead-interval 6
Crepy(config-if)#
04:48:37: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from FULL to DOWN, Neighbor Down: Dead timer expired
04:48:37: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from FULL to DOWN, Neighbor Down: Interface down or detached
Paris(config)#router ospf 75
Paris(config-router)#network 192.168.0.0 0.0.0.31 area 0
Paris(config-router)#network 1.1.1.4 0.0.0.3 area 0
Paris(config-router)#passive-interface f0/0
Paris(config-router)#default-information originate
Paris(config)#interface s0/1/1
Paris(config-if)#ip ospf hello-interval 2
Paris(config-if)#ip ospf dead-interval 6
Paris(config-if)#
04:51:27: %OSPF-5-ADJCHG: Process 75, Nbr 2.2.2.1 on Serial0/1/1 from LOADING to FULL, Loading Done
Crepy(config-if)#
04:51:27: %OSPF-5-ADJCHG: Process 60, Nbr 192.168.0.30 on Serial0/1/0 from LOADING to FULL, Loading Done
3.- Authentification MD5 entre Paris et Crepy:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Paris(config)#interface serial 0/1/1
Paris(config-if)#ip ospf authentication message-digest <= active l'authentification MD5 pour l'interface
Paris(config-if)#ip ospf message-digest-key 1 md5 egilia <= on indique les parametres de l'authentification
Crepy(config)#interface serial 0/1/0
Crepy(config-if)#ip ospf authentication message-digest
Crepy(config-if)#ip ospf message-digest-key 1 md5 egilia
4.- Election de DR/BDR:
'''''''''''''''''''''''''''''''''''''''''''''''
Election de LaPlagne en tant que DR via la Priorite:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
LaPlagne#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.2/29, Area 0
Process ID 74, Router ID 192.168.5.14, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 2.2.2.1, Interface address 2.2.2.1
Backup Designated Router (ID) 192.168.5.14, Interface address 2.2.2.2
Timer intervals configured, Hello 2, Dead 6, Wait 6, Retransmit 5
Hello due in 00:00:01
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 2.2.2.1 (Designated Router)
Suppress hello for 0 neighbor(s)
LaPlagne(config)#interface f0/0
LaPlagne(config-if)#ip ospf priority 255
LaPlagne#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.2/29, Area 0
Process ID 74, Router ID 192.168.5.14, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 255
Election de Nice en tant que BDR via une loopback:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Nice#show ip ospf int f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.3/29, Area 0
Process ID 6, Router ID 192.168.6.62, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DROTHER, Priority 1
Designated Router (ID) 192.168.5.14, Interface address 2.2.2.2
Backup Designated Router (ID) 2.2.2.1, Interface address 2.2.2.1
Timer intervals configured, Hello 2, Dead 6, Wait 6, Retransmit 5
Hello due in 00:00:01
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 2, Adjacent neighbor count is 2
Adjacent with neighbor 192.168.5.14 (Designated Router)
Adjacent with neighbor 2.2.2.1 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
Nice(config)#interface loopback 1
Nice(config-if)#ip address 200.200.200.200 255.255.255.255
Nice#show ip ospf interface f0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 2.2.2.3/29, Area 0
Process ID 6, Router ID 200.200.200.200, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State BDR, Priority 1
NB1: La priorite par defaut est de 1, le minimum est 0 et le maximum 255.
L'IP de la loopback sera utilise pour determiner le router-id, sinon on peut le specifier avec la commande :
config)# router ospf ID
-router)# router-id A.B.C.D
NB2: pour forcer Crepy a perdre la priorite
Crepy(config)#int f0/0
Crepy(config-if)#ip ospf priority 0
Fichier contenant la correction a telecharger: ospf_correction.pkt
Aucun commentaire:
Enregistrer un commentaire