Virtual Router Redundancy Protocol (VRRP) configureren voor IPv6-clients op DELL EMC Networking OS10 switches
Summary: Virtual Router Redundancy Protocol (VRRP) configureren voor IPv6-clients op DELL EMC Networking OS10 switches
Symptoms
Inhoudsopgave
Wat is VRRP-vereiste
Configuratievoorbeeld
IPv6 VRRP-installatietopologie
Voorbeelduitvoer
Controleer of VRRP werkt.
Wat is VRRP?
Met VRRP kunnen we virtuele routers configureren vanaf groepen fysieke routers/laag drie switches op een LAN. Deze virtuele routeringsplatforms vormen primaire en back-upparen. VRRP helpt ons om een enkel punt van storing van een router/laag drie switches in het netwerk te voorkomen.
Vereiste
OS10 heeft standaard VRRP versie 2. We moeten VRRP versie 3 configureren op switches om IPv6 te ondersteunen. Het wijzigen van de VRRP-versie in een switch moet worden uitgevoerd met de juiste planning. Klik hier voor meer informatie over VRRP versie 3
Configuratie
| Opdracht | Doel |
| OS10-Switch1# terminal configureren | Open de configuratiemodus |
| OS10-Switch1(config)# vrrp versie 3 | Een VRRP-versie voor het systeem configureren |
| OS10-Switch1(config)# interface vlan <ID>/Interface <Port> | Vlan/interface configureren |
| OS10-Switch1(conf-if-XX-X)# ipv6-adres <IPv6> | IPv6 IP-adres configureren |
| OS10-Switch1(conf-if-XX-X)# vrrp-ipv6-group <ID> | Voer een VRRP-groepsidentificatienummer in (1 tot 255) |
| OS10-Switch1(conf-XX-vrid-v6-Y)# virtueel-adres <IPv6-adres> | Configureert IPv6-adressen virtuele router |
| OS10-Switch1(conf-XX-vrid-v6-Y)# prioriteit <> | Stel een virtuele router met prioriteitswaarde <1 - 254 in, standaard 100> (optioneel) |
| OS10-Switch1(conf-XX-vrid-v6-Y)# interval voor reclame-interval <> | Wijzig de advertentie-intervalinstelling <value centiseconds: 25 - 4075, standaard 100> (optioneel) |
Voorbeeld van VRRP IPv6-installatie
Als u de configuratie van VRRP wilt demonstreren, kunt u een voorbeeldtopologie gebruiken.
Het IPv6-adres is geconfigureerd in vlan 1 op beide VRRP-peers.
IPv6-adres op vlan 1 in Switch 1: 1000::1/64
IPv6-adres op vlan 1 in Switch 2: 1000::2/64
IPv6 Virtueel adres van VRRP: 1000::1000
VRRP prioriteit op switch 1: 150
VRRP-prioriteit op switch 2: 200 =>Dit zorgt ervoor dat switch 2 wordt gekozen als primair.
Het Switch 1 Vlan 1 IPv6-adres kan pingen naar switch 2 Vlan 1 IPv6-adres
Topologie

Cause
Voorbeeldconfiguratie
OS10-Switch1
OS10-Switch1# configure terminal
OS10-Switch1(config)# vrrp version 3
OS10-Switch1(config)# interface vlan 1
OS10-Switch1(conf-if-vl-1)# ipv6 address 1000::1/64
OS10-Switch1(conf-if-vl-1)# vrrp-ipv6-group 1
OS10-Switch1(conf-vlan1-vrid-v6-1)# virtual-address 1000::1000
OS10-Switch1(conf-vlan1-vrid-v6-1)# priority 150
OS10-Switch1# show running-configuration interface vlan 1
!
interface vlan1
no shutdown
ipv6 address 1000::1/64
!
vrrp-ipv6-group 1
priority 150
virtual-address 1000::1000
OS10-Switch2
OS10-Switch2# configure terminal
OS10-Switch2(config)# vrrp version 3
OS10-Switch2(config)# interface vlan 1
OS10-Switch2(conf-if-vl-1)# ipv6 address 1000::2/64
OS10-Switch2(conf-if-vl-1)# vrrp-ipv6-group 1
OS10-Switch2(conf-vlan1-vrid-v6-1)# virtual-address 1000::1000
OS10-Switch2(conf-vlan1-vrid-v6-1)# priority 200
OS10-Switch2# show running-configuration interface vlan 1
!
interface vlan1
no shutdown
ipv6 address 1000::2/64
!
vrrp-ipv6-groep 1
prioriteit 200
virtueel adres 1000::1000
Resolution
Controleer of VRRP werkt
Gebruik de opdracht show vrrp brief en show vrrp ipv6 <VRRP ID>om te controleren of VRRP werkt zoals verwacht
OS10-Switch1

OS10-Switch2
