Vous êtes sur la page 1sur 4

TP 7 INTERCONNEXION STATIQUE-RIP-OSPF

OBJECTIFS

Configuration du routage statique


Configuration de la route par dfaut
Configuration du routage dynamique RIP
Configuration du routage dynamique OSPF
Redistribution des routes dcouvertes par le RIP avec le protocole OSPF
Redistribution des routes dcouvertes par lOSPF avec le protocole RIP
Analyse de la table de routage ainsi que les rsultats obtenus

SHEMA GENERAL

EntrepriseA filiale1(OSPF)

01/2010

walid.douagi@esprit.ens.tn

EntrepriseA filiale2(RIP)

Internet

CONFIGURATION DES INTERFACES :


ROUTEUR AGENCE4
AGENCE4 (config)#interf fa 0/0
AGENCE4 (config-if)#ip address 172.16.0.1 255.255.0.0
AGENCE4 (config-if)#no shutdown
AGENCE4 (config-if)#interf fa 0/1
AGENCE4 (config-if)#ip address 172.17.0.1 255.255.0.0
AGENCE4 (config-if)#no shutdown
ROUTEUR AGENCE5
AGENCE5 (config)#interf fa 0/0
AGENCE5 (config-if)#ip address 172.17.255.254 255.255.0.0
AGENCE5 (config-if)#no shutdown

ROUTAGE DYNAMIQUE RIP


AGENCE4 (config)#router rip
AGENCE4 (config-router)# network 172.16.0.0
AGENCE4 (config-router)# network 172.17.0.0
AGENCE5 (config)#router rip
AGENCE4 (config-router)# network 172.17.0.0

01/2010

walid.douagi@esprit.ens.tn

Configuration du routeur de redistribution


redistrib-router(config)# interf fa 0/0
redistrib-router (config-if)#ip address 172.16.255.254 255.255.0.0
redistrib-router (config-if)#no shutdown
redistrib-router(config)# interf fa 0/1
redistrib-router (config-if)#ip address 10.0.0.4 255.0.0.0
redistrib-router (config-if)#no shutdown
redistrib-router(config)# router ospf 1
redistrib-router(config-router)# network 10.0.0.0 0.255.255.255 area 0
redistrib-router(config-router)# exit
redistrib-router(config)# router rip
redistrib-router(config-router)# network 172.16.0.0
redistrib-router#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, E2 - OSPF external type 2, * - candidate default
Gateway of last resort is 10.0.0.1 to network 0.0.0.0
C 10.0.0.0/8 is directly connected, FastEthernet0/0
C 172.16.0.0/16 is directly connected, FastEthernet0/1
R 172.17.0.0/16 [120/1] via 172.16.0.1, 00:00:24, FastEthernet0/1
192.168.40.0/24 is variably subnetted, 5 subnets, 3 masks
O
192.168.40.0/26 [110/1564] via 10.0.0.1, 00:20:13, FastEthernet0/0
O
192.168.40.64/26 [110/1564] via 10.0.0.1, 00:20:13, FastEthernet0/0
O
192.168.40.128/26 [110/2] via 10.0.0.1, 00:20:13, FastEthernet0/0
O
192.168.40.192/28 [110/2] via 10.0.0.1, 00:20:13, FastEthernet0/0
O
192.168.40.208/30 [110/1563] via 10.0.0.1, 00:20:13, FastEthernet0/0
O*E2 0.0.0.0/0 [110/1] via 10.0.0.1, 00:20:13, FastEthernet0/0
redistrib-router(config)# router ospf 1
redistrib-router(config-router)# redistribute rip
/** Redistribution des routes dcouvertes par le RIP avec le protocole OSPF **/

redistrib-router(config)# router rip


redistrib-router(config-router)# redistribute ospf 1 metric 1
/** Redistribution des routes dcouvertes par lOSPF avec le protocole RIP **/

01/2010

walid.douagi@esprit.ens.tn

AGENCE5#show ip route
Gateway of last resort is 172.17.0.1 to network 0.0.0.0
R
R
C
R
R*

10.0.0.0/8 [120/7] via 172.17.0.1, 00:00:07, FastEthernet0/0


172.16.0.0/16 [120/1] via 172.17.0.1, 00:00:07, FastEthernet0/0
172.17.0.0/16 is directly connected, FastEthernet0/0
192.168.40.0/24 [120/6] via 172.17.0.1, 00:00:07, FastEthernet0/0
0.0.0.0/0 [120/6] via 172.17.0.1, 00:00:07, FastEthernet0/0

SIEGE#show ip route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
O 10.0.0.0/8 [110/65] via 192.168.40.209, 00:26:23, Serial2/0
O E2 172.16.0.0/16 [110/20] via 192.168.40.209, 00:26:23, Serial2/0
O E2 172.17.0.0/16 [110/20] via 192.168.40.209, 00:24:37, Serial2/0
192.168.40.0/24 is variably subnetted, 6 subnets, 4 masks
C
192.168.40.0/26 is directly connected, FastEthernet0/0
C
192.168.40.64/26 is directly connected, FastEthernet1/0
O
192.168.40.128/26 [110/65] via 192.168.40.209, 00:26:54, Serial2/0
O
192.168.40.192/28 [110/65] via 192.168.40.209, 00:26:54, Serial2/0
C
192.168.40.208/30 is directly connected, Serial2/0
C
192.168.40.209/32 is directly connected, Serial2/0
209.165.202.0/27 is subnetted, 1 subnets
C
209.165.202.128 is directly connected, Serial3/0
S* 0.0.0.0/0 is directly connected, Serial3/0

01/2010

walid.douagi@esprit.ens.tn

Vous aimerez peut-être aussi