You are on page 1of 4
1990512028, 1°55 IPv6 Summarzaton Example Search Q © |Pv6 Summarization Example Lesson Contents 1. Example 1 2. Example 2 3. Example 3 Summarizing IPV6 prefixes is similar to IPv4 summarization, the big difference is that IPv6 uses 128 bit addresses compared to 32 bits for IPv4 and IPV6 uses hexadecimal addresses. In this lesson, I'l explain how to create IPvé summaries and welll walk through some examples together. 1. Example 1 Let's start with a simple example: = 2001:DB8:1234:ABA2:/64 © 2001:DB8:1234:ABC3:/64 Let’s say we have to create a summary that includes the two prefixes above. Each hextet represents 16 bits. The first three hextets are the same (2001:DB8:1234) so we have 16 + 16 + 16 = 48 bits that are the same so far. To find the other bits that are the same we only have to focus on the last hextet: © ABA = ABC3, Welll have to convert these from hexadecimal to binary to see how many bits are the same: ABAZ 1010101110100010 ABC3 1010101111000011 hitpsnetworklesons.comiscofece-rouing-swtchingipvS-summarizator-examle wa 1990512028, 1°55 IPv6 Summarzaton Example a Ags0 1010101110000000 When we calculate this from binary back to hexadecimal we get AB8O, The first three hextets are the same and in the 4th octet we have 9 bits that are the same. 48 + 9 = 57 bits. Our summary address will be: 2001:DB8:1234:AB80:/57 That's how you can create a summary address for IPv6, 2. Example 2 This time we have the following 3 prefixes: + 2001:DB8:0:1:64 + 2001:DB8:0:2:64 + 2001:DB8:0:3:/64 ‘And our goal is to create the most optimal summary address. The first three hextets are the same so that’s 16 + 16 + 16 = 48 bits that these prefixes have in common. For the remaining bits, we'll have to look at the ath hextet in binary: 0001 0900000000000001 0002 0900000900000010 0003 0900000000000011 Keep in mind that each hextet represents 16 bits. The first 14 bits are the same, to get the summary address we have to zero out the blue bits: 0000 ‘0000000000000000 © When we calculate this from binary back to hexadecimal we get 0000. The first three hextets are the same and in the 4th octet we have 14 bits that are the same. 48 + 14 = 62 bits. Our summary address will be: hitpsnetworklesons.comiscofece-rouing-swtchingipvS-summarizator-examle 214 1990512028, 1°55 IPv6 Summarzaton Example 3. Example 3 Let's try one more: © 2001:DB8:0:7:/64 * 2001:DB8:0:12:/64 Let’s see what the most optimal summary address is that has these two prefixes. The first three hextets are the same so that’s 16 + 16 + 16 = 48 bits in common. Let’s look at the 4th hextet for the remaining bits: 0007 0000000000000111 0012 0000000000010010 Be careful that you dontt accidently convert number 12 from decimal to binary. We are working with hexadecimal values here! We have 11 bits that are the same, let's zero out the remaining 5 bits: 0000 9000000000000000 We have 48 + 11 bits that are the same so our summary address will be: 2001:D88:/59 hope these examples have been useful. If you have any questions, feel free to leave a comment. Previous Lesson Next Lesson IPv6 EUI-64 explained IPV6 Solicited Node Multicast.) Address e © Tags: Summarization Forum Replies hnps:etwocklessons.comiciscalecie-outing-switcinglpy6-summarizaton-oxample a4 1990512028, 1°55 IPv6 Summarzaton Example Nice Examples. monishbk Rene, Looks like the third example have mistakes. The summary address should be 2001:D88::/60. can you confirm?? ‘monishbk Got it. have done the same mistake which have mentioned. | have calculated wrongly before reading details. “Be careful that you don't accidently convert number 12 from decimal to binary.” Q revetttensa Hi Pavithra, It should be /5. n the 4th hextet, we have 11 similar bits 16+16+ 16411 =59 Rene es ‘Good that you have found it @ It's easy to see 12 (twelve) instead of 12 (one two). $x 12 more replies! Ask a question or join the discussion by visiting our Community Forum e © 2013 - 2023 NetworkLessons.com 52189 Disclaimer Privacy Policy Support About hnps:etwocklessons.comiciscalecie-outing-switcinglpy6-summarizaton-oxample 4

You might also like