Sie sind auf Seite 1von 14

HABILITACION Y CONFIGURACION DE RIPv1

130.30.30./16 10.0.0.0/8 .3 .2 200.10.10.0/24 .3 .2 F0/0


200.1.1.0 /24 PPP DCE .2 S3/0

.3
DCE 200.2.2.0 /24 PPP DTE

.2

RB

.1 S2/0

F0/0 .1 DTE RA
.1 S2/0

.1 F0/0 RC

.2 S3/0

Simulador: Cisco Packet Tracer 6.0.1 Routers : 2811 Switches: 2960 Enrutamiento RIP v.1
1

CONFIGURANDO EL ROUTER A
Router> enable Router# configure terminal Router# hostname RouterA RouterA(config)# interface Fastethernet0/0 RouterA(config-if)# ip address 10.0.0.1 255.0.0.0 RouterA(config-if)# no shutdown RouterA(config-if)# exit RouterA(config)# interface serial2/0 RouterA(config-if)# ip address 200.1.1.1 255.255.255.0 RouterA(config-if)# encapsulation ppp RouterA(config-if)# no shutdown RouterA(config-if)# exit RouterA(config)# router rip RouterA(config-router)# version 1 RouterA(config-router)# network 10.0.0.0 RouterA(config-router)# network 200.1.1.0
2

CONFIGURANDO EL ROUTER B
Router> enable Router# configure terminal Router# hostname RouterB RouterB(config)# interface Fastethernet 0/0 RouterB(config-if)# ip address 130.30.30.1 255.255.0.0

RouterB(config-if)# no shutdown
RouterB(config-if)# exit RouterB(config)# interface serial 3/0 RouterB(config-if)# ip address 200.1.1.2 255.255.255.0

RouterB(config-if)# encapsulation ppp


RouterB(config-if)# clock rate 64000 RouterB(config-if)# no shutdown

CONFIGURANDO EL ROUTER B
RouterB(config)# interface serial 2/0 RouterB(config-if)# ip address 200.2.2.1 255.255.255.0 RouterB(config-if)# encapsulation ppp RouterB(config-if)# clock rate 64000 RouterB(config-if)# no shutdown RouterB(config-if)# exit RouterB(config)# router rip RouterB(config-router)# version 1 RouterB(config-router)# network 130.30.0.0 RouterB(config-router)# network 200.1.1.0 RouterB(config-router)# network 200.2.2.0

CONFIGURANDO EL ROUTER C
Router> enable Router# configure terminal Router# hostname RouterC RouterC(config)# interface Fastethernet 0/0 RouterC(config-if)# ip address 200.10.10.1 255.255.255.0 RouterC(config-if)# no shutdown RouterC(config-if)# exit RouterC(config)# interface serial 3/0 RouterC(config-if)# ip address 200.2.2.2 255.255.255.0 RouterC(config-if)# encapsulation ppp RouterC(config-if)# no shutdown RouterC(config-if)# exit RouterC(config)# router rip RouterC(config-router)# version 1 RouterC(config-router)# network 200.2.2.0 RouterC(config-router)# network 200.10.10.0
Nota: despus de haber configurados los routers de una topologa respectiva, puede aplicar el comando show ip route para verificar la tabla de ruteo de los routers.
5

COMANDO SHOW IP ROUTE


routerA# 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 10.0.0.0/8 is directly connected, FastEthernet0/0 R 130.30.0.0/16 [120/1] via 200.1.1.2, 00:00:04, Serial2/0 200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks C C R R 200.1.1.0/24 is directly connected, Serial2/0 200.1.1.2/32 is directly connected, Serial2/0 200.2.2.0/24 [120/1] via 200.1.1.2, 00:00:04, Serial2/0 200.10.10.0/24 [120/2] via 200.1.1.2, 00:00:04, Serial2/0
6

routerA#

COMANDO SHOW IP ROUTE


RouterB# 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 R 10.0.0.0/8 [120/1] via 200.1.1.1, 00:00:02, Serial3/0 C 130.30.0.0/16 is directly connected, FastEthernet0/0

200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks


C 200.1.1.0/24 is directly connected, Serial3/0

C 200.1.1.1/32 is directly connected, Serial3/0 200.2.2.0/24 is variably subnetted, 2 subnets, 2 masks

C
C R

200.2.2.0/24 is directly connected, Serial2/0


200.2.2.2/32 is directly connected, Serial2/0 200.10.10.0/24 [120/1] via 200.2.2.2, 00:00:20, Serial2/0
7

COMANDO SHOW IP ROUTE


RouterC# 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 R R R 10.0.0.0/8 [120/2] via 200.2.2.1, 00:00:15, Serial3/0 130.30.0.0/16 [120/1] via 200.2.2.1, 00:00:15, Serial3/0 200.1.1.0/24 [120/1] via 200.2.2.1, 00:00:15, Serial3/0 200.2.2.0/24 is variably subnetted, 2 subnets, 2 masks C C C 200.2.2.0/24 is directly connected, Serial3/0 200.2.2.1/32 is directly connected, Serial3/0 200.10.10.0/24 is directly connected, FastEthernet0/0
8

routerC#

VERIFICACION DE LA INFORMACION DE ENRUTAMIENTO RIP


El comando show ip protocols; nos muestra una informacin detallada de la informacin a cerca del protocolo de enrutamiento RIP. Router# show ip protocols Ejemplo:
10.0.0.0/8 .3 .2 200.10.10.0/24 .3 .2 F0/0
200.1.1.0 /24 PPP DCE .2 S3/0

130.30.30./16

.3
DCE 200.2.2.0 /24 PPP DTE

.2

RB

.1 S2/0

F0/0 RA

DTE .1 S2/0

F0/0 RC
9

Show ip protocols

.2 S3/0

SHOW IP PROTOCOLS
RouterB# show ip protocols Routing Protocol is "rip
Sending updates every 30 seconds, next due in 2 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 21 Serial3/0 1 21 Serial2/0 1 21 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 130.30.0.0 200.1.1.0 200.2.2.0 Passive Interface(s): Routing Information Sources: Gateway Distance Last Update 200.1.1.1 120 00:00:11 200.2.2.2 120 00:00:02 Distance: (default is 120)

RouterB#

10

COMO OBTENER INFORMACION DE LA TABLA DE ENRUTAMIENTO


El comando show ip route; nos muestra una informacin detallada de la tabla de enrutamiento RIP.

Comando: Router# show ip route


Ejemplo:
10.0.0.0/8 .3 .2 200.10.10.0/24 .3 .2 F0/0
200.1.1.0 /24 PPP DCE .2 S3/0

130.30.30./16

.3
DCE 200.2.2.0 /24 PPP DTE

.2

RB

.1 S2/0

F0/0 RA

DTE .1 S2/0

F0/0 RC
11

.2 S3/0

show ip route

COMANDO SHOW IP ROUTE


routerA# 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 10.0.0.0/8 is directly connected, FastEthernet0/0 R 130.30.0.0/16 [120/1] via 200.1.1.2, 00:00:04, Serial2/0 200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks C C R R 200.1.1.0/24 is directly connected, Serial2/0 200.1.1.2/32 is directly connected, Serial2/0 200.2.2.0/24 [120/1] via 200.1.1.2, 00:00:04, Serial2/0 200.10.10.0/24 [120/2] via 200.1.1.2, 00:00:04, Serial2/0
12

routerA#

COMO MOSTRAR ACTUALIZACIONES DE ENRUTAMIENTO RIP?


El comando debug ip rip; nos muestra las actualizaciones de enrutamiento RIP tal y como son enviadas.

Router# debug ip rip


Ejemplo:
10.0.0.0/8 .3 .2 200.10.10.0/24 .3 .2 F0/0
200.1.1.0 /24 PPP DCE .2 S3/0

130.30.30./16

.3
DCE 200.2.2.0 /24 PPP DTE

.2

RB

.1 S2/0

F0/0 RA

DTE .1 S2/0

F0/0 RC
13

debug ip rip

.2 S3/0

COMANDO DEBUG IP RIP


RouterB# debug ip rip R2#RIP: received v1 update from 200.1.1.1 on Serial3/0 10.0.0.0 in 1 hops RIP: received v1 update from 200.2.2.2 on Serial2/0 200.10.10.0 in 1 hops RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (130.30.30.1) RIP: build update entries

network 10.0.0.0 metric 2


network 200.1.1.0 metric 1 network 200.2.2.0 metric 1 network 200.10.10.0 metric 2 RIP: sending v1 update to 255.255.255.255 via Serial3/0 (200.1.1.2) RIP: received v1 update from 200.1.1.1 on Serial3/0 10.0.0.0 in 1 hops RIP: received v1 update from 200.2.2.2 on Serial2/0 200.10.10.0 in 1 hops RouterB#
14

Das könnte Ihnen auch gefallen