Вы находитесь на странице: 1из 14

IPv6 and BGP

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Agenda
BGP

BGP and IPv6

Lets lab it

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

BGP
BGP is not in the curriculum. But
It is The Protocol which is the core of Internet.
BGP has 2 phases
1) We build the transport or we build the neighborship
2)

We advertise the networks.

Notice the difference between IGP and BGP.

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

BGP and IPv6


BGP carries IPv4 routes by default
If we want to have a IPv6 Internet then BGP should carry IPv6
routes.
BGP is an application layer protocol which can carry different type
of routes
1)IPv4
2)IPv6
3)IPv4 multicast
4)IPv6 multicast
5)VPNv4 routes
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

BGP and IPv6


Each of these is called an Address family
So we have IPv4 address family, IPv6 address family, IPv4
multicast address family and so on
If we want BGP to carry IPv6 routes we have to enable IPv6
address family ( By default we have IPv4 address family enabled)
Then we have announce IPv6 routes under the IPv6 address family.

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Lets Lab it up

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Network Clinic :Etherchannel Load Balancing


Lets recap what we did last month

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Load Balancing
How this all works?

Etherchannel works on hashing algorithm

This hashing algorithm generates a value from 0 to 7 as we can


max eight interfaces max

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Load Balancing
Now let's say that we are doing load balance based on source ip
and dest ip

The src ip and dest ip are hashed and we get a value 0 to 7 based
on number of channels or interfaces or links in the channel

Lets go to the next slide

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

Load Balancing
If we have 2 channels Hashing Algorithm generates values 0 to 1

If we have 4 channels we will get values 0 to 3 = 00 01 10 11

If we have 8 eight interfaces we will get values

0 to 7 = 000 001 010 011 100 101 110 111


The next question is how these hash values are linked to the
interfaces

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

10

Load Balancing
The ports have a mask which matches to these hash values.

How to find the mask ?

Show platform pm group-masks


Key Point On Cisco 3560 switches we cannot modify the hash
values, hashing algorithms and masks
We have to use trial and error method

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

11

Load Balancing
In our case say Fa0/11 has a mask which corresponds to hash
value 0 generated by hashing algorithm

Whenever hashing algorithm generates this hash value 1 then


fa0/11 is chosen

Whenever hashing algorithm generates hash value 0 then fa0/12 is


chosen

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

12

To summarize
Hashing Algorithm generates a value Hash Value based on the
input or whichever load balancing algorithm is used

The ports have masks which correspond to the hash values.

Based on the value generated by hashing algorithm the interface


with the mask which corresponds to the hash value is chosen to
send traffic

2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

13

Thank you.

Вам также может понравиться