Subnetting Ipv6: Cisco Confidential © 2012 Cisco And/Or Its Affiliates. All Rights Reserved. 1

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 82

Subnetting IPv6

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

Cisco Confidential

IPv6 Address Types: Starting with Global Unicast


IPv6 Addressing

Unicast

Multicast

Assigned
FF00::/8

Global Unicast
2000::/3
3FFF::/3

Link-Local
FE80::/10
FEBF::/10

Anycast

Solicited Node
FF02::1:FF00:0000/104

Loopback

Unspecified

::1/128

::/128

Unique Local
FC00::/7
FDFF::/7

Embedded
IPv4
::/80

Note: There are no broadcast addresses in IPv6


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

Cisco Public

Structure of a Global Unicast Address


n bits

m bits

Global Routing Prefix Subnet ID

128-n-m bits

Interface ID

Global unicast addresses


are similar to IPv4
addresses.

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

Cisco Public

Structure of a Global Unicast Address


n bits

m bits

Global Routing Prefix Subnet ID

128-n-m bits

Interface ID

Global unicast addresses


are similar to IPv4
addresses.
Routable
Unique

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

Cisco Public

Structure of a Global Unicast Address


n bits

m bits

Global Routing Prefix Subnet ID

001

128-n-m bits

Interface ID

Range 2000::/3 to 3FFF::/3 (4th bit can be a 0 or a 1)

Global unicast addresses


are similar to IPv4
addresses.
Routable
Unique

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

Cisco Public

Structure of a Global Unicast Address


n bits

m bits

Global Routing Prefix Subnet ID

001

128-n-m bits

Interface ID

Range 2000::/3 to 3FFF::/3 (4th bit can be a 0 or a 1)

Global unicast addresses


are similar to IPv4
addresses.
Routable
Unique

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

IANAs allocation of IPv6 address space in 1/8th


sections

Cisco Public

Global Unicast Addresses and the 3-1-4 rule


IPv4 Unicast Address
Network portion

Subnet portion

Host portion

32 bits

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

Cisco Public

Global Unicast Addresses and the 3-1-4 rule


IPv4 Unicast Address
Network portion

/?
Subnet portion

Host portion

32 bits

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

Cisco Public

Global Unicast Addresses and the 3-1-4 rule


IPv4 Unicast Address
Network portion

/?
Subnet portion

Host portion

32 bits
IPv6 Global Unicast Address
Interface ID

Global Routing Prefix

128 bits

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

Cisco Public

Global Unicast Addresses and the 3-1-4 rule


IPv4 Unicast Address
Network portion

/?
Subnet portion

Host portion

32 bits
IPv6 Global Unicast Address
/64
Interface ID

Global Routing Prefix

128 bits
* 64-bit Interface ID gives us 18 quintillion (18,446,744,073,709,551,616) devices/subnet.
* Supports 48bit and 64-bit MAC addresses as the Interface ID (coming).
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

10

Global Unicast Addresses and the 3-1-4 rule


IPv4 Unicast Address
Network portion

/?
Subnet portion

Host portion

32 bits
IPv6 Global Unicast Address
/48
/64
Fixed 16-bit
Global Routing Prefix
Subnet ID

Interface ID

128 bits
* 64-bit Interface ID gives us 18 quintillion (18,446,744,073,709,551,616) devices/subnet.
* 16-bit Subnet ID gives us 65,536 subnets. (Yes, you can use the all 0s and all 1s.)
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

11

Global Unicast Addresses and the 3-1-4 rule

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

12

Global Unicast Addresses and the 3-1-4 rule

16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

13

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

16 bits

Global Routing Prefix

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

14

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

/64
16 bits

16 bits

16 bits

16 bits

16 bits

Global Routing Prefix Subnet ID

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

15

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

/64
16 bits

Global Routing Prefix Subnet ID

16 bits

16 bits

16 bits

16 bits

Interface ID

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

16

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

/64
16 bits

Global Routing Prefix Subnet ID

16 bits

16 bits

16 bits

16 bits

Interface ID

3
2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

17

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

/64
16 bits

Global Routing Prefix Subnet ID

16 bits

16 bits

16 bits

16 bits

Interface ID

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

18

Global Unicast Addresses and the 3-1-4 rule


/48
16 bits

16 bits

16 bits

/64
16 bits

Global Routing Prefix Subnet ID

16 bits

16 bits

16 bits

16 bits

Interface ID

2001:0DB8:AAAA:1111:0000:0000:0000:0100

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

Cisco Public

19

Global Routing Prefix Sizes


Global Routing Prefix

Subnet ID

Interface ID

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

Cisco Public

20

Global Routing Prefix Sizes


Global Routing Prefix

Subnet ID

Interface ID

/23

*RIR

* This is a minimum allocation. The prefix-length may be less if it can be justified.


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

Cisco Public

21

Global Routing Prefix Sizes


Global Routing Prefix

Subnet ID

Interface ID

/23 /32

*RIR

*ISP Prefix

* This is a minimum allocation. The prefix-length may be less if it can be justified.


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

Cisco Public

22

Global Routing Prefix Sizes


Global Routing Prefix
/23 /32

Subnet ID

Interface ID

/48

*RIR

*ISP Prefix
*Site Prefix

16-bit
Subnet ID

* This is a minimum allocation. The prefix-length may be less if it can be justified.


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

Cisco Public

23

Global Routing Prefix Sizes


Global Routing Prefix
/23 /32

Subnet ID

Interface ID

/48 /56

*RIR

*ISP Prefix
*Site Prefix
Possible Home Site Prefix

8-bit
Subnet ID

* This is a minimum allocation. The prefix-length may be less if it can be justified.


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

Cisco Public

24

Global Routing Prefix Sizes


Global Routing Prefix
/23 /32

Subnet ID

/48 /56

Interface ID

/64

*RIR

*ISP Prefix
*Site Prefix
Possible Home Site Prefix
Subnet Prefix
* This is a minimum allocation. The prefix-length may be less if it can be justified.
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

25

Divide these addresses as per 3-1-4 rule


2001:1111:2222:3333:4444:5555:6666:7777
Answer- Global Routing Prefix=2001:1111:2222 (3 Hextets)
Subnet ID = 3333 (1 Hextet)
Interface ID = 4444:5555:6666:7777 (4 Hextets)
2001::1
Answer- Global Routing Prefix = 2001:0000:0000 (3 Hextets)
Subnet ID = 0000(1 Hextet)
Interface ID =0000:0000:0000:0001 (4 Hextets)

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

Cisco Public

26

Subnetting IPv6

2340:1111:AAAA::/48

4 specific subnets could be:

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

Cisco Public

27

Subnetting IPv6

2340:1111:AAAA::/48

4 specific subnets could be:


2340:1111:AAAA:0000::/64
2340:1111:AAAA:0001::/64

Just increment by 1 in hex

2340:1111:AAAA:0002::/64
2340:1111:AAAA:000A::/64
Note: A valid abbreviation is to remove the 3 leading 0s from the first
shown quartet.
2340:1111:AAAA:1::/64

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

Cisco Public

28

Subnetting IPv6
Create 4 subnets of /64 from 2001:1111:3333::/48
1st Subnet

= 2001:1111:3333:0000

2nd Subnet = 2001:1111:3333:0001


3rd Subnet = 2001:1111:3333:0002
4th Subnet = 2001:1111:3333:0003
We have 16 bits for subnetting so we can create 2^16 Subnets

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

Cisco Public

29

Subnetting into the Interface ID


/112

/48
48 bits

64 bits

Global Routing Prefix

Subnet ID

Prefix

Global Routing Prefix

16bits

Interface ID

Subnet-ID

Interface ID

2001:0DB8:AAAA:0000:0000:0000:0000:0000
2001:0DB8:AAAA:0000:0000:0000:0001:0000
2001:0DB8:AAAA:0000:0000:0000:0002:0000
thru
2001:0DB8:AAAA:FFFF:FFFF:FFFF:FFFE:0000
2001:0DB8:AAAA:FFFF:FFFF:FFFF:FFFF:0000
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

30

Subnetting on a nibble boundary


/68

/48
48 bits

Global Routing Prefix

20 bits

60 bits

Subnet ID

Interface ID

Subnet Prefix
/68

Subnetting on a nibble (4 bit) boundary makes it easier


to list the subnets:
Just increment by 1
/64, /68, /72, etc.
in hex
2001:0DB8:AAAA:0000:0000::/68
2001:0DB8:AAAA:0000:1000::/68
2001:0DB8:AAAA:0000:2000::/68through
2001:0DB8:AAAA:FFFF:F000::/68
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

31

Extend the Subnet ID (On a nibble boundary)


Extend 2001:DB8:AAAA/48 network into 3 2001:DB8:AAAA/96 Subnets
2001:DB8:AAAA = Network or Global Routing Prefix = 48 bits
2001:DB8:AAAA:SSSS:SSSS:SSSS:HHHH:HHHH
S means Subnet
So we have 48 bits to do Subnetting
1st Subnet = 2001:DB8:AAAA:0000:0000:0000/96
2nd Subnet = 2001:DB8:AAAA:0000:0000:0001/96
3rd Subnet = 2001:DB8:AAAA:0000:0000:0002/96

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

Cisco Public

32

Extend the Subnet ID (On a nibble boundary)


Extend 2001:DB8:AAAA/64 network into 3 2001:DB8:AAAA/80 Subnets
2001:DB8:AAAA:0000 = Network or Global Routing Prefix = 64 bits
2001:DB8:AAAA:0000:SSSS:HHHH:HHHH:HHHH
So we have 16 bits to do Subnetting
1st Subnet = 2001:DB8:AAAA:0000:0000/80
2nd Subnet = 2001:DB8:AAAA:0000:0001/80
3rd Subnet = 2001:DB8:AAAA:0000:0002/80
S means Subnet

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

Cisco Public

33

Extend the Subnet ID ( On a nibble boundary)


Extend 2001:DB8:AAAA/64 network into 3 2001:DB8:AAAA/76 Subnets
2001:DB8:AAAA:0000 = Network or Global Routing Prefix = 64 bits
Each digit in Hextet is a Nibble = 4bits
2001:DB8:AAAA:0000:SSSH:HHHH:HHHH:HHHH
So we have 3 nibbles = 12 bits for subnetting
So the subnets are
2001:DB8:AAAA:0000:0000/76
2001:DB8:AAAA:0000:0010/76
2001:DB8 :AAAA:0000:0020/76

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

Cisco Public

34

Extend the Subnet ID ( On a nibble boundary)


Extend 2001:DB8:AAAA/64 network into 3 2001:DB8:AAAA/72 Subnets
2001:DB8:AAAA:0000 = Network or Global Routing Prefix = 64 bits
Each digit in Hextet is a Nibble
2001:DB8:AAAA:0000:SSHH:HHHH:HHHH:HHHH
So we have 2 nibbles = 8 bits for subnetting
So the subnets are
2001:DB8:AAAA:0000:0000/72
2001:DB8:AAAA:0000:0100/72
2001:DB8 :AAAA:0000:0200/72

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

Cisco Public

35

Extend the Subnet ID ( On a nibble boundary)


Extend 2001:DB8:AAAA/64 network into 3 2001:DB8:AAAA/68 Subnets
2001:DB8:AAAA:0000 = Network or Global Routing Prefix = 64 bits
Each digit in Hextet is a Nibble
2001:DB8:AAAA:0000:SHHH:HHHH:HHHH:HHHH
So we have 1 nibble = 4bits to Subnet = 16 Subnets
So the subnets are
2001:DB8:AAAA:0000:0000/68
2001:DB8:AAAA:0000:1000/68
2001:DB8 :AAAA:0000:2000/68

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

Cisco Public

36

Subnetting within a nibble


/70

/48
48 bits

Global Routing Prefix

58 bits

22 bits

Subnet ID

Interface ID

Subnet Prefix
/70

2001:0DB8:AAAA:0000:0000::/70 0000
2001:0DB8:AAAA:0000:0400::/70 0100
2001:0DB8:AAAA:0000:0800::/70 1000
2001:0DB8:AAAA:0000:0C00::/70 1100

Four Bits: The two


leftmost bits are part of
the Subnet-ID, whereas
the two rightmost bits
belong to the Interface
ID.

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

Cisco Public

37

Extend the Subnet ID ( Within a nibble)


Extend 2001:DB8:AAAA/64 network into 2 2001:DB8:AAAA/65 Subnets
In the case where the Subnet boundary is within a Nibble, we have to convert the nibble to
binary to identify the subnets
A nibble is a hexadecimal digit = 4 binary digits
0

65 66 67 68

So we have 1 bit to do subnetting that is 2 Subnets

1st Subnet will have 65th Bit 0 or 0000 which is equal to 0 in Hex
2nd Subnet will have 65th Bit 1 or 1000 in binary = 8 in Hex
1st Subnet is 2001:DB8:AAAA:0000:0000/65
2nd Subnet is 2001:DB8:AAAA:0000:8000/65

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

Cisco Public

38

Extend the Subnet ID ( Within a nibble)


Extend 2001:DB8:AAAA/64 network into 4 2001:DB8:AAAA/66 Subnets
0

65 66 67 68 So we have 2 bits to do subnetting that is 4 Subnets


00 01 10 and 11 in binary are the subnet bits
Add the trailing zeroes 0000 0100 1000 1100
0

in Hex

1st Subnet is 2001:DB8:AAAA:0000:0000/66


2nd Subnet is 2001:DB8:AAAA:0000:4000/66
3rd Subnet is 2001:DB8:AAAA:0000:8000/66
4th Subnet is 2001:DB8:AAAA:0000:C000/66

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

Cisco Public

39

Extend the Subnet ID ( Within a nibble)


Extend 2001:DB8:AAAA/64 network into 8 2001:DB8:AAAA/67 Subnets
0

0 0

65 66 67 68 So we have 3 bits to do subnetting that is 8 Subnets


000 001 010 011 100 101 110 111 in binary are the subnet bits
Add the trailing 0s 0000 0010 0100 0110 1000 1010 1100 1110
0

in hex are the Subnets

1st Subnet is 2001:DB8:AAAA:0000:0000::/67


2nd Subnet is 2001:DB8:AAAA:0000:2000::/67
3rd Subnet is 2001:DB8:AAAA:0000:4000::/67
4th Subnet is 2001:DB8:AAAA:0000:8000::/67

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

Cisco Public

40

Extend the Subnet ID ( Within a nibble)


Extend 2001:DB8:AAAA/64 network into 2001:DB8:AAAA/77 Subnets
So Number of bits for Global Routing Prefix = 64 bits
Number of Subnet bits = 77 64 = 13 bits
2001:DB8:AAAA:0000:SSSX
X is the nibble but lets break down all the subnet bits into binary
0

65 66 67 68 69 70

0 0

71 72 73 74 75 76

77

78

79 80

The first subnet will be 2001:DB8:AAAA:0000:0000/77


The second subnet will be 2001:DB8:AAAA:0000:0008/77
The third Subnet will be 2001:DB8:AAAA:0000:0010/77

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

Cisco Public

41

Other Subnets
6 5 66 67 68

69 70

71 72

73 74 75 76

0 0

0 0

0 0

0 1

0 1

1 1

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

77

Cisco Public

42

Other Subnets in Hex


6 5 66 67 68
0

69 70
0 0

0
0

0
0

0
0

0 0

0 1

1 000

00 00
0

0 1
1

0000

1
0

77

0
0

0 0
0

0
0

73 74 75 76

0
0

71 72

1000
8

2001:DB8 :AAAA:0018/77

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

Cisco Public

43

Identifying the range of IPv6 subnets


What is the range of 2001:DB8:AAAA/96 subnet?
The subnet is 2001:DB8:AAAA:0000:0000:0000
The range is 2001:DB8:AAAA:0000:0000:0000:0000:0000
To

2001:DB8:AAAA:0000:0000:0000:FFFF:FFFF

( All 0s and All Fs in the host part are valid and can be assigned to hosts)
What is range of 2001:DB8:AAAA:FFFF:AAAA:1111:FFFF/112 subnet?
The Subnet is 2001:DB8:AAAA:FFFF:AAAA:1111:FFFF
The range is 2001:DB8:AAAA:FFFF:AAAA:1111:FFFF:0000
To

2001:DB8:AAAA:FFFF:AAAA:1111:FFFF:FFFF

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

Cisco Public

44

Identify the range

Identify the range of the following subnet


2001:DB8:AAAA:0000:0018/77
Lets concentrate on the last 2 nibbles of the 5th Hextet
0001 1000
1

The starting address is the Subnet number and all zeros


2001:DB8:AAAA:0000:0018::/77 The first address is 2001:DB8:AAAA:0000:0018
The last address is the Subnet number and all 0nes
0 0 0 1 1 1 1 1 and 1s till the 128th bit
2001:DB8:AAAA:0000:001F:FFFF:FFFF:FFFF

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

Cisco Public

45

Implementing IPv6

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

Cisco Confidential

46

Lets Configure

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

Cisco Public

47

Configuring a Static Global Unicast Address


R1#conft
R1(config)#interfacefastethernet0/0

Exactly the same as an IPv4 address only different.

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

Cisco Public

48

Configuring a Static Global Unicast Address


R1#conft
R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::1/64
No space

Exactly the same as an IPv4 address only different.


No space between IPv6 address and Prefix-length.

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

Cisco Public

49

Configuring a Static Global Unicast Address


R1#conft
R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::1/64
R1(configif)#noshutdown
R1(configif)#exit

No space

R1(config)#

Exactly the same as an IPv4 address only different.


No space between IPv6 address and Prefix-length.

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

Cisco Public

50

Configuring a Static Global Unicast Address


R1#conft
R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::1/64
R1(configif)#noshutdown
R1(configif)#exit

No space

R1(config)#

Exactly the same as an IPv4 address only different.


No space between IPv6 address and Prefix-length.
IOS commands for IPv6 are very similar to their IPv4 counterpart.

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

Cisco Public

51

Configuring a Static Global Unicast Address


R1#conft
R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::1/64
R1(configif)#noshutdown
R1(configif)#exit

No space

R1(config)#

Exactly the same as an IPv4 address only different.


No space between IPv6 address and Prefix-length.
IOS commands for IPv6 are very similar to their IPv4 counterpart.
All 0s and all 1s are valid IPv6 host IPv6 addresses.

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

Cisco Public

52

show running-config command on router R1


R1#showrunningconfig
<outputomittedforbrevity>

interfaceFastEthernet0/0

noipaddress
duplexauto
speedauto
ipv6address2001:DB8:CAFE:1::1/64
!

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

Cisco Public

53

show ipv6 interface brief command on router R1


R1#showipv6interfacebrief

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

Cisco Public

54

show ipv6 interface brief command on router R1


R1#showipv6interfacebrief
FastEthernet0/0[up/up]
FE80::203:6BFF:FEE9:D480
2001:DB8:CAFE:1::1
Global unicast address
R1#

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

Cisco Public

55

show ipv6 interface brief command on router R1


R1#showipv6interfacebrief
FastEthernet0/0[up/up]
Link-local unicast address
FE80::203:6BFF:FEE9:D480
2001:DB8:CAFE:1::1
Global unicast address
R1#

Link-local address automatically created when (before) the global


unicast address is.

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

Cisco Public

56

show ipv6 interface brief command on router R1


R1#showipv6interfacebrief
FastEthernet0/0[up/up]
FE80::203:6BFF:FEE9:D480
Link-local unicast address
2001:DB8:CAFE:1::1
Global unicast address
R1#

Link-local address automatically created when (before) the global


unicast address is.
We will discuss link-local addresses very soon.

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

Cisco Public

57

show ipv6 interface fastethernet 0/0 command on R1


R1#showipv6interfacefastethernet0/0
FastEthernet0/0isup,lineprotocolisup
IPv6isenabled,linklocaladdressis
FE80::203:6BFF:FEE9:D480

Globalunicastaddress(es):
2001:DB8:CAFE:1::1,subnetis
2001:DB8:CAFE:1::/64
Joinedgroupaddress(es):
FF02::1
FF02::2
FF02::1:FF00:1
FF02::1:FFC2:828D
MTUis1500bytes
<outputomittedforbrevity>
R1#
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

58

PC-1: Static Global Unicast Address

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

Cisco Public

59

PC-1: Static Global Unicast Address

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

Cisco Public

60

PC-1: Static Global Unicast Address

PC1> ip con f i
g
W indow s IP Confi
guration
Ethernet adapter LocalArea Connection:
Connection-specifi
c D N S Suf f
x .:
i
IPv6 Address...........: 2001:db8:cafe:1::100
Link-localIPv6 Address .....: fe80::50a5:8a35:a5bb:66e1% 11
D efault G atew ay .........: 2001:db8:cafe:1::1

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

Cisco Public

61

Global Unicast

Manual

IPv6 Address

Static

Dynamic

IPv6
Unnumbered

Stateless
Autoconfiguration

DHCPv6

EUI-64

Modified EUI-64 Format: Creates a 64-bit Interface ID from a 48-bit


MAC address

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

Cisco Public

62

Modified Extended Unique Identifier-64


or
Modified EUI-64

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

Cisco Public

63

R1(config)#interfacefastethernet0/0

Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64

R1
Fa0/0

Routers global unicast


address can be
configured with:
Statically configured
prefix and

2001:0DB8:CAFE:1::/64
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

64

R1(config)#interfacefastethernet0/0

Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64

R1
Fa0/0

Routers global unicast


address can be
configured with:
Statically configured
prefix and
EUI-64 generated
Interface ID

2001:0DB8:CAFE:1::/64
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

65

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64?

Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64

R1
Fa0/0

Routers global unicast


address can be
configured with:
Statically configured
prefix and
EUI-64 generated
Interface ID

2001:0DB8:CAFE:1::/64
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

66

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64?
eui64Useeui64interfaceidentifier
<cr><<<All0saddressisokay!

Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64

R1
Fa0/0

Routers global unicast


address can be
configured with:
Statically configured
prefix and
EUI-64 generated
Interface ID

2001:0DB8:CAFE:1::/64
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

67

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64?
eui64Useeui64interfaceidentifier
<cr><<<All0saddressisokay!
R1(configif)#ipv6address2001:0db8:cafe:0001::/64
eui64
R1(configif)#

Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64

R1
Fa0/0

Routers global unicast


address can be
configured with:
Statically configured
prefix and
EUI-64 generated
Interface ID

2001:0DB8:CAFE:1::/64
2013 Cisco and/or its affiliates. All rights reserved.

Cisco Public

68

R1s MAC Address for FastEthernet 0/0


R1#showinterfacefastethernet0/0
FastEthernet0/0isup,lineprotocolisup
HardwareisAmdFE,addressis0003.6be9.d480(bia
0003.6be9.d480)
<outputomittedforbrevity>
Ethernet MAC address

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

Cisco Public

69

R1s MAC Address for FastEthernet 0/0


R1#showinterfacefastethernet0/0
FastEthernet0/0isup,lineprotocolisup
HardwareisAmdFE,addressis0003.6be9.d480(bia
0003.6be9.d480)
<outputomittedforbrevity>
Ethernet MAC address

Device Identifier
24 bits

OUI
24 bits

Hexadecimal

Binary

00

03

6B

E9

D4

80

0000 0000

0000 0011

0110 1011

1110
1001

1101 0100

1000 0000

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

Cisco Public

70

OUI
24 bits

Modified EUI-64 Format


Hexadecimal

00

03

Device Identifier
24 bits

6B

E9

D4

80

1110
1001

1101 0100

Step 1: Split the MAC address


Binary 0000 0000

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

0000 0011

0110 1011

1000 0000

Cisco Public

71

OUI
24 bits

Modified EUI-64 Format


Hexadecimal

00

03

Device Identifier
24 bits

6B

E9

D4

80

1110
1001

1101 0100

1000 0000

1110
1001

1101 0100

1000 0000

Step 1: Split the MAC address


Binary 0000 0000

0000 0011

0110 1011

Step 2: Insert FFFE


Binary 0000 0000 0000 0011

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

0110 1011

1111 1111

F E
1111 1110

Cisco Public

72

OUI
24 bits

Modified EUI-64 Format


Hexadecimal

00

03

Device Identifier
24 bits

6B

E9

D4

80

1110
1001

1101 0100

1000 0000

1110
1001

1101 0100

1000 0000

Step 1: Split the MAC address


Binary 0000 0000

0000 0011

0110 1011

Step 2: Insert FFFE


Binary 0000 0000 0000 0011

F E

0110 1011

1111 1111

1111 1110

0110 1011

1111 1111

1111 1110

Step 3: Flip the U/L bit


Binary 0000 0010

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

0000 0011

1110
1001

1101 0100

1000 0000

Cisco Public

73

OUI
24 bits

Modified EUI-64 Format


Hexadecimal

00

03

Device Identifier
24 bits

6B

E9

D4

80

1110
1001

1101 0100

1000 0000

1110
1001

1101 0100

1000 0000

Step 1: Split the MAC address


Binary 0000 0000

0000 0011

0110 1011

Step 2: Insert FFFE


Binary 0000 0000 0000 0011

F E

0110 1011

1111 1111

1111 1110

0110 1011

1111 1111

1111 1110

1110
1001

1101 0100

1000 0000

FF

FE

E9

D4

80

Step 3: Flip the U/L bit


Binary 0000 0010

0000 0011

Modified EUI-64 Interface ID in Hexadecimal Notation


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

02

03

6B

Cisco Public

74

Configuring IPv6 address on Fa 0/0 using EUI-64 format

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64

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

Cisco Public

75

Configuring IPv6 address on Fa 0/0 using EUI-64 format


0
0000
0000 0000 0000
1 0000 0000 0000
0000 0010 0000
2 0
2
0
3

0
0000
0011
0011
0011
3

0
3
. 6
b
e
9
. D
4
8
0
0000 0011 . 0110 1011 1110 1001 . 0111 0100 1000 0000
. 0110 1011
1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 6
b
F
F
F E
e
9
. D
4
8
0

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64

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

Cisco Public

76

Configuring IPv6 address on Fa 0/0 using EUI-64 format


0
0000
0000 0000 0000
1 0000 0000 0000
0000 0010 0000
2 0
2
0
3

0
0000
0011
0011
0011
3

Global unicast address:

0
3
. 6
b
e
9
. D
4
8
0
0000 0011 . 0110 1011 1110 1001 . 0111 0100 1000 0000
. 0110 1011
1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 6
b
F
F
F E
e
9
. D
4
8
0

2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64

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

Cisco Public

77

Configuring IPv6 address on Fa 0/0 using EUI-64 format


0
0000
0000 0000 0000
1 0000 0000 0000
0000 0010 0000
2 0
2
0
3

0
0000
0011
0011
0011
3

Global unicast address:

0
3
. 6
b
e
9
. D
4
8
0
0000 0011 . 0110 1011 1110 1001 . 0111 0100 1000 0000
. 0110 1011
1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 6
b
F
F
F E
e
9
. D
4
8
0

2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480
Interface ID
(EUI-64 format)

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64

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

Cisco Public

78

Configuring IPv6 address on Fa 0/0 using EUI-64 format


0
0000
0000 0000 0000
1 0000 0000 0000
0000 0010 0000
2 0
2
0
3

0
0000
0011
0011
0011
3

Global unicast address:

0
3
. 6
b
e
9
. D
4
8
0
0000 0011 . 0110 1011 1110 1001 . 0111 0100 1000 0000
. 0110 1011
1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 0110 1011 11111111 11111110 1110 1001 . 0111 0100 1000 0000
. 6
b
F
F
F E
e
9
. D
4
8
0

2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480
Subnet Prefix
(Manually configured)

Interface ID
(EUI-64 format)

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64

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

Cisco Public

79

R1(config)#interfacefastethernet0/0
R1(configif)#ipv6address2001:0db8:cafe:0001::/64eui64
R1#showipv6interfacefastethernet0/0
FastEthernet0/0isup,lineprotocolisup
IPv6isenabled,linklocaladdressisFE80::203:6BFF:FEE9:D480
Globalunicastaddress(es):
2001:DB8:CAFE:1:203:6BFF:FEE9:D480,
subnetis2001:DB8:CAFE:1::/64
Address using EUI-64 format
<outputomittedforbrevity>

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

Cisco Public

80

Questions and Answers

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

Cisco Public

81

Thank you.

You might also like