27d407b733dbc2a49014ec23366e21af9fa88ec6
howto/mpls-bird2.md
| ... | ... | @@ -31,34 +31,34 @@ In this article, I will make use of official BIRD document to show readers how t |
| 31 | 31 | - [Prerequisites](#prerequisites) |
| 32 | 32 | - [Table of Contents](#table-of-contents) |
| 33 | 33 | - [1 Lab Topo](#1-lab-topo) |
| 34 | - - [1.1 Node Specs](#11-node-specs) |
|
| 34 | + - [1.1 Node Specs](#1-1-node-specs) |
|
| 35 | 35 | - [2 Preliminary Work](#2-preliminary-work) |
| 36 | - - [2.1 Enable MPLS Kernel Module](#21-enable-mpls-kernel-module) |
|
| 37 | - - [2.2 Kernel Parameter Adjustment](#22-kernel-parameter-adjustment) |
|
| 38 | - - [2.2.1 Enable MPLS Input on MPLS Port](#221-enable-mpls-input-on-mpls-port) |
|
| 39 | - - [2.3 Create VRF and assign VRF for port](#23-create-vrf-and-assign-vrf-for-port) |
|
| 40 | - - [2.3.1 Adjust Client-faced Port MTU to Avoid Fragmentation](#231-adjust-client-faced-port-mtu-to-avoid-fragmentation) |
|
| 41 | - - [2.4 IP Address and Static Route Configuration](#24-ip-address-and-static-route-configuration) |
|
| 42 | - - [2.5 Installing BIRD](#25-installing-bird) |
|
| 43 | - - [2.5.1 Install Compiling and Building Dependencies](#251-install-compiling-and-building-dependencies) |
|
| 44 | - - [2.5.2 Clone BIRD 2.14 Repo](#252-clone-bird-214-repo) |
|
| 45 | - - [2.5.3 Build Software Package of BIRD 2.14](#253-build-software-package-of-bird-214) |
|
| 36 | + - [2.1 Enable MPLS Kernel Module](#2-1-enable-mpls-kernel-module) |
|
| 37 | + - [2.2 Kernel Parameter Adjustment](#2-2-kernel-parameter-adjustment) |
|
| 38 | + - [2.2.1 Enable MPLS Input on MPLS Port](#2-2-1-enable-mpls-input-on-mpls-port) |
|
| 39 | + - [2.3 Create VRF and assign VRF for port](#2-3-create-vrf-and-assign-vrf-for-port) |
|
| 40 | + - [2.3.1 Adjust Client-faced Port MTU to Avoid Fragmentation](#2-3-1-adjust-client-faced-port-mtu-to-avoid-fragmentation) |
|
| 41 | + - [2.4 IP Address and Static Route Configuration](#2-4-ip-address-and-static-route-configuration) |
|
| 42 | + - [2.5 Installing BIRD](#2-5-installing-bird) |
|
| 43 | + - [2.5.1 Install Compiling and Building Dependencies](#2-5-1-install-compiling-and-building-dependencies) |
|
| 44 | + - [2.5.2 Clone BIRD 2.14 Repo](#2-5-2-clone-bird-214-repo) |
|
| 45 | + - [2.5.3 Build Software Package of BIRD 2.14](#2-5-3-build-software-package-of-bird-214) |
|
| 46 | 46 | - [3 BIRD Configuration](#3-bird-configuration) |
| 47 | - - [3.1 Basic Setup](#31-basic-setup) |
|
| 48 | - - [3.1.1 Router ID](#311-router-id) |
|
| 49 | - - [3.1.2 Adding MPLS Domain and Tables](#312-adding-mpls-domain-and-tables) |
|
| 50 | - - [3.1.3 Adding MPLS and VRF Related Protocol and Configuration](#313-adding-mpls-and-vrf-related-protocol-and-configuration) |
|
| 51 | - - [3.2 BGP Configuration](#32-bgp-configuration) |
|
| 52 | - - [3.3 Setup Binding between MPLS L3VPN and VRF Instance](#33-setup-binding-between-mpls-l3vpn-and-vrf-instance) |
|
| 53 | - - [3.4 Complete BIRD Configuration File](#34-complete-bird-configuration-file) |
|
| 54 | - - [3.4.1 R1](#341-r1) |
|
| 55 | - - [3.4.2 R2](#342-r2) |
|
| 56 | - - [3.4.3 R3](#343-r3) |
|
| 47 | + - [3.1 Basic Setup](#3-1-basic-setup) |
|
| 48 | + - [3.1.1 Router ID](#3-1-1-router-id) |
|
| 49 | + - [3.1.2 Adding MPLS Domain and Tables](#3-1-2-adding-mpls-domain-and-tables) |
|
| 50 | + - [3.1.3 Adding MPLS and VRF Related Protocol and Configuration](#3-1-3-adding-mpls-and-vrf-related-protocol-and-configuration) |
|
| 51 | + - [3.2 BGP Configuration](#3-2-bgp-configuration) |
|
| 52 | + - [3.3 Setup Binding between MPLS L3VPN and VRF Instance](#3-3-setup-binding-between-mpls-l3vpn-and-vrf-instance) |
|
| 53 | + - [3.4 Complete BIRD Configuration File](#3-4-complete-bird-configuration-file) |
|
| 54 | + - [3.4.1 R1](#3-4-1-r1) |
|
| 55 | + - [3.4.2 R2](#3-4-2-r2) |
|
| 56 | + - [3.4.3 R3](#3-4-3-r3) |
|
| 57 | 57 | - [4 Verification](#4-verification) |
| 58 | - - [4.1 Check VPNv4 Table](#41-check-vpnv4-table) |
|
| 59 | - - [4.2 Check Default IPv4 Table](#42-check-default-ipv4-table) |
|
| 60 | - - [4.3 Check VRF IPv4 Table](#43-check-vrf-ipv4-table) |
|
| 61 | - - [4.4 Check connectivity between PC1 and PC2](#44-check-connectivity-between-pc1-and-pc2) |
|
| 58 | + - [4.1 Check VPNv4 Table](#4-1-check-vpnv4-table) |
|
| 59 | + - [4.2 Check Default IPv4 Table](#4-2-check-default-ipv4-table) |
|
| 60 | + - [4.3 Check VRF IPv4 Table](#4-3-check-vrf-ipv4-table) |
|
| 61 | + - [4.4 Check connectivity between PC1 and PC2](#4-4-check-connectivity-between-pc1-and-pc2) |
|
| 62 | 62 | - [5 Reference](#5-reference) |
| 63 | 63 | |
| 64 | 64 | # 1 Lab Topo |
| ... | ... | @@ -701,4 +701,4 @@ root@pc2:~# |
| 701 | 701 | |
| 702 | 702 | <span id="c2">2. BIRD Team. (2023, October 7). BIRD 2.0 User’s Guide. _MPLS_, 9-10. [https://bird.network.cz/download/bird-doc-2.14.tar.gz](https://bird.network.cz/download/bird-doc-2.14.tar.gz)</span> |
| 703 | 703 | |
| 704 | -<span id="c3">3. James Swineson. (2020, February 22). _Use Linux as an MPLS Router_. blog.swineson.me. [https://blog.swineson.me/en/use-linux-as-an-mpls-router/](https://blog.swineson.me/en/use-linux-as-an-mpls-router/)</span> |
|
| ... | ... | \ No newline at end of file |
| 0 | +<span id="c3">3. James Swineson. (2020, February 22). _Use Linux as an MPLS Router_. blog.swineson.me. [https://blog.swineson.me/en/use-linux-as-an-mpls-router/](https://blog.swineson.me/en/use-linux-as-an-mpls-router/)</span> |