TP4 : Routeurs Cisco Module TR2

C 192.168.5.0/24 is directly connected, Serial0. Router#show protocol. Global values: Internet Protocol routing is enabled. Ethernet0 is up, line protocol is up.
70KB taille 11 téléchargements 163 vues
TP4 : Routeurs Cisco Module TR2 Objectif : faire une interconnexion WAN

Configuration client ip link set down dev eth0 ip a d 10.40.211.9/8 dev eth0 ip a a 192.168.X.Y/16 dev eth0

ex : 192.168.101.4

Configuration pc connecté au routeur DCE : ''Master'' DTE : ''Slave'' minicom => ctrl+A => Z => O =>configuration des ports série A => /dev/ttyS0 E => E : 9600 Enregistrer config par défaut router> enable

Configuration routeur mathieu Router#enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface Ethernet0 Router(config‐if)#ip address 192.168.104.1 255.255.255.0 Router(config‐if)#no shutdown Router(config)#^Z Router#write Building configuration... SANCHEZ David RT2 B1 TR2-TP4-Routeurs-Cisco

08/01/2008 1/2

[OK] Router#configure terminal Router(config)#interface Serial0 Router(config‐if)#ip address 192.168.5.1 255.255.255.0 Router(config‐if)#no shutdown Router(config‐if)#clock rate 8000000 Router(config)#^Z Router#write [OK] Router#configure terminal Router(config)#interface Serial1 Router(config‐if)#ip address 192.168.4.2 255.255.255.0 Router(config‐if)#no shutdown Router(config‐if)#clock rate 1200 Router(config)#^Z Router#write [OK] Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip routing // Activer le routage Router(config)#router static 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, * ‐ candidate default U ‐ per‐user static route, o ‐ ODR

Gateway of last resort is not set C 192.168.104.0/24 is directly connected, Ethernet0 C 192.168.4.0/24 is directly connected, Serial1 C 192.168.5.0/24 is directly connected, Serial0 Router#show protocol Global values: Internet Protocol routing is enabled Ethernet0 is up, line protocol is up Internet address is 192.168.104.1/24 Serial0 is up, line protocol is up Internet address is 192.168.5.1/24 Serial1 is up, line protocol is up Internet address is 192.168.4.2/24 SANCHEZ David RT2 B1 TR2-TP4-Routeurs-Cisco

08/01/2008 2/2