Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 9

kholoud ghzili

TRI: 201 A

Affectez les adresses réseaux suivants la configuration figure N° 1 :

R1:Router>EN

Router#CONF T

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#interface g0/0

R1(config-if)#ip address 192.168.5.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#no shutdown

R1(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

R1(config-if)#exit

R1(config)#

R2:Router>EN

Router#CONF T

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R2

R2(config)#interface g0/0
R2(config-if)#ip address 192.168.5.2 255.255.255.0

R2(config-if)#no shu

R2(config-if)#no shutdown

R2(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

R2(config-if)#exit

R2(config)#

R3:

R3>en

R3#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R3(config)#interface g0/0

R3(config-if)#ip address 192.168.5.3 255.255.255.0

R3(config-if)#no sh

R3(config-if)#no shutdown

R3(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up


R3(config-if)#exit

R3(config)#

R4:R4>en

R4#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R4(config)#interface g0/0

R4(config-if)#ip address 192.168.5.4 255.255.255.0

R4(config-if)#no sh

R4(config-if)#no shutdown

R4(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

R4(config-if)#exit

R4(config)#

Q3. Configurer le router-id sur les routeurs R1, R2, R3, R4 ?

R1:R1>en

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#router eigrp 1

R1(config-router)# eigrp router-id 1.1.1.1

R1(config-router)#

R2:R2>

R2>EN

R2#CONF T

Enter configuration commands, one per line. End with CNTL/Z.


R2(config)#router eigrp 1

R2(config-router)#eigrp router-id 2.2.2.2

R2(config-router)#

R3: R3>EN

R3#CONF T

Enter configuration commands, one per line. End with CNTL/Z.

R3(config)#router eigrp 1

R3(config-router)#eigrp router-id 3.3.3.3

R3(config-router)#

R4:R4>en

R4#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R4(config)#router eigrp 1

R4(config-router)#eigrp router-id 4.4.4.4

R4(config-router)#

Q4. Donnez la commande qui vérifié que le router-id est modifié

R1:R1(config)#exit

R1#

%SYS-5-CONFIG_I: Configured from console by console

R1#en

R1#show ip eig

R1#show ip eigrp nei

R1#show ip eigrp neighbors

IP-EIGRP neighbors for process 1

R2:R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#en
R2#show ip ei
R2#show ip eigrp nei
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 1

R2#
R3:R3(config)#exit

R3#

%SYS-5-CONFIG_I: Configured from console by console

R3#en

R3#show ip ei

R3#show ip eigrp nei

R3#show ip eigrp neighbors

IP-EIGRP neighbors for process 1

R3#

R4:R4(config)#exit

R4#

%SYS-5-CONFIG_I: Configured from console by console

R4#en

R4#show ip ei

R4#show ip eigrp nei

R4#show ip eigrp neighbors


IP-EIGRP neighbors for process 1

R4#

Q5. Configurer le routage OSPF de processus id 100 et Area 0:

R1#

R1#en

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#router ospf 100

R1(config-router)#router-id 1.1.1.1

R1(config-router)#

R2:R2#

R2#en

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#router ospf 100

R2(config-router)#router-id 2.2.2.2

R2(config-router)#

R3:R3#

R3#en

R3#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R3(config)#rout

R3(config)#router osp

R3(config)#router ospf 100


R3(config-router)#router-id 3.3.3.3

R3(config-router)#

R4:R4>

R4>en

R4#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R4(config)#router os

R4(config)#router ospf 100

R4(config-router)#router-id 4.4.4.4

R4(config-router)#

Q5. Configurer le routage OSPF de processus id 100 et Area 0

R1:Router#en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ipv6 router ospf 1

% IPv6 routing not enabled

Router(config)#ipv6 router ospf 1

% IPv6 routing not enabled

Router(config)#ipv6 un

Router(config)#ipv6 unicast-routing

Router(config)#ipv6 router ospf 1

%OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,please configure manually

Router(config-rtr)#

R2:R2>en

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#router ospf 100

R2(config-router)#network 192.168.5.0 0.0.0.255 area 0


R2(config-router)#network 192.168.

01:31:38: %OSPF-5-ADJCHG: Process 100, Nbr 1.1.1.1 on GigabitEthernet0/0 from LOADING to FULL,
Loading Done

2.0 0.0.0.255

% Incomplete command.

R2(config-router)#network 192.168.2.0 0.0.0.255 area 0

R2(config-router)#network 202.1.1.0 0.0.0.3 area 0

R2(config-router)#

R3:R3>en

R3#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R3(config)#router ospf 100

R3(config-router)#network 192.168.5.0 0.0.0.255 area 0

R3(config-router)#network 192.168.3.0 0.0.0.255 area 0

R3(config-router)#

02:04:20: %OSPF-5-ADJCHG: Process 100, Nbr 2.2.2.2 on GigabitEthernet0/0 from LOADING to FULL,
Loading Done

R4:R4>en

R4#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R4(config)#router ospf 100

R4(config-router)#network 192.168.5.0 0.0.0.255 area 0

R4(config-router)#network 192.168.4.0 0.0.0.255 a

02:05:17: %OSPF-5-ADJCHG: Process 100, Nbr 2.2.2.2 on GigabitEthernet0/0 from LOADING to FULL,
Loading Done

02:05:17: %OSPF-5-ADJCHG: Process 100, Nbr 1.1.1.1 on GigabitEthernet0/0 fromnetwork 192.168.5.0


0.0.0.255 area 0

R4(config-router)#network 192.168.5.0 0.0.0.255 area 0

R4(config-router)#network 192.168.4.0 0.0.0.255 area 0

R4(config-router)#

You might also like