2013 Cisco andor its affiliates All rights reserved

  • Slides: 37
Download presentation
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 1

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 1

 • IPv 6 Address Notation • Rule 1: Leading 0’s • Rule 2:

• IPv 6 Address Notation • Rule 1: Leading 0’s • Rule 2: Double colon : : • Network Prefixes © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 2

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 § IPv 6 addresses are 128 -bit addresses represented in: © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 1 2 3 4 5 6 7 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits 8 16 bits § IPv 6 addresses are 128 -bit addresses represented in: § Eight 16 -bit segments or “hextets” (not a formal term) © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 4

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 1 2 3 4 5 6 7 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits 8 16 bits § IPv 6 addresses are 128 -bit addresses represented in: § Eight 16 -bit segments or “hextets” (not a formal term) § Hexadecimal (non-case sensitive) between 0000 and FFFF © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64

One Hex digit = 4 bits 2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 1 2 3 4 5 6 7 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits 8 16 bits § IPv 6 addresses are 128 -bit addresses represented in: § Eight 16 -bit segments or “hextets” (not a formal term) § Hexadecimal (non-case sensitive) between 0000 and FFFF § Separated by colons © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 :

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits § How many addresses does 128 bits give us? © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 :

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits § How many addresses does 128 bits give us? § 340 undecillion addesses or … © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 8

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 :

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits § How many addresses does 128 bits give us? § 340 undecillion addesses or … § 340 trillion addresses or … © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 :

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits § How many addresses does 128 bits give us? § 340 undecillion addesses or … § 340 trillion addresses or … § “IPv 6 could provide each and every square micrometer of the earth’s surface with 5, 000 unique addresses. Micrometer = 0. 001 mm or 0. 000039 inches” or…. © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 :

2001: 0 DB 8: AAAA: 1111: 0000: 0100/64 2001 : 0 DB 8 : AAAA : 1111 : 0000 : 0100 16 bits 16 bits § How many addresses does 128 bits give us? § 340 undecillion addesses or … § 340 trillion addresses or … § “IPv 6 could provide each and every square micrometer of the earth’s surface with 5, 000 unique addresses. Micrometer = 0. 001 mm or 0. 000039 inches” or…. § “A string of soccer balls would wrap around our universe 200 billion times!” © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11

2001. 1111. 2222. 3333. 4444. 5555. 6666. 7777 No, hextets are separated by a

2001. 1111. 2222. 3333. 4444. 5555. 6666. 7777 No, hextets are separated by a colon 2001: AAAA: BBBB: CCCC: DDDD: EEEE: FFFF: GGGG No, G is not a hexadecimal number 2001: FACE: ACE 0: CAFE: 1111: 2222: 3333: 4444: 5555: 6666 No, number of bits is more than 128 bits 2001: 1111: 2222: 3333: 44444: 55555: 6666: 7777 No, hextet can only contain maximum of 4 hexadecimal digits © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12

§ Two rules for reducing the size of written IPv 6 addresses § Leading

§ Two rules for reducing the size of written IPv 6 addresses § Leading 0’s § Double Colon : : © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13

§ Leading zeroes in any 16 -bit segment do not have to be written

§ Leading zeroes in any 16 -bit segment do not have to be written 3 ffe : 0404 : 0001 : 1000 : 0000 : 0 ef 0 : bc 00 3 ffe : 0000 : 010 d : 000 a : 00 dd : c 000 : e 000 : 0001 ff 02 : 0000 : 0000 : 0500 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14

§ Leading zeroes in any 16 -bit segment do not have to be written

§ Leading zeroes in any 16 -bit segment do not have to be written 3 ffe : 0404 : 0001 : 1000 : 0000 : 0 ef 0 : bc 00 3 ffe : 404 : 1 : 1000 : ef 0 : bc 00 3 ffe : 0000 : 010 d : 000 a : 00 dd : c 000 : e 000 : 0001 ff 02 : 0000 : 0000 : 0500 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 15

§ Leading zeroes in any 16 -bit segment do not have to be written

§ Leading zeroes in any 16 -bit segment do not have to be written 3 ffe : 0404 : 0001 : 1000 : 0000 : 0 ef 0 : bc 00 3 ffe : 404 : 1 : 1000 : ef 0 : bc 00 3 ffe : 0000 : 010 d : 000 a : 00 dd : c 000 : e 000 : 0001 3 ffe : 0 : 10 d : a : dd : c 000 : e 000 : 1 ff 02 : 0000 : 0000 : 0500 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16

§ Leading zeroes in any 16 -bit segment do not have to be written

§ Leading zeroes in any 16 -bit segment do not have to be written 3 ffe : 0404 : 0001 : 1000 : 0000 : 0 ef 0 : bc 00 3 ffe : 404 : 1 : 1000 : ef 0 : bc 00 3 ffe : 0000 : 010 d : 000 a : 00 dd : c 000 : e 000 : 0001 3 ffe : 0 : 10 d : a : dd : c 000 : e 000 : 1 ff 02 : 0000 : 0000 : 0500 ff 02 : 0 : © 2013 Cisco and/or its affiliates. All rights reserved. 0 : 0 : 500 Cisco Public 17

2001: 0000: 0000: 0000 Answer - 2001: 0: 0: 0: 0 2001: 1000: 1001:

2001: 0000: 0000: 0000 Answer - 2001: 0: 0: 0: 0 2001: 1000: 1001: 1010: 1100: 0001: 0101: 0011 Answer - 2001: 1000: 1001: 1010: 1100: 1: 101: 11 0010: 1020: 0001: 1000: 0 A 0 A: 00 FF: FF 00 Answer - 10: 1020: 1: 1000: A 0 A: FF 00 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18

2001: 0: 100: 1000: AA: FF: 101 Answer - 2001: 0000: 0010: 0100: 1000:

2001: 0: 100: 1000: AA: FF: 101 Answer - 2001: 0000: 0010: 0100: 1000: 00 AA: 00 FF: 0101 0: 1: 100: 1000: CCC Answer - 0000: 0001: 0010: 0100: 1000: 00 CC: 0 CC 0: 0 CCC FF: 0: 0: 0: A Answer - 00 FF: 0000: 0000: 000 A FE 8: 0: 0: 0: 1 Answer - 0 FE 8: 0000: 0000: 0001 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19

§ The second rule can reduce this address even further § Any single, contiguous

§ The second rule can reduce this address even further § Any single, contiguous string of one or more 16 -bit segments consisting of all zeroes can be represented with a double colon ff 02 : 0000 : 0000 : 0500 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20

§ Any single, contiguous string of one or more 16 -bit segments consisting of

§ Any single, contiguous string of one or more 16 -bit segments consisting of all zeroes can be represented with a double colon. ff 02 : 0000 : 0000 : 0500 ff 02 : : Second Rule © 2013 Cisco and/or its affiliates. All rights reserved. 500 First Rule Cisco Public 21

§ Any single, contiguous string of one or more 16 -bit segments consisting of

§ Any single, contiguous string of one or more 16 -bit segments consisting of all zeroes can be represented with a double colon ff 02 : 0000 : 0000 : 0500 ff 02 : : Second Rule 500 First Rule ff 02: : 500 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 22

§ Only a single contiguous string of all-zero segments can be represented with a

§ Only a single contiguous string of all-zero segments can be represented with a double colon 2001 : 0 d 02 : 0000 : 0014 : 0000 : 0095 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23

§ Only a single contiguous string of all-zero segments can be represented with a

§ Only a single contiguous string of all-zero segments can be represented with a double colon § Both of these are correct… 2001 : 0 d 02 : 0000 : 0014 : 0000 : 0095 2001 : d 02 : : 14 : 0 : 95 or 2001 : d 02 : © 2013 Cisco and/or its affiliates. All rights reserved. 0 : 14 : : 95 Cisco Public 24

§ Using the double colon more than once in an IPv 6 address can

§ Using the double colon more than once in an IPv 6 address can create ambiguity because of the ambiguity in the number of 0’s 2001: d 02: : 14: : 95 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 25

§ Using the double colon more than once in an IPv 6 address can

§ Using the double colon more than once in an IPv 6 address can create ambiguity because of the ambiguity in the number of 0’s 2001: d 02: : 14: : 95 2001: 0 d 02: 0000: 0014: 0000: 0095 2001: 0 d 02: 0000: 0014: 0000: 0095 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26

2001: 1111: 0000: 1111: 2222: 1111: A 1 A 1 Answer - 2001: 1111:

2001: 1111: 0000: 1111: 2222: 1111: A 1 A 1 Answer - 2001: 1111: 2222: 1111: A 1 A 1 3001: 0000: 0000: 1111 Answer - 3001: : 1111 3001: 0000: 1111: 0000: 1111 Answer - 3001: : 1111: 0: 0: 1111 FF 02: 0000: 0001: FF 00: 0001 Answer - FF 02: : 1: FF 00: 1 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27

2001: 0101: : A: B Answer - 2001: 0101: 0000: 000 A: 000 B

2001: 0101: : A: B Answer - 2001: 0101: 0000: 000 A: 000 B FF 02: : 1: FF 12: 1 Answer - FF 02: 0000: 0001: FF 12: 0001 FE 80: : 1 Answer - FE 80: 0000: 0000: 0001 : : 1 Answer - 0000: 0000: 0001 : : Answer - 0000: 0000: 0000 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28

§ IPv 4, the prefix—the network portion of the address—can be identified by a

§ IPv 4, the prefix—the network portion of the address—can be identified by a dotted decimal netmask or bitcount 255. 0 © 2013 Cisco and/or its affiliates. All rights reserved. or /24 Cisco Public 29

§ IPv 4, the prefix—the network portion of the address—can be identified by a

§ IPv 4, the prefix—the network portion of the address—can be identified by a dotted decimal netmask or bitcount 255. 0 or /24 § IPv 6 prefixes are always identified by bitcount (prefix length) © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 30

§ IPv 4, the prefix—the network portion of the address—can be identified by a

§ IPv 4, the prefix—the network portion of the address—can be identified by a dotted decimal netmask or bitcount 255. 0 or /24 § IPv 6 prefixes are always identified by bitcount (prefix length) § Prefix length notation: 3 ffe: 1944: 100: a: : /64 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31

§ IPv 4, the prefix—the network portion of the address—can be identified by a

§ IPv 4, the prefix—the network portion of the address—can be identified by a dotted decimal netmask or bitcount. 255. 0 or /24 § IPv 6 prefixes are always identified by bitcount (prefix length). § Prefix length notation: 3 ffe: 1944: 100: a: : /64 16 © 2013 Cisco and/or its affiliates. All rights reserved. 32 48 64 bits Cisco Public 32

2001: DB 8: CAFE: 1111: : 1/64 Answer - network bits = 64, host

2001: DB 8: CAFE: 1111: : 1/64 Answer - network bits = 64, host bits = 64 Network Portion = 2001: DB 8: CAFE: 1111 Host Portion = 0000: 0001 2001: : 1/96 Answer: network bits = 96, host bits = 32 Network Portion = 2001: 0: 0: 0 Host Portion = 0: 1 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 33

2001: 1/80 Answer - network bits = 80, host bits = 48 Network Portion

2001: 1/80 Answer - network bits = 80, host bits = 48 Network Portion = 2001: 0: 0 Host Portion = 0: 0: 1 2001: : 1/16 Answer – network bits = 16, host bits = 112 Network Portion = 2001 Host Portion = 0: 0: 0: 1 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34

2001: : 1/8 Answer – network bits = 8, host bits = 120 Network

2001: : 1/8 Answer – network bits = 8, host bits = 120 Network Portion = 20 Host Portion = NN 01: 0: 0: 0: 1 2001: 1/4 Answer – network bits = 4, host bits = 124 Network Portion = 2 Host Portion = N 001: 0: 0: 0: 1 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38

© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38

Thank you

Thank you