42
First Hob Redundancy Protocols 1 Mohammad Tayyebi Engineer Austin, LLC

First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

First Hob Redundancy Protocols

1

Mohammad TayyebiEngineer Austin, LLC

Page 2: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Mohammad Tayyebi

MikroTik Certified Trainer and Academic Trainer

Working with MikroTik solutions since 2008

Certifications :

CCNA R&S, CCNP R&S, MTCE, VCP, EMC ISM,EMCSA, MTCNA,MTCRE, MTCTCE, MTCUME,MTCTCE, MTCIPV6, MTCSE, MTCINE

2 EngineerAustin.Com

Page 3: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Engineer Austin

Global Consulting

Evaluate, Design, Implement,

Network Engineer

IT Training

Data Center

VirtualizationTel : (512) 481-2710

3

Page 4: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Agenda

What's FHRP

Problem/Solutions

Redundant Router Protocols

What's the VRRP

VRRP Operation

VRRP Configuration

Load Sharing

Security in VRRP

VRRP and IPV6

4 EngineerAustin.Com

Page 5: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

What's FHRP

First Hob Redundancy Protocol

FHRP is designed to protect the Default Gateway by allowing two or more

Routers to provide backup for that address.

In the event of failure of an active router, the backup router will take over

the address, usually within a few seconds

EngineerAustin.Com5

Page 6: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Problem

6 EngineerAustin.Com

Page 7: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Problem

7 EngineerAustin.Com

Page 8: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Problem

8 EngineerAustin.Com

Page 9: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Problem

EngineerAustin.Com9

Page 10: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Solution

10 EngineerAustin.Com

Page 11: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Solution

11 EngineerAustin.Com

Page 12: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

What's VRRP

12

Standard Protocol

Using IP Encapsulation 112

Using 224.0.0.18 as Multicast Address

Priority Range : 1-255 (Default : 100) Master/Backups

Group Range : 0-255

Mac Address : 00:00:5e:00:01:XX

Preemption : Yes by Default

Authentication : AH

IPV6 Support

EngineerAustin.Com

Page 13: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Mac Address

IANA Mac Address Block : 00:00:5e

VRRP Virtual Mac :

00:00:5e:00:01:<VRID>

VRID Example : VRID 10 00:00:5e:00:01:0a

VRID 100 00:00:5e:00:01:64

13 EngineerAustin.Com

Page 14: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Priority

14 EngineerAustin.Com

Page 15: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VVRP Multicast Packet

15 EngineerAustin.Com

Page 16: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Preemption

16 EngineerAustin.Com

Page 17: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Operation

17 EngineerAustin.Com

Page 18: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Operation

18 EngineerAustin.Com

Page 19: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Security

None

Simple

AH

19 EngineerAustin.Com

Page 20: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Versions

Version2

Version3No Authentication

20 EngineerAustin.Com

Page 21: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP with IPV6

21

VRRP Virtual Mac : 00:00:5e:00:02:<VRID>

the multicast address is FF02:0:0:0:0:0:0:12

EngineerAustin.Com

Page 22: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Lab Scenario

22 EngineerAustin.Com

Page 23: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter1 Configuration

23 EngineerAustin.Com

Page 24: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter1 Configuration

24 EngineerAustin.Com

Page 25: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter1 Configuration

25 EngineerAustin.Com

Page 26: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter1 Configuration

26 EngineerAustin.Com

Page 27: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter1 Configuration

27

/ip address

add address=10.10.10.253/24 interface=LAN

/interface vrrp

add authentication=ah interface=LAN name="Virtual on

R1" password=***** priority=250 version=2 vrid=64

/ip address

add address=10.10.10.1/24 interface="Virtual on R1"

EngineerAustin.Com

Page 28: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter2 Configuration

28 EngineerAustin.Com

Page 29: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter2 Configuration

29 EngineerAustin.Com

Page 30: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter2 Configuration

30 EngineerAustin.Com

Page 31: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter2 Configuration

31 EngineerAustin.Com

Page 32: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioRouter2 Configuration

32

/ip address

add address=10.10.10.253/24 interface=LAN

/interface vrrp

add authentication=ah interface=LAN name="Virtual on

R1" password=Mikrotik priority=200 version=2 vrid=64

/ip address

add address=10.10.10.1/24 interface="Virtual on R1"

EngineerAustin.Com

Page 33: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP ScenarioScript on Routers

33 EngineerAustin.Com

Page 34: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

34

VRRP ScenarioConfiguration Verification

I - invalid, R - running, M - master, B - backup

EngineerAustin.Com

Page 35: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Test Result

35 EngineerAustin.Com

Page 36: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

FHRP Protocols

EngineerAustin.Com36

VRRP GLBP

Packet Standarad Cisco Proprietary

Protocol IP Encapsulation 112 Udp encapsulation 3222

Group Range 0-255 0-1023

Multicast IP 224.0.0.18 224.0.0.102

Built-in Load Sharing No Built in Yes

Mac Address Just one/Group 4/Group

Advertisement sender Just by Master All router in group

Advertisement Timer 1 Second 3 Second

Page 37: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Preemption

37 EngineerAustin.Com

Page 38: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Preemption

38 EngineerAustin.Com

Page 39: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Preemption Interface

Tracking

39

/tool netwatch

add host=1.1.1.1 interval=10s up-script="/interface vrrp set \"vrrp1\" priority=250"

down-script=":if ([/interface vrrp get \"vrrp1\" running])\\\r\ndo={[/interface vrrp set \"vrrp1\"

priority=150]}"

EngineerAustin.Com

Page 40: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

VRRP Load Sharing

40 EngineerAustin.Com

Page 41: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Wiki.Mikrotik.Com

Linux-IP.Net

41

Page 42: First Hob Redundancy Protocols · 2019. 4. 26. · FHRP Protocols 36 EngineerAustin.Com VRRP GLBP Packet Standarad Cisco Proprietary Protocol IP Encapsulation 112 Udp encapsulation

Thank You For Your Attention

42