Escenario de HSRP (Hot Satndby Router Protocol)

Clase: Exploration 3 (v4.0) Fecha: 27/6/2013

 

Escenario

 

Este escenario se desarrolló con equipos reales, aquí se reproducen en Packet Tracer los resultados

del trabajo en clase (pruebas básicas), como pruebas mas complejas, a las que se podrían haber llegado

de haber existido mas interés.

Este tema no pertenece a la versión de currícula 4.0 pero se desarrolló igualmente en vistas al cambio

de versión inminente. Actualmente este tema es de CCNP, aquí se desarrollan aspectos básicos.

 

El escenario consiste en dos sectores físicos diferentes de una empresa, unidos mediante un router

para proporcionar tanto el enrutamiento inter-vlan como la conectividad entre sectores. Se utilizan

diferentes números de VLAN para evitar confusiones en el direccionamiento IP.

 

El escenario varía en cuanto a los trunk al router y subinterfaces debido a limitaciones del Packet Tracer

tanto versiones 6 y 6.0.1, la 5.3 no soporta HSRP. Hubo varios program crash durante las pruebas.

 

 

Verificación inicial de conectividad

 

Router#sh ip route

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0

C    192.168.20.0/24 is directly connected, FastEthernet1/0

C    192.168.30.0/24 is directly connected, FastEthernet2/0

C    192.168.40.0/24 is directly connected, FastEthernet3/0

Router#

 

PC>ipconfig

 

IP Address   ......................: 192.168.20.10 (host en VLAN 20)

Subnet Mask.....................: 255.255.255.0

Default Gateway................: 192.168.20.1

 

PC>ping 192.168.20.1 (verificación de gateway)

 

Pinging 192.168.20.1 with 32 bytes of data:

 

Reply from 192.168.20.1: bytes=32 time=172ms TTL=255

Reply from 192.168.20.1: bytes=32 time=60ms TTL=255

Reply from 192.168.20.1: bytes=32 time=78ms TTL=255

Reply from 192.168.20.1: bytes=32 time=51ms TTL=255

 

Ping statistics for 192.168.20.1:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 51ms, Maximum = 172ms, Average = 90ms

 

PC>ping 192.168.40.10 (verificación inter-valn)

 

Pinging 192.168.40.10 with 32 bytes of data:

 

Request timed out.

Reply from 192.168.40.10: bytes=32 time=143ms TTL=127

Reply from 192.168.40.10: bytes=32 time=187ms TTL=127

Reply from 192.168.40.10: bytes=32 time=172ms TTL=127

 

Ping statistics for 192.168.40.10:

    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

    Minimum = 143ms, Maximum = 187ms, Average = 167ms

 

PC>

 

Simulación del colapso del router

 

Con esta situación no existe ni enrutamiento entre edificios  ni inter-vlan.

 

 

Solución mediante redundancia

 

Se puede conectar un router sin configurar sin que afecte la topología actual, hay que planificar la

configuración del mismo para tener el menor impacto posible en la implementación de HSRP.

 

 

Router#conf t

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

Router(config)#host Backup

Backup(config)#int fa0/0

Backup(config-if)#no shut

Backup(config-if)#ip add 192.168.10.2 255.255.255.0

Backup(config-if)#exit

Backup(config)#int fa1/0

Backup(config-if)#ip add 192.168.20.2 255.255.255.0

Backup(config-if)#exit

Backup(config)#int fa2/0

Backup(config-if)#ip add 192.168.30.2 255.255.255.0

Backup(config-if)#exit

Backup(config)#int fa3/0

Backup(config-if)#ip add 192.168.40.2 255.255.255.0

Backup(config-if)#end

Backup#

 

Backup#sh ip route

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0

C    192.168.20.0/24 is directly connected, FastEthernet1/0

C    192.168.30.0/24 is directly connected, FastEthernet2/0

C    192.168.40.0/24 is directly connected, FastEthernet3/0

Router#

 

Hasta aquí tenemos el router operativo, en paralelo al router principal, pero en caso de caer este último,

se deberían cambiar los default gateway de las PCs, por lo que no es funcional, entonces se planifica la

implementación HSRP:

 

Script para router principal:

 

conf t

int fa0/0

ip add 192.168.10.3 255.255.255.0

standby ip 192.168.10.1

standby preempt

exit

int fa1/0

ip add 192.168.20.3 255.255.255.0

standby ip 192.168.20.1

standby preempt

exit

int fa2/0

ip add 192.168.30.3 255.255.255.0

standby ip 192.168.30.1

standby preempt

exit

int fa3/0

ip add 192.168.40.3 255.255.255.0

standby ip 192.168.40.1

standby preempt

exit

 

Script para router de backup:

 

conf t

int fa0/0

standby ip 192.168.10.1

exit

int fa1/0

standby ip 192.168.20.1

exit

int fa2/0

standby ip 192.168.30.1

exit

int fa3/0

standby ip 192.168.40.1

exit

 

Implementación

 

Luego de aplicar ambos scripts vemos por consola:

 

En router principal:

 

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Standby -> Active

 

En router backup:

 

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Speak -> Standby

 

Verificación en PC:

 

PC>ping 192.168.20.1 (verificamos gateway)

 

Pinging 192.168.20.1 with 32 bytes of data:

 

Reply from 192.168.20.1: bytes=32 time=47ms TTL=255

Reply from 192.168.20.1: bytes=32 time=0ms TTL=255

Reply from 192.168.20.1: bytes=32 time=12ms TTL=255

Reply from 192.168.20.1: bytes=32 time=0ms TTL=255

 

Ping statistics for 192.168.20.1:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 47ms, Average = 14ms

 

PC>ping 192.168.20.3 (verificamos IP real)

 

Pinging 192.168.20.3 with 32 bytes of data:

 

Reply from 192.168.20.3: bytes=32 time=16ms TTL=255

Reply from 192.168.20.3: bytes=32 time=0ms TTL=255

Reply from 192.168.20.3: bytes=32 time=0ms TTL=255

Reply from 192.168.20.3: bytes=32 time=0ms TTL=255

 

Ping statistics for 192.168.20.3:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 16ms, Average = 4ms

 

PC>arp -a

  Internet Address      Physical Address      Type

  192.168.20.1               0000.0c9f.f000        dynamic (IP y MAC virtuales)

  192.168.20.3               0090.211a.5513       dynamic (IP y MAC reales)

 

PC>

 

Topología final

 

La dirección IP del gateway para todas las redes es una IP virtual, con una dirección MAC

virtual, la cual escucharán ambos routers.

 

Router#sh standby

FastEthernet0/0 - Group 0 (version 2)

  State is Active

    5 state changes, last state change 00:00:19

  Virtual IP address is 192.168.10.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.943 secs

  Preemption enabled (siempre tiene a ser el active)

  Active router is local (mismas priority, gana IP mas alta, similar al OSPF)

  Standby router is 192.168.10.2

  Priority 100 (default 100)

  Group name is hsrp-Fa0/0-0 (default)

FastEthernet1/0 - Group 0 (version 2)

  State is Standby

    6 state changes, last state change 00:00:35

  Virtual IP address is 192.168.20.1

  Active virtual MAC address is unknown

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.273 secs

  Preemption enabled

  Active router is local

  Standby router is 192.168.20.2

  Priority 100 (default 100)

  Group name is hsrp-Fa1/0-0 (default)

FastEthernet2/0 - Group 0 (version 2)

  State is Active

    5 state changes, last state change 00:00:19

  Virtual IP address is 192.168.30.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.507 secs

  Preemption enabled

  Active router is local

  Standby router is 192.168.30.2

  Priority 100 (default 100)

  Group name is hsrp-Fa2/0-0 (default)

FastEthernet3/0 - Group 0 (version 2)

  State is Active

    5 state changes, last state change 00:00:19

  Virtual IP address is 192.168.40.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.736 secs

  Preemption enabled

  Active router is local

  Standby router is 192.168.40.2

  Priority 100 (default 100)

  Group name is hsrp-Fa3/0-0 (default)

Router#

 

Backup#sh standby

FastEthernet0/0 - Group 0 (version 2)

  State is Standby

    4 state changes, last state change 00:00:26

  Virtual IP address is 192.168.10.1

  Active virtual MAC address is unknown

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 0.946 secs

  Preemption disabled

  Active router is 192.168.10.3

  Standby router is local

  Priority 100 (default 100)

  Group name is hsrp-Fa0/0-0 (default)

FastEthernet1/0 - Group 0 (version 2)

  State is Active

    6 state changes, last state change 00:00:28

  Virtual IP address is 192.168.20.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 2.268 secs

  Preemption disabled

  Active router is 192.168.20.3

  Standby router is local

  Priority 100 (default 100)

  Group name is hsrp-Fa1/0-0 (default)

FastEthernet2/0 - Group 0 (version 2)

  State is Standby

    7 state changes, last state change 00:00:31

  Virtual IP address is 192.168.30.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 2.307 secs

  Preemption disabled

  Active router is 192.168.30.3

  Standby router is local

  Priority 100 (default 100)

  Group name is hsrp-Fa2/0-0 (default)

FastEthernet3/0 - Group 0 (version 2)

  State is Standby

    7 state changes, last state change 00:00:31

  Virtual IP address is 192.168.40.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 0.064 secs

  Preemption disabled

  Active router is 192.168.40.3

  Standby router is local

  Priority 100 (default 100)

  Group name is hsrp-Fa3/0-0 (default)

Backup#

 

 

PC>ping -t 192.168.40.10

 

Pinging 192.168.40.10 with 32 bytes of data:

 

Reply from 192.168.40.10: bytes=32 time=15ms TTL=127

Reply from 192.168.40.10: bytes=32 time=16ms TTL=127

Reply from 192.168.40.10: bytes=32 time=15ms TTL=127 (cae router principal)

---resumido---

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127 (entra en línea router backup)

Reply from 192.168.40.10: bytes=32 time=15ms TTL=127

Reply from 192.168.40.10: bytes=32 time=16ms TTL=127

---resumido---

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

Reply from 192.168.40.10: bytes=32 time=15ms TTL=127

 

Ping statistics for 192.168.40.10:

    Packets: Sent = 31, Received = 27, Lost = 4 (13% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 32ms, Average = 10ms

 

Control-C

^C

PC>

 

Backup#

 

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Standby -> Active

 

Backup#sh standby

FastEthernet0/0 - Group 0 (version 2)

  State is Active

    4 state changes, last state change 00:02:22

  Virtual IP address is 192.168.10.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 2.056 secs

  Preemption disabled

  Active router is local

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa0/0-0 (default)

FastEthernet1/0 - Group 0 (version 2)

  State is Active

    4 state changes, last state change 00:02:20

  Virtual IP address is 192.168.20.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 2.171 secs

  Preemption disabled

  Active router is local

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa1/0-0 (default)

FastEthernet2/0 - Group 0 (version 2)

  State is Active

    5 state changes, last state change 00:02:23

  Virtual IP address is 192.168.30.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 0.091 secs

  Preemption disabled

  Active router is local

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa2/0-0 (default)

FastEthernet3/0 - Group 0 (version 2)

  State is Active

    4 state changes, last state change 00:02:21

  Virtual IP address is 192.168.40.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 0.073 secs

  Preemption disabled

  Active router is local

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa3/0-0 (default)

Backup#

 

Entra en línea nuevamente el router principal

 

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Speak -> Standby

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Standby -> Active

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Standby -> Active

 

En el router backup: (aunque PT el preempt no siempre funciona)

 

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Active - > Standby

%HSRP-6-STATECHANGE: FastEthernet3/0 Grp 0 state Active - > Standby

%HSRP-6-STATECHANGE: FastEthernet0/0 Grp 0 state Active - > Standby

%HSRP-6-STATECHANGE: FastEthernet2/0 Grp 0 state Active - > Standby

 

Caso de que caiga sólamente un enlace

 

 

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Active -> Init

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

 

Router#

 

En router backup:

 

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Standby -> Active

 

Backup#

 

Se pierde la conectividad ya que el router backup queda como gateway de la VLAN 20, entrega

el paquete al host de la VLAN 40, este responde a su gateway (Router) para que reenvíe y éste

tiene el enlace cortado hacia la VLAN 20, por lo tanto la conectividad  se pierde.

 

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Request timed out.

 

Ping statistics for 192.168.40.10:

    Packets: Sent = 59, Received = 49, Lost = 10 (17% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 32ms, Average = 8ms

 

Control-C

^C

PC>

 

Solución:

 

Router(config)#router eigrp 100

Router(config-router)#net 192.168.10.0

Router(config-router)#net 192.168.20.0

Router(config-router)#net 192.168.30.0

Router(config-router)#net 192.168.40.0

Router(config-router)#end

Router#

 

Backup(config)#router eigrp 100

Backup(config-router)#net 192.168.10.0

Backup(config-router)#net 192.168.20.0

Backup(config-router)#net 192.168.30.0

Backup(config-router)#net 192.168.40.0

Backup(config-router)#end

Backup#

 

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.20.3 (FastEthernet1/0) is up: new adjacency

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.10.3 (FastEthernet0/0) is up: new adjacency

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.40.3 (FastEthernet3/0) is up: new adjacency

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.30.3 (FastEthernet2/0) is up: new adjacency

 

Backup#sh ip route

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0 (no existen cambios porque todas las redes están

C    192.168.20.0/24 is directly connected, FastEthernet1/0  directamente conectadas y funcionales, todos los

C    192.168.30.0/24 is directly connected, FastEthernet2/0  enlaces estan activos)

C    192.168.40.0/24 is directly connected, FastEthernet3/0

Backup#

 

Cae el enlace nuevamente:

 

Router#

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

 

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.20.2 (FastEthernet1/0) is down: interface down

 

Router#

 

En router backup:

 

%HSRP-6-STATECHANGE: FastEthernet1/0 Grp 0 state Standby -> Active

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.20.3 (FastEthernet1/0) is down: holding time expired

 

Backup#

 

Router#sh ip route

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0

D    192.168.20.0/24 [90/30720] via 192.168.40.2, 00:02:44, FastEthernet3/0 (vía VLAN 40)

                                      [90/30720] via 192.168.10.2, 00:02:44, FastEthernet0/0 (vía VLAN 10)

                                      [90/30720] via 192.168.30.2, 00:02:44, FastEthernet2/0 (vía VLAN 30)

C    192.168.30.0/24 is directly connected, FastEthernet2/0

C    192.168.40.0/24 is directly connected, FastEthernet3/0

Router#

 

Recorrido del tráfico para llegar de VLAN 40 a VLAN 20

 

 

PC>ipconfig

 

FastEthernet0 Connection:(default port)

IP Address   ......................: 192.168.40.10

Subnet Mask.....................: 255.255.255.0

Default Gateway...............: 192.168.40.1

 

PC>tracert 192.168.20.10

 

Tracing route to 192.168.20.10 over a maximum of 30 hops:

 

  1   16 ms     0 ms      0 ms      192.168.40.3 (gateway)

  2   0 ms      0 ms      0 ms      192.168.40.2  (router backup)

  3   0 ms      15 ms     0 ms      192.168.20.10

 

Trace complete.

 

PC>

 

Cae un enlace en router backup (VLAN 40)

 

 

Backup#

 

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

 

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.40.3 (FastEthernet3/0) is down: interface down

 

Backup#sh ip route

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0

C    192.168.20.0/24 is directly connected, FastEthernet1/0

C    192.168.30.0/24 is directly connected, FastEthernet2/0

D    192.168.40.0/24 [90/30720] via 192.168.10.3, 00:00:36, FastEthernet0/0 (vía VLAN 10)

                                      [90/30720] via 192.168.30.3, 00:00:36, FastEthernet2/0 (vía VLAN 30)

Backup#

 

Router#sh ip route (ya no aparece vía VLAN 40)

---resumido---

 

C    192.168.10.0/24 is directly connected, FastEthernet0/0

D    192.168.20.0/24 [90/30720] via 192.168.10.2, 00:13:19, FastEthernet0/0 (vía VLAN 10)

                                  [90/30720] via 192.168.30.2, 00:13:19, FastEthernet2/0 (vía VLAN 30)

C    192.168.30.0/24 is directly connected, FastEthernet2/0

C    192.168.40.0/24 is directly connected, FastEthernet3/0

Router#

 

PC>ipconfig (desde VLAN 20)

 

FastEthernet0 Connection:(default port)

IP Address......................: 192.168.20.10

Subnet Mask..................: 255.255.255.0

Default Gateway.............: 192.168.20.1

 

PC>tracert 192.168.40.10

 

Tracing route to 192.168.40.10 over a maximum of 30 hops:

 

  1   10 ms     10 ms    10 ms      192.168.20.1 (gateway: router backup)

  2   0 ms      16 ms     10 ms      192.168.10.3 (pasa por la VLAN 10)

  3   16 ms     16 ms    16 ms     192.168.40.10 (llega a VLAN 40)

 

Trace complete.

 

PC>

 

Router#sh standby

FastEthernet0/0 - Group 0 (version 2)

---VLAN 10---resumido---

FastEthernet1/0 - Group 0 (version 2) (VLAN 20)

  State is Init (interface down)

  Virtual IP address is 192.168.20.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 9.90721e+014 secs

  Preemption enabled

  Active router is unknown

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa1/0-0 (default)

FastEthernet2/0 - Group 0 (version 2)

---VLAN 30---resumido---

FastEthernet3/0 - Group 0 (version 2) (VLAN 40)

  State is Active

    4 state changes, last state change 00:04:30

  Virtual IP address is 192.168.40.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.366 secs

  Preemption enabled

  Active router is local

  Standby router is 192.168.40.2

  Priority 100 (default 100)

  Group name is hsrp-Fa3/0-0 (default)

Router#

 

Backup#sh standby

FastEthernet0/0 - Group 0 (version 2)

---VLAN 10---resumido---

FastEthernet1/0 - Group 0 (version 2) (VLAN 20)

  State is Active

    4 state changes, last state change 00:01:24

  Virtual IP address is 192.168.20.1

  Active virtual MAC address is 0000.0C9F.F000

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 2.2 secs

  Preemption disabled

  Active router is local

  Standby router is 192.168.20.3

  Priority 100 (default 100)

  Group name is hsrp-Fa1/0-0 (default)

FastEthernet2/0 - Group 0 (version 2)

---VLAN 30---resumido---

FastEthernet3/0 - Group 0 (version 2) (VLAN 40)

  State is Init (interface down)

  Virtual IP address is 192.168.40.1

  Active virtual MAC address is unknown

    Local virtual MAC address is 0000.0C9F.F000 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 3.916 secs

  Preemption disabled

  Active router is unknown

  Standby router is unknown

  Priority 100 (default 100)

  Group name is hsrp-Fa3/0-0 (default)

Backup#

 

 

PC>ping -t 192.168.40.10

 

Pinging 192.168.40.10 with 32 bytes of data:

 

Reply from 192.168.40.10: bytes=32 time=15ms TTL=127

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

---resumido---

Reply from 192.168.40.10: bytes=32 time=0ms TTL=127

Request timed out. (cae enlace enlace VLAN 20)

Request timed out.

Request timed out.

Request timed out.

Reply from 192.168.40.10: bytes=32 time=0ms TTL=126

Reply from 192.168.40.10: bytes=32 time=27ms TTL=126

Reply from 192.168.40.10: bytes=32 time=31ms TTL=126

Reply from 192.168.40.10: bytes=32 time=0ms TTL=126

Reply from 192.168.40.10: bytes=32 time=15ms TTL=126

Reply from 192.168.40.10: bytes=32 time=15ms TTL=126

Reply from 192.168.40.10: bytes=32 time=0ms TTL=126

Request timed out. (cae enlace enlace VLAN 40 en router backup)

Request timed out.

Reply from 192.168.40.10: bytes=32 time=16ms TTL=126

Reply from 192.168.40.10: bytes=32 time=32ms TTL=126

Reply from 192.168.40.10: bytes=32 time=15ms TTL=126

Reply from 192.168.40.10: bytes=32 time=15ms TTL=126

Reply from 192.168.40.10: bytes=32 time=15ms TTL=126

---resumido---

Reply from 192.168.40.10: bytes=32 time=0ms TTL=126

 

Ping statistics for 192.168.40.10:

    Packets: Sent = 36, Received = 29, Lost = 6 (20% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 32ms, Average = 8ms

 

Control-C

^C

PC>

 

 

 

 

(2013) Networking  for hard peoples

Rosario, Argentina