Rip

Embed Size (px)

DESCRIPTION

Configuración de routers.. utilizando el protocolo RIP

Citation preview

RIPConfiguracin que se us en cada uno de los routers de la prctica de RIP en los 3 escenarios. Dichas configuracin son del escenario A del primer router (Router 6). Si gusta verificarlo. Las contraseas son las siguientescisco es de vty y la consola, para pasar a privilegiado tendra que poner class como contrasea.R1#show runBuilding configuration...

Current configuration : 805 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname R1!enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1!no ip domain-lookup!interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 duplex auto speed auto!interface Serial0/0 ip address 192.168.2.1 255.255.255.0!interface Serial0/1 no ip address shutdown!interface FastEthernet1/0 no ip address duplex auto speed auto shutdown!interface FastEthernet1/1 no ip address duplex auto speed auto shutdown!router rip network 192.168.1.0 network 192.168.2.0!ip classless!!banner motd ^CBUENOS DIAS^C!!line con 0 password cisco login!line aux 0!line vty 0 4 password cisco login!!!End

Para dar de alta el rip en el router 1 se us la siguiente configuracinR1(config)#route ripR1(config-router)#network 192.168.1.0R1(config-router)#network 192.168.2.0R1(config-router)#end

Para dar de alta la interface fa0/0 y la serial 0/0, se usaron los siguientes comandosR1(config)#int f0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1(config)#int se0/0R1(config-if)#ip address 192.168.2.1 255.255.255.0R1(config-if)#no shutdown%LINK-5-CHANGED: Interface serial 0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface serial0/0, changed state to upVerificamos que todas las interfaces estn dadas de alta y tengan la direccion correctaR1#show ip int briInterface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up Serial0/0 192.168.2.1 YES manual up up Serial0/1 unassigned YES unset administratively down down FastEthernet1/0 unassigned YES unset administratively down down FastEthernet1/1 unassigned YES unset administratively down down

Con el siguiente comando se verifico que el protocolo que se esta usandoR1#show ip protocols Routing Protocol is "rip"Sending updates every 30 seconds, next due in 0 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setRedistributing: ripDefault version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain Serial0/0 1 2 1 FastEthernet0/0 1 2 1 Automatic network summarization is in effectMaximum path: 4Routing for Networks:192.168.1.0192.168.2.0Passive Interface(s):Routing Information Sources:Gateway Distance Last Update192.168.2.2 120 00:00:22Distance: (default is 120)R1#Tabla de enrutamientoR1#show ip routeCodes: 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

C 192.168.1.0/24 is directly connected, FastEthernet0/0C 192.168.2.0/24 is directly connected, Serial0/0R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:17, Serial0/0R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:17, Serial0/0R 192.168.5.0/24 [120/2] via 192.168.2.2, 00:00:17, Serial0/0R1#