SlideShare a Scribd company logo
IPv6 SLAAC Concepts
SLAAC is Stateless Address Auto-configuration
SLAAC Defined
• Like IPv4, there are a number of different ways that a host can be addressed in IPv6; the
two most common in IPv4 are static addressing and dynamic address configuration via
the Dynamic Host Configuration Protocol (DHCP). Often the reason that engineers use
DHCP is that it not only provides a method of dynamically assigning addresses, it also
provides a way to assign the host devices other service information like DNS servers,
domain names, and a number of different custom information.
• To perform address configuration on IPv6 there are a couple of familiar methods and a
few additional methods, including: static addressing, static addressing with DHCPv6
(stateless), dynamic addressing via DHCPv6 (Stateful), SLAAC alone, or SLAAC with
DHCPv6 (Stateless). IPv6 static addressing works exactly the same as IPv4 static
addressing so there is no mystery there. IPv6 does, however, provide two different ways
of implementing DHCP, either stateful (e.g., when an IPv4 DHCP server tracks the
addresses that are given out) and stateless. Stateless DHCP does not track what
information is given out to clients and does not give out IPv6 addresses; instead, it
provides the extra information that most people relate with typical DHCP assignment,
e.g., DNS server information. Stateless DHCP is then matched up with another
mechanism (such as Static addressing or SLAAC) for IPv6 address assignment.
SLAAC Defined (Cont.)
• SLAAC provides the ability to address a host based on a network prefix that is advertised from a
local network router via Router Advertisements (RA). RA messages are sent by default by most
IPV6 routers; these messages are sent out periodically by the router and include information
including:
• One or more IPv6 prefixes (Link-local scope)
• Prefix lifetime information
• Flag information
• Default device information (Default router to use and its lifetime)
• SLAAC is implemented on the IPv6 client by listening for these local RA’s and then taking the
prefix that is advertised to form a unique address that can be used on the network. For this to
work, the prefix that is advertised must advertise a prefix length of 64 bits (i.e., /64); SLAAC will
then dynamically form a host identifier that is 64 bits long and will be suffixed to the end of the
advertised prefix to form an IPv6 address. Originally, the host identifier was formed using the EUI-
64 rules (the same that are used to form link local addresses) and many devices still use this
method. However, some Microsoft operating systems by default do not use this original method.
Instead, they take advantage of some additional privacy extensions that were defined in RFC4941.
SLAAC - Example topology
SLAAC - Example topology discussion
• If the hosts (H1-H4) shown in Figure 1 were using the EUI-64 method of host identification, the IPv6
addresses created using SLAAC would be:
• H1 – 2000:1234:5678::12FF:FE34:5678
• H2 – 2000:1234:5678::EBFF:FEA4:C1AE
• H3 – 2000:1234:5678::BAFF:FE24:C4AE
• H4 – 2000:1234:5678::84FF:FE67:AEFC
• To be thorough, the EUI-64 process will be outlined for H1 as follows:
• The prefix 2000:1234:5678::/64 will be learned from R1’s RA messages and will be the initial prefix.
• The client identifier would then be created from the MAC address that is assigned to H1, in this case
0200:1234:5678. The first step of EUI-64 conversion is to split the MAC address in half and place FF:FE in the
middle, which results in 0200:12FF:FE34:5678. Then the seventh bit will be flipped, in this case the first 8
bits is 00000010 (0x02). Next, the seventh bit is flipped and the bit becomes 0, resulting in 00000000 (0x00);
this gives a final host identifier result of 0000:12FF:FE34:5678. When the prefix and the host identifier are
brought together, it results in an IPv6 address that is used for H1 of
2000:1234:5678:0000:0000:12FF:FE34:5678, which can be shortened to 2000:1234:5678::12FF:FE34:5678.
IPv6 SLAAC Configuration
The basic configuration of SLAAC on a Cisco device is quite simple.
Basic IPv6 SLAAC Configuration
1 Enter privileged EXEC mode Router>enable
2 Enter global configuration mode Router#configure terminal
4 Enable IPv6 routing Router(config)#ipv6 unicast-routing
4 Enter interface configuration mode Router(config)#interface interface
5 Configure an IPv6 address Router(config-if)#ipv6 address ipv6-address/prefix-
length
6 Enable the interface Router(config-if)#no shutdown
Basic IPv6 SLAAC Example Configuration
1 Enter privileged EXEC mode R1>enable
2 Enter global configuration mode R1#configure terminal
4 Enable IPv6 routing R1(config)#ipv6 unicast-routing
4 Enter interface configuration mode R1(config)#interface fa0/0
5 Configure an IPv6 address R1(config-if)#ipv6 address 2000:1234:5678::1001:1/64
6 Enable the interface R1(config-if)#no shutdown

More Related Content

What's hot

Basic of IPv6
Basic of IPv6Basic of IPv6
Basic of IPv6
Jubin Aghara
 
Part1
Part1Part1
IPv6 - Jozi Linux User Group Presentation
IPv6  - Jozi Linux User Group PresentationIPv6  - Jozi Linux User Group Presentation
IPv6 - Jozi Linux User Group Presentation
Jumping Bean
 
E rou01 routing_basics
E rou01 routing_basicsE rou01 routing_basics
E rou01 routing_basics
tanawan44
 
DHCP basics
DHCP basicsDHCP basics
DHCP basics
Mansi Kansara
 
About IPv6
About IPv6About IPv6
About IPv6
Marco Antonio
 
BGP
BGPBGP
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
balamurugan N
 
IPv6 theoryfinalx
IPv6 theoryfinalxIPv6 theoryfinalx
IPv6 theoryfinalx
Pawan Sharma
 
Multi-Area_OSPF_Network_Design
Multi-Area_OSPF_Network_DesignMulti-Area_OSPF_Network_Design
Multi-Area_OSPF_Network_Design
Edward Sun
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
Reza Farahani
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 Fundamentals
Matt Bynum
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
Mobile computing Mobile Transport Layer
Mobile computing Mobile Transport LayerMobile computing Mobile Transport Layer
Mobile computing Mobile Transport Layer
Jyothishmathi Institute of Technology and Science Karimnagar
 
BGP Prime
BGP Prime BGP Prime
BGP Prime
KHNOG
 
SGNOG2 - Using communities for multihoming ISP workshop
SGNOG2 - Using communities for multihoming ISP workshopSGNOG2 - Using communities for multihoming ISP workshop
SGNOG2 - Using communities for multihoming ISP workshop
APNIC
 
Bgp (1)
Bgp (1)Bgp (1)
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
APNIC
 
IPv6 Best Practice
IPv6 Best PracticeIPv6 Best Practice
IPv6 Best Practice
flyingpotato
 
IPv6 By Vipin
IPv6 By VipinIPv6 By Vipin
IPv6 By Vipin
Vipin Mundayad
 

What's hot (20)

Basic of IPv6
Basic of IPv6Basic of IPv6
Basic of IPv6
 
Part1
Part1Part1
Part1
 
IPv6 - Jozi Linux User Group Presentation
IPv6  - Jozi Linux User Group PresentationIPv6  - Jozi Linux User Group Presentation
IPv6 - Jozi Linux User Group Presentation
 
E rou01 routing_basics
E rou01 routing_basicsE rou01 routing_basics
E rou01 routing_basics
 
DHCP basics
DHCP basicsDHCP basics
DHCP basics
 
About IPv6
About IPv6About IPv6
About IPv6
 
BGP
BGPBGP
BGP
 
Ipv6 cheat sheet
Ipv6 cheat sheetIpv6 cheat sheet
Ipv6 cheat sheet
 
IPv6 theoryfinalx
IPv6 theoryfinalxIPv6 theoryfinalx
IPv6 theoryfinalx
 
Multi-Area_OSPF_Network_Design
Multi-Area_OSPF_Network_DesignMulti-Area_OSPF_Network_Design
Multi-Area_OSPF_Network_Design
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 Fundamentals
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
Mobile computing Mobile Transport Layer
Mobile computing Mobile Transport LayerMobile computing Mobile Transport Layer
Mobile computing Mobile Transport Layer
 
BGP Prime
BGP Prime BGP Prime
BGP Prime
 
SGNOG2 - Using communities for multihoming ISP workshop
SGNOG2 - Using communities for multihoming ISP workshopSGNOG2 - Using communities for multihoming ISP workshop
SGNOG2 - Using communities for multihoming ISP workshop
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
 
IPv6 Best Practice
IPv6 Best PracticeIPv6 Best Practice
IPv6 Best Practice
 
IPv6 By Vipin
IPv6 By VipinIPv6 By Vipin
IPv6 By Vipin
 

Similar to Ipv6 slaac concepts and configuration

Ipv6 slaac a light weight tool
Ipv6 slaac  a light weight toolIpv6 slaac  a light weight tool
Ipv6 slaac a light weight tool
Dipankar Shaw
 
IPv6
IPv6IPv6
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2
ehsan nazer
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
GeorgeThoreJr
 
7 slaac-rick graziani
7 slaac-rick graziani7 slaac-rick graziani
7 slaac-rick graziani
Alejandro Reyes
 
Lesson 3: IPv6 Fundamentals
Lesson 3: IPv6 FundamentalsLesson 3: IPv6 Fundamentals
Lesson 3: IPv6 Fundamentals
Mahmmoud Mahdi
 
IPv6 DHCP
IPv6 DHCPIPv6 DHCP
IPv6 DHCP
Irsandi Hasan
 
IPv6
IPv6IPv6
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
newbie2019
 
IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
Shane Duffy
 
Dhcp presentation
Dhcp presentationDhcp presentation
I pv6 for cmu
I pv6 for cmuI pv6 for cmu
I pv6 for cmu
Naranont Atima
 
07_IP_Addressing.pdf
07_IP_Addressing.pdf07_IP_Addressing.pdf
07_IP_Addressing.pdf
AdelfaJoycePagobo
 
07_IP_Addressing ayudaok.pdf
07_IP_Addressing ayudaok.pdf07_IP_Addressing ayudaok.pdf
07_IP_Addressing ayudaok.pdf
Josue138778
 
IPv6 address-planning
IPv6 address-planningIPv6 address-planning
IPv6 address-planning
Tim Martin
 
CCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukarCCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukar
ALLCAD Services Pvt Limited
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
Configurar dhcp en router cisco
Configurar dhcp en router ciscoConfigurar dhcp en router cisco
Configurar dhcp en router cisco
Guiro Lin
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshop
Nguyen Minh Thu
 
Autoconfig
AutoconfigAutoconfig
Autoconfig
Fred Bovy
 

Similar to Ipv6 slaac concepts and configuration (20)

Ipv6 slaac a light weight tool
Ipv6 slaac  a light weight toolIpv6 slaac  a light weight tool
Ipv6 slaac a light weight tool
 
IPv6
IPv6IPv6
IPv6
 
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
7 slaac-rick graziani
7 slaac-rick graziani7 slaac-rick graziani
7 slaac-rick graziani
 
Lesson 3: IPv6 Fundamentals
Lesson 3: IPv6 FundamentalsLesson 3: IPv6 Fundamentals
Lesson 3: IPv6 Fundamentals
 
IPv6 DHCP
IPv6 DHCPIPv6 DHCP
IPv6 DHCP
 
IPv6
IPv6IPv6
IPv6
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
I pv6 for cmu
I pv6 for cmuI pv6 for cmu
I pv6 for cmu
 
07_IP_Addressing.pdf
07_IP_Addressing.pdf07_IP_Addressing.pdf
07_IP_Addressing.pdf
 
07_IP_Addressing ayudaok.pdf
07_IP_Addressing ayudaok.pdf07_IP_Addressing ayudaok.pdf
07_IP_Addressing ayudaok.pdf
 
IPv6 address-planning
IPv6 address-planningIPv6 address-planning
IPv6 address-planning
 
CCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukarCCNA CHAPTER 16 BY jetarvind kumar madhukar
CCNA CHAPTER 16 BY jetarvind kumar madhukar
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
Configurar dhcp en router cisco
Configurar dhcp en router ciscoConfigurar dhcp en router cisco
Configurar dhcp en router cisco
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshop
 
Autoconfig
AutoconfigAutoconfig
Autoconfig
 

Recently uploaded

ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 

Recently uploaded (20)

ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 

Ipv6 slaac concepts and configuration

  • 1. IPv6 SLAAC Concepts SLAAC is Stateless Address Auto-configuration
  • 2. SLAAC Defined • Like IPv4, there are a number of different ways that a host can be addressed in IPv6; the two most common in IPv4 are static addressing and dynamic address configuration via the Dynamic Host Configuration Protocol (DHCP). Often the reason that engineers use DHCP is that it not only provides a method of dynamically assigning addresses, it also provides a way to assign the host devices other service information like DNS servers, domain names, and a number of different custom information. • To perform address configuration on IPv6 there are a couple of familiar methods and a few additional methods, including: static addressing, static addressing with DHCPv6 (stateless), dynamic addressing via DHCPv6 (Stateful), SLAAC alone, or SLAAC with DHCPv6 (Stateless). IPv6 static addressing works exactly the same as IPv4 static addressing so there is no mystery there. IPv6 does, however, provide two different ways of implementing DHCP, either stateful (e.g., when an IPv4 DHCP server tracks the addresses that are given out) and stateless. Stateless DHCP does not track what information is given out to clients and does not give out IPv6 addresses; instead, it provides the extra information that most people relate with typical DHCP assignment, e.g., DNS server information. Stateless DHCP is then matched up with another mechanism (such as Static addressing or SLAAC) for IPv6 address assignment.
  • 3. SLAAC Defined (Cont.) • SLAAC provides the ability to address a host based on a network prefix that is advertised from a local network router via Router Advertisements (RA). RA messages are sent by default by most IPV6 routers; these messages are sent out periodically by the router and include information including: • One or more IPv6 prefixes (Link-local scope) • Prefix lifetime information • Flag information • Default device information (Default router to use and its lifetime) • SLAAC is implemented on the IPv6 client by listening for these local RA’s and then taking the prefix that is advertised to form a unique address that can be used on the network. For this to work, the prefix that is advertised must advertise a prefix length of 64 bits (i.e., /64); SLAAC will then dynamically form a host identifier that is 64 bits long and will be suffixed to the end of the advertised prefix to form an IPv6 address. Originally, the host identifier was formed using the EUI- 64 rules (the same that are used to form link local addresses) and many devices still use this method. However, some Microsoft operating systems by default do not use this original method. Instead, they take advantage of some additional privacy extensions that were defined in RFC4941.
  • 4. SLAAC - Example topology
  • 5. SLAAC - Example topology discussion • If the hosts (H1-H4) shown in Figure 1 were using the EUI-64 method of host identification, the IPv6 addresses created using SLAAC would be: • H1 – 2000:1234:5678::12FF:FE34:5678 • H2 – 2000:1234:5678::EBFF:FEA4:C1AE • H3 – 2000:1234:5678::BAFF:FE24:C4AE • H4 – 2000:1234:5678::84FF:FE67:AEFC • To be thorough, the EUI-64 process will be outlined for H1 as follows: • The prefix 2000:1234:5678::/64 will be learned from R1’s RA messages and will be the initial prefix. • The client identifier would then be created from the MAC address that is assigned to H1, in this case 0200:1234:5678. The first step of EUI-64 conversion is to split the MAC address in half and place FF:FE in the middle, which results in 0200:12FF:FE34:5678. Then the seventh bit will be flipped, in this case the first 8 bits is 00000010 (0x02). Next, the seventh bit is flipped and the bit becomes 0, resulting in 00000000 (0x00); this gives a final host identifier result of 0000:12FF:FE34:5678. When the prefix and the host identifier are brought together, it results in an IPv6 address that is used for H1 of 2000:1234:5678:0000:0000:12FF:FE34:5678, which can be shortened to 2000:1234:5678::12FF:FE34:5678.
  • 6. IPv6 SLAAC Configuration The basic configuration of SLAAC on a Cisco device is quite simple.
  • 7. Basic IPv6 SLAAC Configuration 1 Enter privileged EXEC mode Router>enable 2 Enter global configuration mode Router#configure terminal 4 Enable IPv6 routing Router(config)#ipv6 unicast-routing 4 Enter interface configuration mode Router(config)#interface interface 5 Configure an IPv6 address Router(config-if)#ipv6 address ipv6-address/prefix- length 6 Enable the interface Router(config-if)#no shutdown
  • 8. Basic IPv6 SLAAC Example Configuration 1 Enter privileged EXEC mode R1>enable 2 Enter global configuration mode R1#configure terminal 4 Enable IPv6 routing R1(config)#ipv6 unicast-routing 4 Enter interface configuration mode R1(config)#interface fa0/0 5 Configure an IPv6 address R1(config-if)#ipv6 address 2000:1234:5678::1001:1/64 6 Enable the interface R1(config-if)#no shutdown