calin radoni's humble web presence

homedocstoolboxabout

GARP, GVRP, GMRP

Table of Contents

Description

GARP stands for Generic Attribute Registration Protocol.
GMRP stands for GARP Multicast Registration Protocol.
GVRP stands for GARP VLAN Registration Protocol.
The purpose of these protocols is detailed and explained in IEEE's standard 802.1D. Because this standard is provided free for download there is no meaning to further describe the protocols here.

Packet format

          GARP packet structure
     -----------------------------------------------------------------------
    | Protocol ID | Message 1 | Message 2 |     | Message N |   End mark    |
    |   2 bytes   | variable  | variable  | ... | variable  | 1 byte (0x00) |
     -----------------------------------------------------------------------

          Message structure
     ---------------------------------
    | Attribute Type | Attribute List |
    |     1 byte     |    variable    |
     ---------------------------------

          Attribute list structure
     ---------------------------------------------------------------
    | Attribute 1 | Attribute 2 |     | Attribute N |   End mark    |
    |   variable  |   variable  | ... |   variable  | 1 byte (0x00) |
     ---------------------------------------------------------------

          Attribute structure
     ----------------------------
    | Length |  Event |  Value   |
    | 1 byte | 1 byte | variable |
     ----------------------------
        

Events are as follow:

This document is far from beeing complete, more informations are (as I have previously mentioned) in IEEE's standard 802.1D.

History

Copyright and License

This document is copyrighted (c) 2006 by Calin Radoni. Permission is granted to copy and/or distribute this document.

Disclaimer

No liability for the contents of this document can be accepted. Use the concepts, examples and information at your own risk. There may be errors and inaccuracies that could be damaging to your system. Proceed with caution, the author do not take any responsibility.

All copyrights are held by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.


Copyright © 2005 - 2009 Calin Radoni Hosted on http://www.oocities.org/calinradoni Last page modification is 20 December 2006