IPv6 Vyatta LAB – Part IV ; BGP routes and a customer site

[Originally posted May 9, 2012 12:41 PM by Antti Uitto   [ updated May 9, 2012 1:17 PM ]]

In the previous chapter we created BGP connections for our network. In order to avoid configuring full mesh, connecting each router to each router (as iBGP would demand), we used Route Reflectors.

Now we should have all the BGP neighbors up and running but nothing is yet advertised using BGP.

In this exercise we shall inject some routes into this new BGP.

I have earlier configured a static default route in R1. (See the first episode)
Let’s make this ::/0 available to all the other routers as well.

set protocols bgp 65501 neighbor 2001:99:13:4a::2 address-family ipv6-unicast default-originate
set protocols bgp 65501 neighbor 2001:99:13:4a::3 address-family ipv6-unicast default-originate
… etc …

Now you should see IPv6 default route on all the routers and be able to ping6 hosts outside your own lab. (Use loopbacks as source)

“Customer” site and a new prefix

Case study: Fake Ltd

The next job is to add an interface for a bogus client. My customer Fake Ltd has an IPv6 prefix 2001:99:13:4b::/64 and their non-existent main office is located in an made-up Business Center where the connections are provided by the Fairy-Tale ISP’s imaginary core router called R8.

A make-believe port eth6 has been provisioned for this customer.

This is the best thing you get when you want to buy services without using real money.

Route it from the Real World

Route the client’s prefix 2001:99:13:4b::/64  with a static route from Internet gw to FW and from the FW to R1 just like the you did with the lab prefix in the beginning.

Create an interface

set interfaces ethernet eth6 address 2001:099:0013:004b::1/64
set interfaces ethernet eth6 ipv6 router-advert prefix 2001:099:0013:004b::/64
set interfaces ethernet eth6 ipv6 router-advert send-advert true

Now check IPv6 routing table in R8.  You will see it as connected network. Go check from your other routers. No 4b there?

It is not visible yet in the other lab routers because this configuration does not redistribute connected networks. You can either make the connected networks to be redistributed or give a network statement in R8.

We do the latter.

Inject the new prefix into BGP

set protocols bgp 65501 address-family ipv6-unicast network 2001:99:13:4b::/64

After you commit this command in R8, the new network should appear in the routing tables across your lab network.

You can now connect a client computer to this interface. It should get an IPv6 address and default route information from R8. Note that this configuration does not yet give IPv6 DNS addresses. For those you will need DHCPv6 set up and “other-config-flag true” under the router interface.


It was worth every penny!

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s