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

Download Report

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

© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
1
Structure of Global Unicast IPv6 Address
Global Unicast Addresses and the 3-1-4 rule
Global Routing Prefix Sizes
Subnetting IPv6
Let’s configure
Modified EUI-64
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
2
IPv6 Address Types: Starting with Global Unicast
IPv6 Addressing
Unicast
Multicast
Assigned
Global Unicast
2000::/3
3FFF::/3
Link-Local
FE80::/10
FEBF::/10
Anycast
Solicited Node
FF00::/8
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
3
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
4
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
5
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
6
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.
IANA’s allocation of IPv6 address space in 1/8th
sections
7
Cisco Public
7
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
8
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
9
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
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
/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
11
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 0’s and all 1’s.) 
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
12
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
13
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
14
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
15
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
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
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
3
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
3
16 bits
16 bits
16 bits
16 bits
Interface ID
1
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
19
Global Unicast Addresses and the 3-1-4 rule
/48
16 bits
16 bits
16 bits
/64
16 bits
Global Routing Prefix Subnet ID
3
1
16 bits
16 bits
16 bits
16 bits
Interface ID
4
2001 : 0DB8 : AAAA : 1111 : 0000 : 0000 : 0000 : 0100
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
20
Global Routing Prefix Sizes
Global Routing Prefix
© 2013 Cisco and/or its affiliates. All rights reserved.
Subnet ID
Interface ID
Cisco Public
21
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
22
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
23
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
24
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
25
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
26
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
27
2340:1111:AAAA::/48
 4 specific subnets could be:
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
28
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 0’s from the first
shown quartet.
2340:1111:AAAA:1::/64
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
29
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
30
Subnetting into the Interface ID
/112
/48
48 bits
64 bits
Global Routing Prefix
Subnet ID
Prefix
Global Routing Prefix
2001 : 0DB8 : AAAA : 0000
2001 : 0DB8 : AAAA : 0000
2001 : 0DB8 : AAAA : 0000
thru
2001 : 0DB8 : AAAA : FFFF
2001 : 0DB8 : AAAA : FFFF
© 2013 Cisco and/or its affiliates. All rights reserved.
16bits
Interface ID
Subnet-ID
Interface ID
: 0000 : 0000 : 0000 : 0000
: 0000 : 0000 : 0001 : 0000
: 0000 : 0000 : 0002 : 0000
: FFFF : FFFF : FFFE : 0000
: FFFF : FFFF : FFFF : 0000
Cisco Public
31
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:
/64, /68, /72, etc.
2001:0DB8:AAAA:0000:0000::/68
2001:0DB8:AAAA:0000:1000::/68
2001:0DB8:AAAA:0000:2000::/68
Just increment by 1
in hex
through
2001:0DB8:AAAA:FFFF:F000::/68
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
32
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
33
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
34
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
35
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
36
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
37
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
38
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
0
0
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
39
Extend 2001:DB8:AAAA/64 network into 4 2001:DB8:AAAA/66 Subnets
0
0
0
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
4
8
C
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
40
Extend 2001:DB8:AAAA/64 network into 8 2001:DB8:AAAA/67 Subnets
0
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 0’s 0000 0010 0100 0110 1000 1010 1100 1110
0
2
4
6
8
A
C
E
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
41
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
0
0
0
0
0
65 66 67 68 69 70
0
0 0
0
0
0
0
0
71 72 73 74 75 76
77
78
0
0
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
42
6 5 66 67 68
69 70
71 72
73 74 75 76
0
0
0
0
0 0
0
0
0
0
0 0
0
0
0
0
0
0
0
0
0
0
0
0 0
1
0
0
0
0
0
0
0
0
0
0
0 1
0
0
0
0
0
0
0
0
0
0
0
0 1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
1
1
1
1
1
1
1
1 1
1
© 2013 Cisco and/or its affiliates. All rights reserved.
1
1
77
Cisco Public
43
6 5 66 67 68
69 70
71 72
73 74 75 76
0
0 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 0
0
0
0
0 1
0
1
1 000
8
1
0
0000
0
0
0
0
0 0
0
0
0
0
0
0
0
0
77
00 00
0
0 1
1000
8
2001:DB8 :AAAA:0018/77
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
44
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 0’s and All F’s 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
45
Identify the range of the following subnet
2001:DB8:AAAA:0000:0018/77
Let’s concentrate on the last 2 nibbles of the 5th Hextet
0001 1000
1
8
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 1’s till the 128th bit
2001:DB8:AAAA:0000:001F:FFFF:FFFF:FFFF
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
46
Let’s Configure
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
47
Please open IPv6_Task1 in the PT Folder
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
48
Configuring a Static Global Unicast Address
R1# conf t
R1(config)# interface fastethernet 0/0
• Exactly the same as an IPv4 address only different.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
49
Configuring a Static Global Unicast Address
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001: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
50
Configuring a Static Global Unicast Address
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::1/64
R1(config-if)# no shutdown
No space
R1(config-if)# exit
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
51
Configuring a Static Global Unicast Address
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::1/64
R1(config-if)# no shutdown
No space
R1(config-if)# exit
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
52
Configuring a Static Global Unicast Address
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::1/64
R1(config-if)# no shutdown
No space
R1(config-if)# exit
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 0’s and all 1’s are valid IPv6 host IPv6 addresses.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
53
show running-config command on router R1
R1# show running-config
<output omitted for brevity>
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001:DB8:CAFE:1::1/64
!
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
54
show ipv6 interface brief command on router R1
R1# show ipv6 interface brief
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
55
show ipv6 interface brief command on router R1
R1# show ipv6 interface brief
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
56
show ipv6 interface brief command on router R1
R1# show ipv6 interface brief
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.
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
57
show ipv6 interface brief command on router R1
R1# show ipv6 interface brief
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
58
show ipv6 interface fastethernet 0/0 command on R1
R1# show ipv6 interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is
FE80::203:6BFF:FEE9:D480
Global unicast address(es):
2001:DB8:CAFE:1::1, subnet is 2001:DB8:CAFE:1::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:1
FF02::1:FFC2:828D
MTU is 1500 bytes
<output omitted for brevity>
R1#
© 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
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
61
PC-1: Static Global Unicast Address
PC1> ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix
. :
IPv6 Address. . . . . . . . . . . : 2001:db8:cafe:1::100
Link-local IPv6 Address . . . . . : fe80::50a5:8a35:a5bb:66e1%11
Default Gateway . . . . . . . . . : 2001:db8:cafe:1::1
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
62
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
63
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
64
R1(config)# interface fastethernet 0/0
Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64
R1
Fa0/0
• Router’s 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
65
R1(config)# interface fastethernet 0/0
Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64
2001:0DB8:CAFE:1::/64
© 2013 Cisco and/or its affiliates. All rights reserved.
R1
Fa0/0
• Router’s global unicast
address can be configured
with:
• Statically configured
prefix and …
• EUI-64 generated
Interface ID
Cisco Public
66
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 ?
Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64
2001:0DB8:CAFE:1::/64
© 2013 Cisco and/or its affiliates. All rights reserved.
R1
Fa0/0
• Router’s global unicast
address can be configured
with:
• Statically configured
prefix and …
• EUI-64 generated
Interface ID
Cisco Public
67
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 ?
eui-64 Use eui-64 interface identifier
<cr> <<< All0’s address is okay!
Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64
2001:0DB8:CAFE:1::/64
© 2013 Cisco and/or its affiliates. All rights reserved.
R1
Fa0/0
• Router’s global unicast
address can be configured
with:
• Statically configured
prefix and …
• EUI-64 generated
Interface ID
Cisco Public
68
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 ?
eui-64 Use eui-64 interface identifier
<cr> <<< All0’s address is okay!
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
R1(config-if)#
Global Unicast:
Prefix: 2001:0DB8:CAFE:1::/64
Interface ID: EUI-64
2001:0DB8:CAFE:1::/64
© 2013 Cisco and/or its affiliates. All rights reserved.
R1
Fa0/0
• Router’s global unicast
address can be configured
with:
• Statically configured
prefix and …
• EUI-64 generated
Interface ID
Cisco Public
69
R1’s MAC Address for FastEthernet 0/0
R1# show interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 0003.6be9.d480 (bia
0003.6be9.d480)
Ethernet MAC address
<output omitted for brevity>
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
70
R1’s MAC Address for FastEthernet 0/0
R1# show interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 0003.6be9.d480 (bia
0003.6be9.d480)
Ethernet MAC address
<output omitted for brevity>
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
71
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
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
F
Step 2: Insert FFFE
Binary 0000 0000 0000 0011
© 2013 Cisco and/or its affiliates. All rights reserved.
0110 1011
F
1111 1111
F E
1111 1110
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
1101 0100
1000 0000
Step 1: Split the MAC address
Binary 0000 0000
0000 0011
0110 1011
F
Step 2: Insert FFFE
Binary 0000 0000 0000 0011
F
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
Cisco Public
74
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
F
Step 2: Insert FFFE
Binary 0000 0000 0000 0011
F
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
75
Configuring IPv6 address on Fa 0/0 using EUI-64 format
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
© 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
1 0000 0000 0000
2 0000 0000 0000
3 0000 0010 0000
0
2
0
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)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
© 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
1 0000 0000 0000
2 0000 0000 0000
3 0000 0010 0000
0
2
0
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
Global unicast address:
2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
© 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
1 0000 0000 0000
2 0000 0000 0000
3 0000 0010 0000
0
2
0
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
Global unicast address:
2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480
Interface ID
(EUI-64 format)
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
79
Configuring IPv6 address on Fa 0/0 using EUI-64 format
0
0000
1 0000 0000 0000
2 0000 0000 0000
3 0000 0010 0000
0
2
0
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
Global unicast address:
2001:0DB8:CAFE:0001:0203:6BFF:FEE9:D480
Subnet Prefix
(Manually configured)
Interface ID
(EUI-64 format)
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
80
R1(config)# interface fastethernet 0/0
R1(config-if)# ipv6 address 2001:0db8:cafe:0001::/64 eui-64
R1# show ipv6 interface fastethernet 0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480
Global unicast address(es):
2001:DB8:CAFE:1:203:6BFF:FEE9:D480,
subnet is 2001:DB8:CAFE:1::/64
Address using EUI-64 format
<output omitted for brevity>
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
81
Please open IPv6_Task2 in the PT Folder
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
82
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
83
Thank you.