Extreme Networks: VRRP Grundlagen

VRRP steht für Virtual Router Redundancy Protocol und ermöglicht redundantes Routing. Damit entfällt die Notwendigkeit ein Default Gateway für ein Netzwerk umzukonfigurieren, wenn das aktuelle Gateway nicht erreichbar sein sollte.

VRRP Master Election: (Wahl des VRRP Master)

Die Wahl der VRRP Masters erfolgt (u.A.) beim Start des VRRP.

Der Master wird anhand dieser Kriterien gewählt:

  • VRRP Priority – die ist eine benutzerspezifische Angabe zwischen 1-254, höhere Zahl gleicht höherer Priorität.
    – 255 ist reserviert für Router, der mit der VRRP Router IP Adresse konfiguriert ist.- 0 ist reserviert für den Master Router und indiziert, dass der Router sich nicht mehr als Master verantwortlich fühlt.

Ein neuer Master wird festgelegt wenn

  • VRRP auf dem Master disabled wurde
  • wenn sich Master und Backup Router nicht unterhalten können

Wenn das VRRP auf dem Master Interface disabeld wird, sendet der Master Router ein VRRP Advertisment mit der PRIO 0, als Zeichen, dass die Backup Router nicht auf den Ablauf des Timeouts warten und SOFORT einen neuen Master wählen sollten.

VRRP Master Preemtion:

Dies ist ein Feature, das es einem VRRP Router mit einer höheren VRRP Priorität erlaubt die Funktion vom einem Master Router mit einer niedrigeren Priorität zu übernehmen.

Zum Vergleich:

Die Wahl der VRRP Masters erfolgt

  • beim Start des VRRP oder
  • wenn der Master nicht erreichbar ist

Die Wahl der VRRP Preemtion erfolgt

  • wenn ein neuer VRRP Router dem Netzwerk hinzugefügt wurde und dieser Router eine höhere Priorität als des aktuelle VRRP Master.

Praktisch gesehen ist dieses Featuere nützlich,

  • wenn eine VRRP Router ausfällt,
  • ein anderer übernimmt
  • und der ausgefallene wieder anfängt zu arbeiten

Man kann dadurch erreichen, dass nach der Wiederherstellung des ausgefallenen Routers wieder die Ausgangssitualion hergestellt wird.

VRRP Richtlinien

  •  VRRP packets are encapsulated IP packets.
  • The VRRP multicast address is 224.0.0.18.
  • The VRRP router MAC address is 00 00 5E 00 01 <vrid>
  • Duplicate VRIDs are allowed on the router but not on the same IP interface or VLAN.
  • The maximum number of supported VRIDs per interface is seven.
  • An interconnect link between VRRP routers should not be used, except when VRRP routers have hosts directly attached.
  • A maximum of 128 VRID instances are supported on the router.
  • Up to seven unique VRIDs can be configured on the router. VRIDs can be re-used, but not on the same interface.
  • VRRP and the Spanning Tree Protocol (STP) can be simultaneously enabled on the same switch.
  • When VRRP and BOOTP/DHCP relay are both enabled on the switch, the relayed BOOTP agent IP address is the actual switch IP address, not the virtual IP address
  • Extreme Networks does not recommend simultaneously enabling VRRP and ESRP on the same switch.
  • Do not configure VRRP and ESRP on the same VLAN or port. This configuration is not allowed or supported.
  • It is possible to assign multiple virtual IP addresses to the same VRID for a VRRP VR. In this case, you must meet the following conditions:
    – Multiple virtual IP addresses must be on the same subnet.
    – The switch cannot own any of the multiple IP addresses.