.

Commande Packet Tracer Routage dynamique

 Commande Packet Tracer Routage dynamique
Routage Dynamique :
Router>enable
Router#conf t

Enter configuration commands, one per line. End with CNTL/Z
.
Router(config)#router RIP
Router(config-router)#Version 2
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#network 10.0.0.0

Pour voir les routes :
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
C 10.0.0.4 is directly connected, FastEthernet0/1
R 192.168.1.0/24 [120/1] via 10.0.0.1, 00:00:08, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 10.0.0.1, 00:00:08, FastEthernet0/0
C 192.168.3.0/24 is directly connected, FastEthernet1/0
R 192.168.4.0/24 [120/1] via 10.0.0.6, 00:00:19, FastEthernet0/1
Pour supprimer les routes :

no network 192.168.1.0