Comandos relacionados a RIP

 

RouterRip(config)# router rip

RouterRip(config-router)#network XX.XX.XX.XX (máscara por defecto, o asume la configurada en la interfaz)

RouterRip(config-router)#version 2 (activa versión 2 si es necesario)

RouterRip(config-router)#redistribute static (propaga rutas estáticas dentro de RIP con metrica 1)

RouterRip(config-router)#redistribute static metric 5 (con una metrica distinta a 1)

RouterRip(config-router)#distance ? (distancia adminsitrativa, por defecto 120)

 

<1-255>  Administrative distance

 

RouterRip(config-router)#timers ? (para variar valores por defecto de los temporizadores)

 

  basic  Basic routing protocol update timers

 

RouterRip(config-router)#timers basic ?

 

  <0-4294967295>  Interval between updates

 

RouterRip(config-router)#timers basic 20 ? (actualizaciones de la tabla, default 30 segundos)

 

  <1-4294967295>  Invalid

 

RouterRip(config-router)#timers basic 20 40 ? (default 180 segundos)

 

  <0-4294967295>  Holddown

 

RouterRip(config-router)#timers basic 20 40 180 ? (default 240 segundos)

 

  <1-4294967295>  Flush

 

RouterRip(config-router)#timers basic 20 40 180 360 ?

 

  <1-4294967295>  Sleep time, in milliseconds (debe ser mayor al intervalo de update, default 360 segundos)

 

RouterRip(config-router)#timers basic 20 40 180 360 3600

 

DECLARAR INTERFACES PASIVAS:

 

RouterRip(config-router)#passive-interface INTERFACE (no transmite publicaciones, pero participa en RIP)

 

CANTIDAD DE RUTAS PARA EL BALANCE DE CARGA:

 

RouterRip(config-router)#maximum-paths 6 (las rutas deben tener costos iguales (misma cantidad de saltos))

 

EQUILIBRADO DE CARGA POR PAQUETE:

               

RouterRip(Config)#int s0/0 (si ambas interfaces alcanzan la ruta x.x.x.x)

RouterRip(config-if)#no ip route-cache (un paquete por cada interfaz (uno y uno o Round Robin))

RouterRip(Config)#int s0/1

RouterRip(config-if)#no ip route-cache

 

EQUILIBRADO DE CARGA POR DESTINO:

 

RouterRip(Config)#int s0/0 (si ambas interfaces alcanzan la ruta x.x.x.x)

RouterRip(config-if)#ip route-cache (sesión con host remoto x.x.x.A por esta interfaz)

RouterRip(Config)#int s0/1

RouterRip(config-if)#ip route-cache (sesión con host remoto x.x.x.B por esta interfaz)

               

DESABILITAR HORIZONTE DIVIDIDO:

 

RouterRip(Config)#int s0/0

RouterRip(config-if)#no ip split-horizon

 

PARA CONFIGURAR RIP DISPARADO POR EVENTOS:

 

RouterRip(Config)#int s0/0 (sólo en interfaces serial)

RouterRip(config-if)#ip rip triggered

 

VERIFICACION DE LA CONFIGURACION:

 

RouterRip#sh ip protocols (verificación de temporizadores)

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 8 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

  Serial0/0/0           1     2 1  

  Serial0/0/1           1     2 1  

Automatic network summarization is in effect

Maximum path: 4

Routing for Networks:

       10.0.0.0

       192.168.0.0

       192.168.1.0

Passive Interface(s):

       FastEthernet0/0 (red LAN, no es necesario piblicar RIP)

Routing Information Sources: 

       Gateway         Distance      Last Update

       192.168.1.2          120      00:00:23

       10.0.0.2             120      00:00:23

Distance: (default is 120)

RouterRip#

 

RouterRip#sh ip int

  ---resumido---

Serial0/0/0 is up, line protocol is up (connected)

  Internet address is 192.168.1.1/24

  Broadcast address is 255.255.255.255

  Address determined by setup command

  MTU is 1500

  Helper address is not set

  Directed broadcast forwarding is disabled

  Outgoing access list is not set

  Inbound  access list is not set

  Proxy ARP is enabled

  Security level is default

  Split horizon is enabled (verificación del horizonte dividido)

  ICMP redirects are always sent

  ---resumido---

RouterRip#

 

RouterRip#sh 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, 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

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

C    192.168.0.0/24 is directly connected, FastEthernet0/0

C    192.168.1.0/24 is directly connected, Serial0/0/0

R    192.168.3.0/24 [120/1] via 192.168.1.2, 00:00:15, Serial0/0/0

                    [120/1] via 10.0.0.2, 00:00:15, Serial0/0/1

RouterRip#

RouterRip#sh 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, ia - IS-IS inter area

       * - candidate default, U - per-user static route, o - ODR

       P - periodic downloaded static route

 

Gateway of last resort is 10.0.0.2 to network 0.0.0.0 (ruta por defecto, ver ruta R*)

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

C    192.168.0.0/24 is directly connected, FastEthernet0/0

C    192.168.1.0/24 is directly connected, Serial0/0/0

R    192.168.3.0/24 [120/1] via 192.168.1.2, 00:00:18, Serial0/0/0 (balanceo de carga)

                    [120/1] via 10.0.0.2, 00:00:18, Serial0/0/1

R*   0.0.0.0/0 [120/5] via 10.0.0.2, 00:00:19, Serial0/0/1 (balanceo de carga)

               [120/5] via 192.168.1.2, 00:00:19, Serial0/0/0

RouterRip#

 

RouterRip#sh runn

---resumido---

!

router rip

 passive-interface FastEthernet0/0

 network 10.0.0.0

 network 192.168.0.0

 network 192.168.1.0

!

ip classless

!

 

Visión desde el otro router:

 

Router_2#sh ip prot

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 10 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, static

Default version control: send version 1, receive any version

  Interface             Send  Recv  Triggered RIP  Key-chain

  Serial0/0/0           1     2 1  

  FastEthernet0/0       1     2 1  

  Serial0/0/1           1     2 1  

Automatic network summarization is in effect

Maximum path: 4

Routing for Networks:

       10.0.0.0

       192.168.1.0

       192.168.3.0

Passive Interface(s):

Routing Information Sources:

       Gateway         Distance      Last Update

       192.168.1.1          120      00:00:19

       10.0.0.1             120      00:00:19

Distance: (default is 120)

 

Router_2#sh ip route

---resumido---

 

Gateway of last resort is 192.168.4.2 to network 0.0.0.0

 

     10.0.0.0/30 is subnetted, 1 subnets

C       10.0.0.0 is directly connected, Serial0/0/1

R    192.168.0.0/24 [120/1] via 192.168.1.1, 00:00:22, Serial0/0/0 (balance de carga)

                    [120/1] via 10.0.0.1, 00:00:22, Serial0/0/1

C    192.168.1.0/24 is directly connected, Serial0/0/0

C    192.168.3.0/24 is directly connected, FastEthernet0/0

C    192.168.4.0/24 is directly connected, FastEthernet0/1

S*   0.0.0.0/0 [1/0] via 192.168.4.2 (ruta por defecto)

 

Router_2#sh runn

---resumido---

!

router rip

 redistribute static metric 5

 network 10.0.0.0

 network 192.168.1.0

 network 192.168.3.0

!

ip classless

ip route 0.0.0.0 0.0.0.0 Serial0/1/0

!

 

 

(2012) Routing for winners

Rosario, Argentina