• Home
  • InfoBase
  • Dictionaries
  • Member
  • News
  • 中文网站
     Advanced Search
    Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

    VRRP: Virtual Router Redundancy Protocol

    Virtual Router Redundancy Protocol (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 IP address(es) associated with a virtual router is called the Master, and forwards packets sent to these IP addresses. The election process provides dynamic fail over in the forwarding responsibility should the Master become unavailable. This allows any of the virtual router IP addresses on the LAN to be used as the default first hop router by end-hosts. The advantage of using VRRP is a higher availability default path without requiring configuration of dynamic routing or router discovery protocols on every end-host. VRRP packets are sent encapsulated in IP packets.

    Using VRRP, a virtual IP address can be specified manually or with Dynamic Host Configuration Protocol (DHCP) as a default. A virtual IP address is shared among the routers, with one designated as the master router and the others as backups. In case, the master fails, the virtual IP address is mapped to a backup router"s IP address. (This backup becomes the master router.) VRRP can also be used for load balancing. VRRP is part of both IPv4 and IPv6.

    Protocol Structure

    IMAP4 key commands:

    4 bits 8 bits 16 bits 24 bits 32 bits
    Version Type Virtual Rtr ID Priority Count IP Addrs
    Auth Type Advet Int Checksum
    IP Address 1
    ......
    IP Address n
    Authentication Data 1
    Authentication Data 2
    • Version -- The version field specifies the VRRP protocol version of this packet. This version is version 2.
    • Type -- The type field specifies the type of this VRRP packet. The only packet type defined in this version of the protocol is: 1 ADVERTISEMENT.
    • Virtual Rtr ID -- The Virtual Router Identifier (VRID) field identifies the virtual router this packet is reporting status for.
    • Priority -- Specifies the sending VRRP router"s priority for the virtual router. VRRP routers backing up a virtual router MUST use priority values between 1-254 (decimal).
    • Count IP Addresses --The number of IP addresses contained in this VRRP advertisement.
    • Auth Type -- Identifies the authentication method being utilized.
    • Advertisement Interval -- Indicates the time interval (in seconds) between advertisements.
    • Checksum C used to detect data corruption in the VRRP message.
    • IP Address(es) -- 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.
    • Authentication Data -- The authentication string is currently only utilized for simple text authentication, similar to the simple text authentication found in the Open Shortest Path First routing protocol (OSPF). It is up to 8 characters of plain text.

    Related Terms: IP, IPv6, DHCP

    Sponsor Source: VRRP is defined by IETF (http://www.ietf.org) RFC2338.

    Reference: http://www.javvin.com/protocol/rfc2338.pdf: VRRP Specification

    Reply

    The content of this field is kept private and will not be shown publicly.
    • Use <!--pagebreak--> to create page breaks.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <!--pagebreak--> <img> <br> <table> <tr> <td> <tbody> <p>
    • Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.
    16 + 3 =
    Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.