Virtual Router Redundancy Protocol
Virtual Router Redundancy Protocol
Packet Analyzer
http://www.javvin.com/packet.html
DiskAccess
http://www.javvin.com/diskaccess.html
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
CyberGauge
http://www.javvin.com/CyberGauge.
html
www.networkdictionary.
com
[ Page ]
VRRP April 1998
Packet Analyzer
http://www.javvin.com/packet.html
DiskShare
http://www.javvin.com/diskshare.html
DiskAccess
http://www.javvin.com/diskaccess.html
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
CyberGauge
http://www.javvin.com/CyberGauge.
html
www.networkdictionary.
com
[ Page ]
VRRP April 1998
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
CyberGauge
http://www.javvin.com/CyberGauge.
html
www.networkdictionary.
com
[ Page ]
VRRP April 1998
Running a dynamic routing protocol on every end-host may be infeasible for a number of reasons, includ- Network Security Map
ing administrative overhead, processing overhead, security issues, or lack of a protocol implementation for http://www.javvin.com/securitymap.
some platforms. Neighbor or router discovery protocols may require active participation by all hosts on a html
network, leading to large timer values to reduce protocol overhead in the face of large numbers of hosts. Wireless Communications
This can result in a significant delay in the detection of a lost (i.e., dead) neighbor, which may introduce
unacceptably long "black hole" periods. Technology Map
http://www.javvin.com/wirelessmap.
The use of a statically configured default route is quite popular; it minimizes configuration and processing html
overhead on the end-host and is supported by virtually every IP implementation. This mode of operation Network Protocols Hand-
is likely to persist as dynamic host configuration protocols [DHCP] are deployed, which typically provide book
configuration for an end-host IP address and default gateway. However, this creates a single point of failure. http://www.javvin.com/model.html
Loss of the default router results in a catastrophic event, isolating all end-hosts that are unable to detect any
alternate path that may be available. TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
The Virtual Router Redundancy Protocol (VRRP) is designed to eliminate the single point of failure inher-
ent in the static default routed environment. VRRP specifies an election protocol that dynamically assigns
responsibility for a virtual router to one of the VRRP routers on a LAN. The VRRP router controlling the Ethernet Quick Guide
IP address(es) associated with a virtual router is called the Master, and forwards packets sent to these IP ad- http://www.javvin.com/ethernetguide.
dresses. The election process provides dynamic fail-over in the forwarding responsibility should the Master html
become unavailable. Any of the virtual router's IP addresses on a LAN can then be used as the default first
hop router by end-hosts. The advantage gained from using VRRP is a higher availability default path with- Packet Analyzer
out requiring configuration of dynamic routing or router discovery protocols on every end-host. http://www.javvin.com/packet.html
VRRP provides a function similar to a Cisco Systems, Inc. proprietary protocol named Hot Standby Router DiskShare
Protocol (HSRP) [HSRP] and to a Digital Equipment Corporation, Inc. proprietary protocol named IP http://www.javvin.com/diskshare.html
Standby Protocol [IPSTB].
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", DiskAccess
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be inter- http://www.javvin.com/diskaccess.html
preted as described in [RFC 2119].
LANsurveyor
The IESG/IETF take no position regarding the validity or scope of any intellectual property right or other http://www.javvin.com/LANsurveyor.
rights that might be claimed to pertain to the implementation or use of the technology, or the extent to html
which any license under such rights might or might not be available. See the IETF IPR web page at http://
www.ietf.org/ipr.html for additional information. CyberGauge
http://www.javvin.com/CyberGauge.
html
1.1 Scope
The remainder of this document describes the features, design goals, and theory of operation of VRRP.
Easy Network Service
The message formats, protocol processing rules and state machine that guarantee convergence to a single Monitor
Virtual Router Master are presented. Finally, operational issues related to MAC address mapping, handling http://www.javvin.com/easy.html
of ARP requests, generation of ICMP redirect messages, and security issues are addressed.
Business Card Scanner
http://www.javvin.com/businesscard-
This protocol is intended for use with IPv4 routers only. A separate specification will be produced if it is
scanner.html
decided that similar functionality is desirable in an IPv6 environment.
Color Cards and Picture
1.2 Definitions Scanner
http://www.javvin.com/colorcardscan-
ner.html
VRRP Router A router running the Virtual Router Redundancy Protocol. It may
participate in one or more virtual routers. Portable Document Scan-
ner
Virtual Router An abstract object managed by VRRP that acts as a default router for http://www.javvin.com/portablescan-
hosts on a shared LAN. It consists of a Virtual Router Identifier and a set ner.html
of associated IP address(es) across a common LAN. A VRRP Router may
backup one or more virtual routers.
www.javvin.com
IP Address Owner The VRRP router that has the virtual router's IP address(es) as real www.networkdictionary.
interface address(es). This is the router that, when up, will respond to packets com
[ Page ]
VRRP April 1998
addressed to one of these IP addresses for ICMP pings, TCP connections, Network Dictionary
etc. http://www.javvin.com/networkdiction-
ary.html
Primary IP Address An IP address selected from the set of real interface addresses. One
possible selection algorithm is to always select the first address. VRRP ad- Network Protocols Map
vertisements are always sent using the primary IP address as the source of http://www.javvin.com/map.html
the IP packet.
Virtual Router Master The VRRP router that is assuming the responsibility of forwarding Network Security Map
packets sent to the IP address(es) associated with the virtual router, and http://www.javvin.com/securitymap.
answering ARP requests for these IP addresses. Note that if the IP address html
owner is available, then it will always become the Master. Wireless Communications
Technology Map
Virtual Router Backup The set of VRRP routers available to assume forwarding responsibility for http://www.javvin.com/wirelessmap.
a virtual router should the current Master fail. html
Network Protocols Hand-
2.0 Required Features book
http://www.javvin.com/model.html
This section outlines the set of features that were considered mandatory and that guided the design of
VRRP. TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
2.1 IP Address Backup
Backup of IP addresses is the primary function of the Virtual Router Redundancy Protocol. While pro-
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
viding election of a Virtual Router Master and the additional functionality described below, the protocol
html
should strive to:
of the virtual router MAC address in an extended LAN employing learning bridges can have a significant Network Dictionary
effect on the bandwidth overhead of packets sent to the virtual router. If the virtual router MAC address is http://www.javvin.com/networkdiction-
never used as the source address in a link level frame then the station location is never learned, resulting in ary.html
flooding of all packets sent to the virtual router. To improve the efficiency in this environment the protocol
should: 1) use the virtual router MAC as the source in a packet sent by the Master to trigger station learning; Network Protocols Map
2) trigger a message immediately after transitioning to Master to update the station learning; and 3) trigger http://www.javvin.com/map.html
periodic messages from the Master to maintain the station learning cache.
Network Security Map
3.0 VRRP Overview http://www.javvin.com/securitymap.
html
VRRP specifies an election protocol to provide the virtual router function described earlier. All protocol Wireless Communications
messaging is performed using IP multicast datagrams, thus the protocol can operate over a variety of multi- Technology Map
access LAN technologies supporting IP multicast. Each VRRP virtual router has a single well-known MAC http://www.javvin.com/wirelessmap.
address allocated to it. This document currently only details the mapping to networks using the IEEE 802 html
48-bit MAC address. The virtual router MAC address is used as the source in all periodic VRRP messages
sent by the Master router to enable bridge learning in an extended LAN.
Network Protocols Hand-
book
A virtual router is defined by its virtual router identifier (VRID) and a set of IP addresses. A VRRP router http://www.javvin.com/model.html
may associate a virtual router with its real addresses on an interface, and may also be configured with addi-
tional virtual router mappings and priority for virtual routers it is willing to backup. The mapping between
TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
VRID and addresses must be coordinated among all VRRP routers on a LAN. However, there is no restric-
tion against reusing a VRID with a different address mapping on different LANs. The scope of each virtual
router is restricted to a single LAN.
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
To minimize network traffic, only the Master for each virtual router sends periodic VRRP Advertisement
html
messages. A Backup router will not attempt to pre-empt the Master unless it has higher priority. This
eliminates service disruption unless a more preferred path becomes available. It's also possible to adminis-
tratively prohibit all pre- emption attempts. The only exception is that a VRRP router will always become
Packet Analyzer
http://www.javvin.com/packet.html
Master of any virtual router associated with addresses it owns. If the Master becomes unavailable then the
highest priority Backup will transition to Master after a short delay, providing a controlled transition of the
virtual router responsibility with minimal service interruption. DiskShare
http://www.javvin.com/diskshare.html
VRRP defines three types of authentication providing simple deployment in insecure environments, added
protection against misconfiguration, and strong sender authentication in security conscious environments. DiskAccess
Analysis of the protection provided and vulnerability of each mechanism is deferred to Section 10.0 Se- http://www.javvin.com/diskaccess.html
curity Considerations. In addition new authentication types and data can be defined in the future without
affecting the format of the fixed portion of the protocol packet, thus preserving backward compatible
operation.
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
The VRRP protocol design provides rapid transition from Backup to Master to minimize service interrup-
tion, and incorporates optimizations that reduce protocol complexity while guaranteeing controlled Master
transition for typical operational scenarios. The optimizations result in an election protocol with minimal
CyberGauge
http://www.javvin.com/CyberGauge.
runtime state requirements, minimal active protocol states, and a single message type and sender. The typi-
html
cal operational scenarios are defined to be two redundant routers and/or distinct path preferences among
each router. A side effect when these assumptions are violated (i.e., more than two redundant paths all with
equal preference) is that duplicate packets may be forwarded for a brief period during Master election.
Easy Network Service
However, the typical scenario assumptions are likely to cover the vast majority of deployments, loss of the Monitor
Master router is infrequent, and the expected duration in Master election convergence is quite small ( << http://www.javvin.com/easy.html
1 second ). Thus the VRRP optimizations represent significant simplifications in the protocol design while
incurring an insignificant probability of brief network degradation.
Business Card Scanner
http://www.javvin.com/businesscard-
scanner.html
4. Sample Configurations Color Cards and Picture
Scanner
4.1 Sample Configuration 1 http://www.javvin.com/colorcardscan-
ner.html
The following figure shows a simple network with two VRRP routers implementing one virtual router. Portable Document Scan-
Note that this example is provided to help understand the protocol, but is not expected to occur in actual ner
practice. http://www.javvin.com/portablescan-
ner.html
www.javvin.com
www.networkdictionary.
com
[ Page ]
VRRP April 1998
Network Dictionary
http://www.javvin.com/networkdiction-
ary.html
Note that in this example, IP B is not backed up by the router on the left. IP B is only used by the router on Packet Analyzer
the right as its interface address. In order to backup IP B, a second virtual router would have to be config- http://www.javvin.com/packet.html
ured. This is shown in the next section.
DiskShare
http://www.javvin.com/diskshare.html
4.2 Sample Configuration 2
The following figure shows a configuration with two virtual routers with the hosts spitting their traffic DiskAccess
between them. This example is expected to be very common in actual practice. http://www.javvin.com/diskaccess.html
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
CyberGauge
http://www.javvin.com/CyberGauge.
html
The purpose of the VRRP packet is to communicate to all VRRP routers the priority and the state of the Network Dictionary
Master router associated with the Virtual Router ID. http://www.javvin.com/networkdiction-
ary.html
VRRP packets are sent encapsulated in IP packets. They are sent to the IPv4 multicast address assigned to
VRRP. Network Protocols Map
http://www.javvin.com/map.html
5.1 VRRP Packet Format
Network Security Map
This section defines the format of the VRRP packet and the relevant fields in the IP header. http://www.javvin.com/securitymap.
html
Wireless Communications
Technology Map
http://www.javvin.com/wirelessmap.
html
Network Protocols Hand-
book
http://www.javvin.com/model.html
Packet Analyzer
5.2 IP Field Descriptions http://www.javvin.com/packet.html
This is a link local scope multicast address. Routers MUST NOT forward a datagram with this destination CyberGauge
address regardless of its TTL. http://www.javvin.com/CyberGauge.
html
The type field specifies the type of this VRRP packet. The only packet type defined in this version of the www.networkdictionary.
protocol is: com
[ Page ]
VRRP April 1998
Network Dictionary
1 ADVERTISEMENT http://www.javvin.com/networkdiction-
ary.html
A packet with unknown type MUST be discarded.
Network Protocols Map
5.3.3 Virtual Rtr ID (VRID) http://www.javvin.com/map.html
The Virtual Router Identifier (VRID) field identifies the virtual router this packet is reporting status for. Network Security Map
http://www.javvin.com/securitymap.
html
5.3.4 Priority
Wireless Communications
The priority field specifies the sending VRRP router's priority for the virtual router. Higher values equal Technology Map
higher priority. This field is an 8 bit unsigned integer field. http://www.javvin.com/wirelessmap.
html
The priority value for the VRRP router that owns the IP address(es) associated with the virtual router
MUST be 255 (decimal).
Network Protocols Hand-
book
VRRP routers backing up a virtual router MUST use priority values between 1-254 (decimal). The default http://www.javvin.com/model.html
priority value for VRRP routers backing up a virtual router is 100 (decimal).
TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
The priority value zero (0) has special meaning indicating that the current Master has stopped participating
in VRRP. This is used to trigger Backup routers to quickly transition to Master without having to wait for
the current Master to timeout.
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
5.3.5 Count IP Addrs html
The use of this authentication type means that VRRP protocol exchanges are not authenticated. The con- Easy Network Service
tents of the Authentication Data field should be set to zero on transmission and ignored on reception. Monitor
http://www.javvin.com/easy.html
5.3.6.2 Simple Text Password Business Card Scanner
http://www.javvin.com/businesscard-
The use of this authentication type means that VRRP protocol exchanges are authenticated by a clear text scanner.html
password. The contents of the Authentication Data field should be set to the locally configured password on
transmission. There is no default password. The receiver MUST check that the Authentication Data in the
Color Cards and Picture
packet matches its configured authentication string. Packets that do not match MUST be discarded. Scanner
http://www.javvin.com/colorcardscan-
Note that there are security implications to using Simple Text password authentication, and one should see ner.html
the Security Consideration section of this document. Portable Document Scan-
ner
5.3.6.3 IP Authentication Header http://www.javvin.com/portablescan-
ner.html
The use of this authentication type means the VRRP protocol exchanges are authenticated using the mecha- www.javvin.com
nisms defined by the IP Authentication Header [AUTH] using "The Use of HMAC-MD5-96 within ESP
and AH" [HMAC]. Keys may be either configured manually or via a key distribution protocol.
www.networkdictionary.
If a packet is received that does not pass the authentication check due to a missing authentication header com
[ Page 10 ]
VRRP April 1998
or incorrect message digest, then the packet MUST be discarded. The contents of the Authentication Data Network Dictionary
field should be set to zero on transmission and ignored on reception. http://www.javvin.com/networkdiction-
ary.html
5.3.7 Advertisement Interval (Adver Int)
Network Protocols Map
The Advertisement interval indicates the time interval (in seconds) between ADVERTISEMENTS. The http://www.javvin.com/map.html
default is 1 second. This field is used for troubleshooting misconfigured routers.
Network Security Map
http://www.javvin.com/securitymap.
5.3.8 Checksum html
The checksum field is used to detect data corruption in the VRRP message. Wireless Communications
Technology Map
The checksum is the 16-bit one's complement of the one's complement sum of the entire VRRP message http://www.javvin.com/wirelessmap.
starting with the version field. For computing the checksum, the checksum field is set to zero. html
Network Protocols Hand-
5.3.9 IP Address(es) book
http://www.javvin.com/model.html
One or more IP addresses that are associated with the virtual router. The number of addresses included is
specified in the "Count IP Addrs" field. These fields are used for troubleshooting misconfigured routers. TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
5.3.10 Authentication Data
Ethernet Quick Guide
The authentication string is currently only utilized for simple text authentication, similar to the simple http://www.javvin.com/ethernetguide.
text authentication found in the Open Shortest Path First routing protocol [OSPF]. It is up to 8 characters html
of plain text. If the configured authentication string is shorter than 8 bytes, the remaining space MUST
be zero-filled. Any VRRP packet received with an authentication string that does not match the locally Packet Analyzer
configured authentication string MUST be discarded. The authentication string is unique on a per interface http://www.javvin.com/packet.html
basis.
Authentication_Type Type of authentication being used. Values are defined in section 5.3.6. CyberGauge
http://www.javvin.com/CyberGauge.
Authentication_Data Authentication data specific to the Authentication_Type being used. html
Network Dictionary
Master_Down_Interval Time interval for Backup to declare Master down (seconds). Calculated as: http://www.javvin.com/networkdiction-
ary.html
(3 * Advertisement_Interval) + Skew_time
Network Protocols Map
Preempt_Mode Controls whether a higher priority Backup router preempts a lower http://www.javvin.com/map.html
priority Master. Values are True to allow preemption and False to not pro-
hibit preemption. Default is True.
Network Security Map
Note: Exception is that the router that owns the IP address(es) associated http://www.javvin.com/securitymap.
with the virtual router always pre-empts independent of the setting of this html
flag. Wireless Communications
Technology Map
6.2 Timers http://www.javvin.com/wirelessmap.
html
Master_Down_Timer Timer that fires when ADVERTISEMENT has not been heard for Network Protocols Hand-
Master_Down_Interval. book
http://www.javvin.com/model.html
Adver_Timer Timer that fires to trigger sending of ADVERTISEMENT based on
Advertisement_Interval. TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
6.3 State Transition Diagram
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
html
Packet Analyzer
http://www.javvin.com/packet.html
DiskShare
http://www.javvin.com/diskshare.html
DiskAccess
http://www.javvin.com/diskaccess.html
A VRRP router implements an instance of the state machine for each virtual router election it is participat- CyberGauge
ing in. http://www.javvin.com/CyberGauge.
html
The purpose of the {Backup} state is to monitor the availability and state of the Master Router. Network Dictionary
http://www.javvin.com/networkdiction-
While in this state, a VRRP router MUST do the following: ary.html
- MUST NOT respond to ARP requests for the IP address(s) associated with the virtual router. Network Protocols Map
http://www.javvin.com/map.html
- MUST discard packets with a destination link layer MAC address equal to the virtual router MAC
address.
Network Security Map
- MUST NOT accept packets addressed to the IP address(es) associated with the virtual router. http://www.javvin.com/securitymap.
html
- If a Shutdown event is received, then: Wireless Communications
Technology Map
- If a Shutdown event is received, then: http://www.javvin.com/wirelessmap.
html
o Cancel the Master_Down_Timer
o Transition to the {Initialize} state
Network Protocols Hand-
book
endif http://www.javvin.com/model.html
endif
Packet Analyzer
http://www.javvin.com/packet.html
- If an ADVERTISEMENT is received, then:
DiskShare
If the Priority in the ADVERTISEMENT is Zero, then: http://www.javvin.com/diskshare.html
- MUST accept packets addressed to the IP address(es) associated with the virtual router if it is the Network Dictionary
IP address owner. http://www.javvin.com/networkdiction-
ary.html
- If a Shutdown event is received, then:
Network Protocols Map
o Cancel the Adver_Timer http://www.javvin.com/map.html
o Send an ADVERTISEMENT with Priority = 0
o Transition to the {Initialize} state
Network Security Map
endif http://www.javvin.com/securitymap.
html
- If the Adver_Timer fires, then: Wireless Communications
Technology Map
o Send an ADVERTISEMENT http://www.javvin.com/wirelessmap.
o Reset the Adver_Timer to Advertisement_Interval html
endif
Network Protocols Hand-
book
- If an ADVERTISEMENT is received, then: http://www.javvin.com/model.html
o Discard ADVERTISEMENT
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
endif
endif
endif
CyberGauge
http://www.javvin.com/CyberGauge.
html
7. Sending and Receiving VRRP Packets Easy Network Service
Monitor
7.1 Receiving VRRP Packets http://www.javvin.com/easy.html
Performed the following functions when a VRRP packet is received: Business Card Scanner
http://www.javvin.com/businesscard-
- MUST verify that the IP TTL is 255. scanner.html
- MUST verify the VRRP version Color Cards and Picture
- MUST verify that the received packet length is greater than or equal to the VRRP header
- MUST verify the VRRP checksum Scanner
- MUST perform authentication specified by Auth Type http://www.javvin.com/colorcardscan-
ner.html
If any one of the above checks fails, the receiver MUST discard the packet, SHOULD log the event and Portable Document Scan-
MAY indicate via network management that an error occurred. ner
http://www.javvin.com/portablescan-
- MUST verify that the VRID is valid on the receiving interface ner.html
If the above check fails, the receiver MUST discard the packet. www.javvin.com
- MAY verify that the IP address(es) associated with the VRID are valid www.networkdictionary.
com
[ Page 14 ]
VRRP April 1998
If the above check fails, the receiver SHOULD log the event and MAY indicate via network management Network Dictionary
that a misconfiguration was detected. If the packet was not generated by the address owner (Priority does http://www.javvin.com/networkdiction-
not equal 255 (decimal)), the receiver MUST drop the packet, otherwise continue processing. ary.html
- MUST verify that the Adver Interval in the packet is the same as the locally configured for this virtual Network Protocols Map
router http://www.javvin.com/map.html
If the above check fails, the receiver MUST discard the packet, SHOULD log the event and MAY indicate
via network management that a misconfiguration was detected. Network Security Map
http://www.javvin.com/securitymap.
html
7.2 Transmitting VRRP Packets Wireless Communications
The following operations MUST be performed when transmitting a VRRP packet. Technology Map
http://www.javvin.com/wirelessmap.
- Fill in the VRRP packet fields with the appropriate virtual router configuration state html
- Compute the VRRP checksum Network Protocols Hand-
- Set the source MAC address to Virtual Router MAC Address book
- Set the source IP address to interface primary IP address http://www.javvin.com/model.html
- Set the IP protocol to VRRP
- Send the VRRP packet to the VRRP IP multicast group TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
Note: VRRP packets are transmitted with the virtual router MAC address as the source MAC address to
ensure that learning bridges correctly determine the LAN segment the virtual router is attached to.
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
7.3 Virtual Router MAC Address html
The virtual router MAC address associated with a virtual router is an IEEE 802 MAC Address in the fol-
lowing format:
Packet Analyzer
http://www.javvin.com/packet.html
00-00-5E-00-01-{VRID} (in hex in internet standard bit-order)
DiskShare
The first three octets are derived from the IANA's OUI. The next two octets (00-01) indicate the address http://www.javvin.com/diskshare.html
block assigned to the VRRP protocol. {VRID} is the VRRP Virtual Router Identifier. This mapping pro-
vides for up to 255 VRRP routers on a network. DiskAccess
http://www.javvin.com/diskaccess.html
ICMP Redirects may be used normally when VRRP is running between a group of routers. This allows CyberGauge
VRRP to be used in environments where the topology is not symmetric. http://www.javvin.com/CyberGauge.
html
The IP source address of an ICMP redirect should be the address the end host used when making its next
hop routing decision. If a VRRP router is acting as Master for virtual router(s) containing addresses it does Easy Network Service
not own, then it must determine which virtual router the packet was sent to when selecting the redirect Monitor
source address. One method to deduce the virtual router used is to examine the destination MAC address http://www.javvin.com/easy.html
in the packet that triggered the redirect.
Business Card Scanner
It may be useful to disable Redirects for specific cases where VRRP is being used to load share traffic be- http://www.javvin.com/businesscard-
tween a number of routers in a symmetric topology. scanner.html
Color Cards and Picture
8.2 Host ARP Requests Scanner
http://www.javvin.com/colorcardscan-
When a host sends an ARP request for one of the virtual router IP addresses, the Master virtual router ner.html
MUST respond to the ARP request with the virtual MAC address for the virtual router. The Master virtual Portable Document Scan-
router MUST NOT respond with its physical MAC address. This allows the client to always use the same
MAC address regardless of the current Master router. ner
http://www.javvin.com/portablescan-
When a VRRP router restarts or boots, it SHOULD not send any ARP messages with its physical MAC ner.html
address for the IP address it owns, it should only send ARP messages that include Virtual MAC addresses. www.javvin.com
This may entail:
www.networkdictionary.
- When configuring an interface, VRRP routers should broadcast a gratuitous ARP request containing
com
[ Page 15 ]
VRRP April 1998
the virtual router MAC address for each IP address on that interface. Network Dictionary
http://www.javvin.com/networkdiction-
- At system boot, when initializing interfaces for VRRP operation; delay gratuitous ARP requests and ary.html
ARP responses until both the IP address and the virtual router MAC address are configured.
Network Protocols Map
8.3 Proxy ARP http://www.javvin.com/map.html
If Proxy ARP is to be used on a VRRP router, then the VRRP router must advertise the Virtual Router MAC Network Security Map
address in the Proxy ARP message. Doing otherwise could cause hosts to learn the real MAC address of http://www.javvin.com/securitymap.
the VRRP router. html
Wireless Communications
9. Operation over FDDI and Token Ring Technology Map
http://www.javvin.com/wirelessmap.
html
9.1 Operation over FDDI Network Protocols Hand-
FDDI interfaces remove from the FDDI ring frames that have a source MAC address matching the device's book
hardware address. Under some conditions, such as router isolations, ring failures, protocol transitions, http://www.javvin.com/model.html
etc., VRRP may cause there to be more than one Master router. If a Master router installs the virtual router
MAC address as the hardware address on a FDDI device, then other Masters' ADVERTISEMENTS will be
TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
removed from the ring during the Master convergence, and convergence will fail.
To avoid this an implementation SHOULD configure the virtual router MAC address by adding a unicast
MAC filter in the FDDI device, rather than changing its hardware MAC address. This will prevent a Master
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
router from removing any ADVERTISEMENTS it did not originate.
html
Or more succinctly, octets 3 and 4 of the functional address are equal to (0x4000 >> (VRID - 1)) in non- Network Protocols Map
canonical format. http://www.javvin.com/map.html
Since a functional address cannot be used used as a MAC level source address, the real MAC address is
used as the MAC source address in VRRP advertisements. This is not a problem for bridges since packets Network Security Map
addressed to functional addresses will be sent on the spanning-tree explorer path [802.1D]. http://www.javvin.com/securitymap.
html
The functional address mode of operation MUST be implemented by routers supporting VRRP on token Wireless Communications
ring. Technology Map
http://www.javvin.com/wirelessmap.
Additionally, routers MAY support unicast mode of operation to take advantage of newer token ring adapt- html
er implementations which support non-promiscuous reception for multiple unicast MAC addresses and
to avoid both the multicast traffic and usage conflicts associated with the use of token ring functional ad-
Network Protocols Hand-
dresses. Unicast mode uses the same mapping of VRIDs to virtual MAC addresses as Ethernet. However, book
one important difference exists. ARP request/reply packets contain the virtual MAC address as the source http://www.javvin.com/model.html
MAC address. The reason for this is that some token ring driver implementations keep a cache of MAC ad-
dress/source routing information independent of the ARP cache. Hence, these implementations need have
TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
to receive a packet with the virtual MAC address as the source address in order to transmit to that MAC
address in a source-route bridged network.
Unicast mode on token ring has one limitation which should be considered. If there are VRID routers on
Ethernet Quick Guide
http://www.javvin.com/ethernetguide.
different source-route bridge segments and there are host implementations which keep their source-route
html
information in the ARP cache and do not listen to gratuitous ARPs, these hosts will not update their ARP
source-route information correctly when a switch-over occurs. The only possible solution is to put all
routers with the same VRID on the same source- bridge segment and use techniques to prevent that bridge
Packet Analyzer
http://www.javvin.com/packet.html
segment from being a single point of failure. These techniques are beyond the scope this document.
For both the multicast and unicast mode of operation, VRRP advertisements sent to 224.0.0.18 should be DiskShare
encapsulated as described in [RFC1469]. http://www.javvin.com/diskshare.html
DiskAccess
10. Security Considerations http://www.javvin.com/diskaccess.html
VRRP is designed for a range of internetworking environments that may employ different security poli-
cies. The protocol includes several authentication methods ranging from no authentication, simple clear
LANsurveyor
http://www.javvin.com/LANsurveyor.
text passwords, and strong authentication using IP Authentication with MD5 HMAC. The details on each
html
approach including possible attacks and recommended environments follows.
Independent of any authentication type VRRP includes a mechanism (setting TTL=255, checking on re-
CyberGauge
http://www.javvin.com/CyberGauge.
ceipt) that protects against VRRP packets being injected from another remote network. This limits most
html
vulnerabilities to local attacks.
Easy Network Service
10.1 No Authentication Monitor
http://www.javvin.com/easy.html
The use of this authentication type means that VRRP protocol exchanges are not authenticated. This type of
authentication SHOULD only be used in environments were there is minimal security risk and little chance Business Card Scanner
for configuration errors (e.g., two VRRP routers on a LAN). http://www.javvin.com/businesscard-
scanner.html
10.2 Simple Text Password Color Cards and Picture
Scanner
The use of this authentication type means that VRRP protocol exchanges are authenticated by a simple http://www.javvin.com/colorcardscan-
clear text password. ner.html
This type of authentication is useful to protect against accidental misconfiguration of routers on a LAN.
Portable Document Scan-
It protects against routers inadvertently backing up another router. A new router must first be configured ner
with the correct password before it can run VRRP with another router. This type of authentication does not http://www.javvin.com/portablescan-
protect against hostile attacks where the password can be learned by a node snooping VRRP packets on the ner.html
LAN. The Simple Text Authentication combined with the TTL check makes it difficult for a VRRP packet www.javvin.com
to be sent from another LAN to disrupt VRRP operation.
www.networkdictionary.
This type of authentication is RECOMMENDED when there is minimal risk of nodes on a LAN actively
com
[ Page 17 ]
VRRP April 1998
disrupting VRRP operation. If this type of authentication is used the user should be aware that this clear text Network Dictionary
password is sent frequently, and therefore should not be the same as any security significant password. http://www.javvin.com/networkdiction-
ary.html
10.3 IP Authentication Header
Network Protocols Map
The use of this authentication type means the VRRP protocol exchanges are authenticated using the mecha- http://www.javvin.com/map.html
nisms defined by the IP Authentication Header [AUTH] using "The Use of HMAC-MD5-96 within ESP
and AH", [HMAC]. This provides strong protection against configuration errors, replay attacks, and packet Network Security Map
corruption/modification. http://www.javvin.com/securitymap.
html
This type of authentication is RECOMMENDED when there is limited control over the administration of Wireless Communications
nodes on a LAN. While this type of authentication does protect the operation of VRRP, there are other types
of attacks that may be employed on shared media links (e.g., generation of bogus ARP replies) which are Technology Map
independent from VRRP and are not protected. http://www.javvin.com/wirelessmap.
html
Network Protocols Hand-
11. Acknowledgments book
http://www.javvin.com/model.html
The authors would like to thank Glen Zorn, and Michael Lane, Clark Bremer, Hal Peterson, Tony Li, Bar-
bara Denny, Joel Halpern, Steve Bellovin, and Thomas Narten for their comments and suggestions. TCP/IP Quick Guide
http://www.javvin.com/tcpipguide.html
12. References
Ethernet Quick Guide
[802.1D] International Standard ISO/IEC 10038: 1993, ANSI/IEEE Std 802.1D, 1993 edition. http://www.javvin.com/ethernetguide.
html
[AUTH] Kent, S., and R. Atkinson, "IP Authentication Header", Work in Progress.
Packet Analyzer
[DISC] Deering, S., "ICMP Router Discovery Messages", RFC 1256, September 1991. http://www.javvin.com/packet.html
[DHCP] Droms, R., "Dynamic Host Configuration Protocol", RFC 2131, March 1997. DiskShare
http://www.javvin.com/diskshare.html
[HMAC] Madson, C., and R. Glenn, "The Use of HMAC-MD5-96 within ESP and AH", Work in Prog-
ress.
DiskAccess
[HSRP] Li, T., Cole, B., Morton, P., and D. Li, "Cisco Hot Standby Router Protocol (HSRP)", RFC 2281, http://www.javvin.com/diskaccess.html
March 1998.
LANsurveyor
[IPSTB] Higginson, P., M. Shand, "Development of Router Clusters to Provide Fast Failover in IP Net- http://www.javvin.com/LANsurveyor.
works", Digital Technical Journal, Volume 9 Number 3, Winter 1997. html
[IPX] Novell Incorporated., "IPX Router Specification", Version 1.10, October 1992. CyberGauge
http://www.javvin.com/CyberGauge.
[OSPF] Moy, J., "OSPF Version 2", STD 54, RFC 2328, April 1998. html
[RIP] Hedrick, C., "Routing Information Protocol", RFC 1058, June 1988. Easy Network Service
Monitor
[RFC1469] Pusateri, T., "IP over Token Ring LANs", RFC 1469, June 1993. http://www.javvin.com/easy.html
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, Business Card Scanner
March 1997. http://www.javvin.com/businesscard-
scanner.html
[TKARCH] IBM Token-Ring Network, Architecture Reference, Publication SC30-3374-02, Third Edition, Color Cards and Picture
(September, 1989).
Scanner
http://www.javvin.com/colorcardscan-
13. Authors' Addresses ner.html
Portable Document Scan-
Steven Knight Phone: +1 612 943-8990 ner
Ascend Communications EMail: [email protected] http://www.javvin.com/portablescan-
High Performance Network Division ner.html
10250 Valley View Road, Suite 113
Eden Prairie, MN USA 55344 www.javvin.com
USA
www.networkdictionary.
Douglas Weaver Phone: +1 612 943-8990 com
[ Page 18 ]
VRRP April 1998
Network Dictionary
The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its http://www.javvin.com/networkdiction-
successors or assigns. ary.html
This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET Network Protocols Map
SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, http://www.javvin.com/map.html
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE
OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WAR-
RANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Network Security Map
http://www.javvin.com/securitymap.
html
Wireless Communications
Technology Map
http://www.javvin.com/wirelessmap.
html
Network Protocols Hand-
book
http://www.javvin.com/model.html
Packet Analyzer
http://www.javvin.com/packet.html
DiskShare
http://www.javvin.com/diskshare.html
DiskAccess
http://www.javvin.com/diskaccess.html
LANsurveyor
http://www.javvin.com/LANsurveyor.
html
CyberGauge
http://www.javvin.com/CyberGauge.
html
www.networkdictionary.
com
[ Page 20 ]