Commit 7389de95 authored by Thomas Holterbach's avatar Thomas Holterbach
Browse files

added info about route distinguisher

parent b4dad432
......@@ -173,7 +173,7 @@ Now it is up to you to solve the challenges above by following the tasks below.
* [Configure the eBGP sessions](#configure-the-ebgp-sessions)
* [Configure MPLS forwarding with LDP](#configure-mpls-forwarding-with-ldp)
2. [Configure the VPN over BGP using VRF](#task-2-configure-the-vpn-over-bgp-using-vrf)
* [Configuring the VRF](#configuring-the-vrf)
* [Configuring eBGP in a VRF](#configuring-ebgp-in-a-vrf)
* [Configure the VPNs](#configure-the-vpns)
3. [Configure advanced routing policies](#task-3-configure-advanced-routing-policies)
* [Configure routing policies between the Credit Suisse sites](#configure-routing-policies-between-the-credit-suisse-sites)
......@@ -496,7 +496,8 @@ To maintain separation between traffic from the different banks, we will now con
2. You need to enable BGP to advertise the prefixes over the VPN using MPLS. You can do that using the command [`label vpn export auto`](http://docs.frrouting.org/en/latest/bgp.html#clicmd-labelvpnexport(0..1048575)|auto).
3. You must enable the [import and export](http://docs.frrouting.org/en/latest/bgp.html#clicmd-import|exportvpn) of the routes between the VRF and the VPN.
4. You need to configure a _route distinguisher_ as well as a _route target_. For now, always use the same route target for import _and_ export for each VRF, so that the prefixes in one site are advertised to all the other sites of the same bank.
4. You need to configure a [_route distinguisher_](http://docs.frrouting.org/en/latest/bgp.html#clicmd-rdvpnexportAS:NN|IP:nn). You can use for instance `rd vpn export 192.168.1.0:1` in R2 to advertise the prefix `192.168.1.0` with the route distinguisher `1`. Note that you still need the command `network 192.168.1.0/24` in BGP for `VRF_CS` to advertise that prefix (you can also use `redistribute connected` in which case the command `rd vpn export 20:1` is enough to apply that route distinguisher to all advertised prefixes).
5. You need to configure a a [_route target_](http://docs.frrouting.org/en/latest/bgp.html#clicmd-rtvpnimport|export|bothRTLIST...). For now, always use the same route target for import _and_ export for each VRF, so that the prefixes in one site are advertised to all the other sites of the same bank.
Now, we can run the command `sh ip bgp vrf VRF_CS` in the router `R3` to verify that the routes are correctly announced between the `VRF_CS` in `R3` and the `VRF_CS` in routers `R1` and `R2`.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment