Route Distinguisher and Route Target
Route Distinguisher
A Route Distinguisher is a unique prefix added to a customer's destination address to distinguish advertisements that might otherwise look the same. For example, overlapping VRF subnets can be distinguished by unique route distinguishers.
An RD is a 64-bit integer and is split into three parts:
- Type (always 2 bytes).
- Administrator subfield.
- Value or service-provider subfield.
Currently, three format types are defined.
| 2bytes | 2bytes | 2bytes | 2bytes |
|---|---|---|---|
| Type1 | ASN | 4byte value | |
| Type2 | 4-byte IP | value | |
| Type3 | 4-byte ASN | value |
Route Targets
A Route Target is a BGP extended community that controls the import and export of routing information between routing instances.