IPv6 Vyatta LAB – Part III BGP route reflectors and their clients

[Originally posted May 3, 2012 2:28 PM by Antti Uitto   [ updated May 9, 2012 12:43 PM ]]

Now that our lab routers have each other’s loopbacks in the routing tables, we can start defining internal BGP neighbors. We will use these loopback addresses to create the adjacencies.

The lab looks like this:

vyatta-lab-with-loopacks2

I have chosen R1 and R2 to be Route Reflectors in this network. (RR in the diagram)

The iBGP assumes full mesh topology between participating routers. So routes learned from a neighbor will not be handed over via iBGP to others.

Except if a router is a Route Reflector, then it may do so.

In order to avoid building a full mesh topology (creating a bgp neighbor relationship from each router to each router) we use Route Reflectors. Now every router will have BGP connections to these two reflectors only.

Let’s start configuring!

Say configure to your Vyatta and insert these:

Route Reflector R1
set protocols bgp 65501 address-family ipv6-unicast
set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast
set protocols bgp 65501 neighbor 2001:99:13:4a::2 remote-as 65501
set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast route-reflector-client
set protocols bgp 65501 neighbor 2001:99:13:4a::2 update-source 2001:99:13:4a::1

Do put the “router-reflector-client” under address-family ipv6-unicast or otherwise it will not reflect IPv6 routes!
Create the relationship from R1 to every other router in your lab network using these commands.
Then do the same from R2, adjusting the lines appropriately.

Other routers
set protocols bgp 65501 address-family ipv6-unicast
set protocols bgp 65501 neighbor 2001:99:13:4a::1 address-family ipv6-unicast
set protocols bgp 65501 neighbor 2001:99:13:4a::1 remote-as 65501
set protocols bgp 65501 neighbor 2001:99:13:4a::1 address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 65501 neighbor 2001:99:13:4a::1 update-source 2001:99:13:4a::4
set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast
set protocols bgp 65501 neighbor 2001:99:13:4a::2 remote-as 65501
set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast soft-reconfiguration inbound
set protocols bgp 65501 neighbor 2001:99:13:4a::2 update-source 2001:99:13:4a::4

This links the router in question to both Route Reflectors.
Just change the update-source and paste to each router.

show ipv6 bgp summary

You should now see BGP adjacencies.

Then check

show ipv6 route bgp

and you will find that although BGP neighbors are defined and adjacencies are up, you have no BGP-learned IPv6 routes. We will change that in the next episode.

Sources
http://en.wikipedia.org/wiki/Route_reflector
http://en.wikipedia.org/wiki/Internal_border_gateway_protocol#Operation

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s