Sei sulla pagina 1di 13

CentralTECH

Curso de Redes IP

1 © Copyright
© Copyright 2013-CentralTECH
2013 CentralTECH www.cteducacion.com-- www.cteducacion.com
masinfo@cteducacion.com - masinfo@cteducacion.com
Índice
FHRP - Protocolos

FHRP - Atributos

FHRP - Comparación

FHRP Configuración

© Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocols
Protocolos
HSRP VRRP GLBP
Hot Standby Router Protocol Virtual Router Redundancy Gateway Load Balancing
• Provee un default virtual Protocol Protocol
• Utiliza el rol de ACTIVE y • Es un estándar abierto • Soporta a diferencia de los
BACKUP • Una alternativa al HSRP anteriores balanceo de carga
• Actualmente un estándar pero licenciado por CISCO mas alla de la redundacia de
fue licenciado por CISCO Gateway
SYSTEMS • Es un protocolo propietario
CISCO

3 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocols
Protocolos
HSRP VRRP GLBP
Hot Standby Router Protocol Virtual Router Redundancy Gateway Load Balancing
Protocol Protocol
AVF
Standby Active Listen backup Master backup AVF AVG AVF

100 200 100 100 200 100 100 200 100

4 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocols
Protocolos
HSRP VRRP GLBP
Hot Standby Router Protocol Virtual Router Redundancy Gateway Load Balancing
Protocol Protocol
Estándar: RFC 2281 Estándar: RFC 3768 Estándar: NO - Cisco
Load Balancing: No Load Balancing: No Load Balancing: Si
IPv6: Si IPv6: No IPv6: Si
Transporte: UDP/1985 Transporte: IP/112 Transporte: UDP/3222
Prioridad defecto: 100 Prioridad defecto: 100 Prioridad defecto: 100
Hello: 3 Segundos Hello: 1 Segundos Hello: 3 Segundos
Multicast: 224.0.0.2 Multicast: 224.0.0.18 Multicast: 224.0.0.102

5 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocols
Configuración
HSRP VRRP GLBP
Hot Standby Router Protocol Virtual Router Redundancy Gateway Load Balancing
Protocol Protocol

interface FastEthernet0/0 interface FastEthernet0/0 interface FastEthernet0/0

ip address 10.0.1.2 255.255.255.0 ip address 10.0.1.2 255.255.255.0 ip address 10.0.1.2 255.255.255.0


glbp 1 ip 10.0.1.1
standby version {1 | 2} vrrp 1 ip 10.0.1.1
standby 1 ip 10.0.1.1 vrrp 1 timers {advertise <hello> | learn} glbp 1 timers <hello> <dead>

standby 1 timers <hello> <dead> vrrp 1 priority <priority> glbp 1 timers redirect <redirect> <time-
out>
standby 1 priority <priority> vrrp 1 preempt
glbp 1 priority <priority>
standby 1 preempt vrrp 1 authentication md5 key-string
<password> glbp 1 preempt
standby 1 authentication md5 key-string
<password> vrrp 1 track <object> decrement <value> glbp 1 forwarder preempt
glbp 1 authentication md5 key-string
standby 1 track <interface> <value>
<password>
standby 1 track <object> decrement
<value> glbp 1 load-balancing <method>
glbp 1 weighting <weight> lower <lower>
upper <upper>
glbp 1 weighting track <object> decrement
<value>

6 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocols
Protocolos
HSRP VRRP GLBP
Hot Standby Router Protocol Virtual Router Redundancy Gateway Load Balancing
Protocol Protocol
Speak: Eleccion de “Gateway” en Master: Router activo Speak: Eleccion de “Gateway” en
progreso Backup: Todo router no activo progreso
Active: Router activo Active: Router activo
Standby: Router Backup Standby: Router Backup
Listen: Router no activo Listen: Router no activo
AVG: Respuestas para el router
virtual y asigna virtual de
direcciones MAC para los
miembros del grupo
AVF: Todos los routers que
reenviar el tráfico para el grupo

7 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


HSRP
Funcionamiento

© Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocol
Hot Standby Router Protocol
• Entre los routers del grupo HSRP se Standby
Virtual
Active

intercambian HELLO cada 3 segundos 192.168.10.3/24


100 .1 200
192.168.10.2/24

• Cada router lo envía a la dirección de


multicast 224.0.0.2 UDP 1985 PC
IP 192.168.10.4
MASK 255.255.255.0
DG 192.168.10.1

• El router MAESTRO o ACTIVO se • Si el router ESCLAVO deja de recibir


establece por la prioridad. HELLOS del ACTIVO en un periodo de 10
• La prioridad por defecto es 100 segundos toma el lugar de ACTIVO
• El router con mayor prioridad es el • HELLO: 3 Segundos
ACTIVO • HOLDTIME: 10 Segundos

9 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocol
Hot Standby Router Protocol
• La puerta de enlace va a ser la Standby
Virtual
Active

dirección IP 192.168.10.1 con la 192.168.10.3/24


100 .1 200
192.168.10.2/24

dirección física 0000.0c9f.f001


PC
IP 192.168.10.4
MASK 255.255.255.0
DG 192.168.10.1

R1#sh standby R2#sh standby


FastEthernet0/0 - Group 1 (version 2) FastEthernet0/0 - Group 1 (version 2)
State is Active State is Standby
8 state changes, last state change 00:01:56 5 state changes, last state change 00:02:02
Virtual IP address is 192.168.10.1 Virtual IP address is 192.168.10.1
Active virtual MAC address is 0000.0C9F.F001 Active virtual MAC address is unknown
Local virtual MAC address is 0000.0C9F.F001 (v2 default) Local virtual MAC address is 0000.0C9F.F001 (v2 default)
Hello time 3 sec, hold time 10 sec Hello time 3 sec, hold time 10 sec
Next hello sent in 1.176 secs Next hello sent in 1.217 secs
Preemption disabled Preemption disabled
Active router is local Active router is 192.168.10.2
Standby router is 192.168.10.3 Standby router is local
Priority 100 (default 100) Priority 100 (default 100)
Group name is hsrp-Fa0/0-1 (default) Group name is hsrp-Fa0/0-1 (default)

10 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocol
Hot Standby Router Protocol
• La puerta de enlace va a ser la Standby
Virtual
Active

dirección IP 192.168.10.1 con la 192.168.10.3/24


100 .1 200
192.168.10.2/24

dirección física 0000.0c9f.f001


PC
IP 192.168.10.4
MASK 255.255.255.0
DG 192.168.10.1

R1#sh ip arp R2#sh ip arp


Protocol Address Age (min) Hardware Addr Type Interface Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.10.1 5 0000.0C9F.F001 ARPA FastEthernet0/0 Internet 192.168.10.3 - 000A.F33B.A101 ARPA FastEthernet0/0
Internet 192.168.10.2 - 000A.41D0.4101 ARPA FastEthernet0/0 R2#
Internet 192.168.10.4 1 00D0.9749.7301 ARPA FastEthernet0/0

11 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


First Hop Redundancy Protocol
Hot Standby Router Protocol
Funcionamiento: Standby
Virtual
Active
192.168.10.3/24 192.168.10.2/24
1. Por defecto quien tenga la prioridad 100 200
.1

mas alta es el ACTIVE


2. Si el ACTIVE cae o deja de enviar PC
IP 192.168.10.4

HELLOS por 10 segundos el rol lo MASK 255.255.255.0


DG 192.168.10.1

toma el STANDBY interface FastEthernet0/0


ip address 192.168.10.2 255.255.255.0
3. En caso de recuperarse el antiguo duplex auto
speed auto
STANDBY debe estar la sentencia de standby version 2
standby 1 ip 192.168.10.1
“preemt” para recuperar el rol de standby 1 priority 120
standby 1 preempt
ACTIVE, caso contrario sigue quien
este en ese momento

12 © Copyright 2013 CentralTECH - www.cteducacion.com - masinfo@cteducacion.com


¿Preguntas?

13 © Copyright
© Copyright 2013-CentralTECH
2013 CentralTECH www.cteducacion.com-- www.cteducacion.com
masinfo@cteducacion.com - masinfo@cteducacion.com

Potrebbero piacerti anche