BGP Required Information¶
Before starting, take the time to gather all of the information required to form a BGP adjacency to a neighbor. At a minimum, FRR will need to know these items:
- Local AS Number:
The autonomous system (AS) number for this firewall. This is typically assigned by an upstream source, an RIR, or mutually agreed upon by internal neighbors.
- Local Router ID:
Typically the highest numbered local address on the firewall. This is also frequently set as the internal or LAN side IP address of a router. It does not matter what this ID is, so long as it is given in IPv4 address notation and does not conflict with any neighbors.
- Local Network(s):
The list of networks that are advertised over BGP as belonging to the Local AS. For external BGP, this is typically the IP address block allocated by the RIR. For internal BGP, this may be a list of local networks or a summarized block.
- Neighbor AS Number:
The autonomous system number of the neighbor.
- Neighbor IP Address:
The IP address of the neighboring router.
The example in this section uses the following values:
Item |
Value |
---|---|
Local AS Number |
65014 |
Local Router ID |
10.14.0.1 |
Local Network(s) |
10.14.0.0/16 |
Neighbor AS Number |
65002 |
Neighbor IP Address |
203.0.113.2 |