docs: better docs, mv doxygen to sphinx
[vpp.git] / docs / developer / corefeatures / fib / prefixes.rst
1 .. _prefixes:
2
3 Prefixes
4 ^^^^^^^^
5
6 Some nomenclature used to describe prefixes:
7
8 * 1.1.1.1 This is an address since it has no associated mask
9 * 1.1.1.0/24 This is a prefix.
10 * 1.1.1.1/32 This is a host prefix (the mask length is the size of the address).
11
12 Prefix A is more specific than B if its mask length is longer, and less specific if
13 the mask is shorter. For example, 1.1.1.0/28 is more specific than 1.1.1.0/24. A
14 less specific prefix that overlaps with a more specific is the **covering** prefix.
15 For example, 1.1.1.0/24 is the covering prefix for 1.1.1.0/28 and 1.1.1.0/28 is termed
16 the **covered** prefix. A covering prefix is therefore always less specific than its
17 covered prefixes.