Specifying An Ip Address For A Virtual Router; Configuring The Advertisement Interval - Alcatel-Lucent OmniSwitch 9900 Series Network Configuration Manual

Omniswitch aos release 8
Table of Contents

Advertisement

Configuring VRRP

Specifying an IP Address for a Virtual Router

An IP address must be specified before a virtual router may be enabled. There are two
address
command options for specifying an IP address for a virtual router:
vrrp address—specifies an IPv4 address for a VRRPv2 virtual router.
vrrp3 address—specifies an IPv6 address for a VRRPv3 virtual router.
A VRRPv3 virtual router must have a link local address. By default, the virtual router link local address is
created based on the virtual router MAC address and it does not need to be configured. Additional IPv4 or
IPv6 addresses can be configured for a VRRPv2 or VRRPv3 virtual router but these addresses must be
within the subnet of an address configured on the VLAN IPv4 or IPv6 interface.
For example, the following commands specify an IPv4 address for VRRPv2 virtual router 6 on VLAN 4
and an IPv6 address for VRRPv3 virtual router 10 on VLAN 5:
-> vrrp 6 4 address 10.10.2.3
-> vrrp 6 4 admin-state enable
-> vrrp3 10 5 address 213:100:1::56
-> vrrp3 10 5 admin-state enable
In this example, the VRRPv2 and VRRPv3 virtual routers are administratively enabled after the IP address
is assigned.
Note that if a virtual router is to be the IP address owner, then all addresses on the virtual router must
match an address on the switch interface. This includes the VRRPv3 virtual router's link local address. In
other words, a virtual router can not be the IPv6 address owner if its link local address does not match the
interface link local address.
To remove an IP address from a virtual router, use the no form of the vrrp address or vrrp3 address
command option. For example:
-> vrrp 6 4 admin-state disable
-> vrrp 6 4 no address 10.10.2.3
-> vrrp3 10 5 admin-state disable
-> vrrp3 10 5 no address 213:100:1::56
In this example, VRRPv2 virtual router 6 and VRRPv3 virtual router 10 are disabled. (A virtual router
must be disabled before IP addresses may be added or removed from the router.)
IPv4 address 10.10.2.3 is then removed from the virtual router with the no form of the vrrp address
command, and IPv6 address 213:100:1::56 is then removed from the virtual router with the no form of the
vrrp3 address command.

Configuring the Advertisement Interval

The advertisement interval is configurable, but all virtual routers with the same VRID must be configured
with the same value. If the advertisement interval is set differently for a master router and a backup router,
VRRPv2 and VRRPv3 packets may get dropped because the newly configured interval does not match the
interval indicated in the packet. When this occurs, the VRRPv2 and VRRPv3 virtual router behavior is as
follows:
The backup VRRPv2 router will then take over and send a gratuitous ARP
router IPv4 address and the virtual router MAC address. In addition to creating duplicate IPv4/MAC
OmniSwitch AOS Release 8 Network Configuration Guide
VRRP Configuration Overview
,
December 2017
vrrp|vrrp3
which includes the virtual
page 23-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents