SlideShare a Scribd company logo
IPv6 Introduction
Agenda
• IPv6 Addressing
– What is IPv6
– ICMPv6 (Stateless)
– DHCPv6 (Stateful)
• IPv6 Routing
– Static Routing
– Adaptive Routing
• IPv6 Service
– DNSv6
– IPv6 to IPv4 Transition
• Linux IPv6 Implementation
IPv4/IPv6 Protocol Stack
What is IPv6
• IPv4 (32bits) → IPv6 (128 bits)
– 2001:0db8:1a2b:0015:0000:0000:1a2f:0000
• 2001:db8:1a2b:15:0:0:1a2f:0
– (0 can ignore)
• 2001:db8:1a2b:15::1a2f:0
– multiple “0” block can combine to :: (only once)
• Prefix is network address
– 2001:0:0:b3::1234/64
• Address type
– Unicast
– Multicast [Multicast Listener Disscovery]
– Anycast (router only)
IPv6 Unicast Address
• Unicast address type
– Global
• Unique
• Start 001x+ network addr + 64 bits interface addr
– Local Link
• Cannot pass through Router
• fe80:: + 64 bits interface addr / 10
• EUI-64 (transfer MAC to IPv6 interface address)
– 7th
bit change to complementation
– Add FFFE in the 3th and 4th
• 00:ab:cd:12:34:56 → 02ab:cdff:fe12:3456
• IPv6 address method
– manual, auto-configuration (stateless, stateful)
IPv6 Auto Configuration
Stateless Auto Configuration
• ICMPv6 ()
– Fault management
• Ping6
• traceroute6
– Multicast Listener Discovery (MLDv2)
• Replace IGMPv3
– Neighbor Discovery
• Router Solicitation (RS)
• Router Advertisement (RA)
• Neighbor Solicitation (NS)
• Neighbor Advertisement (NA)
• Redirect
Router Advertisement Header
• M
– 1 : get Prefix from DHCP server
– 0 : get Prefix from Router
• O
– 1 : get DNS from DHCP server
– 0 : get DNS from Router
ICMPv6 Router Discovery
ICMPv6 Router Discovery
ICMPv6 Address Resolution
ICMPv6 Address Resolution
Stateful Auto Configuration
• DHCPv6 (RFC 3315)
– DHCPv6 client can request multiple IPv6 address
– 4-way messages exchange (Stateful)
• M=1, O=0
• Solicit(C) / Advertise(S) / Request(C) / Reply(S)
– 2-way messages exchange (Stateless)
• Information-request(C) / Reply (S)
• DHCP Roles
• M=0, O=1
– Client
– Server
– Relay Agent
DHCPv6 working
Auto Configuration Process
• Allows a host to create a unicast address from:
– Its MAC address
– Prefixes sent by neighbor routers
• Several steps:
– Link-local addresses creation
– Duplicate addresses detection (DAD)
– Discover the routers on-link (RS/RA)
– " Configure hosts global addresses
– Configure other parameters: default router, link MTU, …
• Addresses are not automatically registered in the DNS
– Need for DNS Dynamic Update (RFC 2136 and RFC 3007)
Auto Configuration Flowchart
IPv6 Routing
• Routing Algorithm
– Increase throughput
– Decrease average delay
Routing Type
• Static routing (Peer to Peer, Host)
– The same as IPv4
• Specify source, destination, distance
• Adaptive routing (Router to Router)
– Distance Vector Concept
• RIPng (RFC2080)
– Link-State Concept
• OSPFv3 (RFC 5340)
Distance Vector Concept
Link-State Concept
Distance Vector Routing v.s.
Link-State
Routing
IPv6 Routing Protocols
RIPng
• Same as IPv4
– Distance vector, radius of 15 hops, split horizon, and
– poison reverse
– Based on RIPv2
• Updated features for IPv6
– IPv6 prefix, next-hop IPv6 address
– Uses the multicast group FF02::9 for RIP updates
– Uses IPv6 for transport
– Updates are sent on UDP port 521
• Named RIPng
OSPFv3
• Based on OSPFv2, with enhancements
• Distributes IPv6 prefixes
• Runs directly over IPv6
• Ships in the night with OSPFv2
• Adds IPv6-specifific attributes:
– 128-bit addresses
– Link-local address
– Multiple addresses and instances per interface
– Authentication (now uses IPsec)
– OSPFv3 runs over a link, rather than a subnet
DNSv6
• Domain Name System version 6
– Mapping Domain name and IP
• Client / Server Architecture
• Application
– ISC BIND-9.2.2 (Linux)
• Support IPv4 & IPv6 DNS query
• AAAA records
• renumbering
– Windows Server 2008
IPv6 to IPv4 Transition
• Dual Stack
– Support IPv4 & IPv6 on the same time
– IPv4 only, IPv6 only, Dual Stack
– Need one IPv4 and one IPv6 address
IPv6 to IPv4 Transition
• Tunneling
– Add IPv4 header
IPv6 to IPv4 Transition
• Translator
– Network Address Translation – Protocol
Translation
– Like IPv4 NAT
– IPv4 Address pool + sock port number
– It is deprecated on 2007/7
Linux IPv6 implementation
• IPv6 Addressing
– Linux 2.6.x ~
• ipv6 protocol stack, ip6tables, …
– DHCPv6 (ISC DHCP-4.1.2)
• IPv6 Routing
– IPv6 router (radvd-1.1.5)
• ICMPv6 RA, ipv6 routing
– IPv6 routing protocol (quaga-0.98)
• BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng
• IPv6 Service
– DNSv6 (bind-9.2.2), Tunnel Broker (gogoc), NTP (ntp-
4.2.4), SMTP (mailx-12.4), SNMP (netsnmp-5.2.1),
PPP(ppp-2.4.4), WWW(boa-0.94.13), …
How to enable IPv6 Router
(radvd)
# yum search radvd // search radvd
# yum install radvd // install radvd
# vi /etc/radvd.conf // edit configuation
interface eth0
{
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
prefix 2001:db8:0:f101::1/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
# echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
#service radvd start
Reference
• http://www.ngnet.it/e/ipv6proto/ipv6-proto-
6.php
• http://www.ipv6.hinet.net/index.html
• http://www.rd.ipv6.org.tw/
• IPv6 應用及路由實務 - 訓練教材
• http://www.ithome.com.tw/itadm/article.ph
p?c=66363&s=6
• http://interop.ipv6.org.tw/index.php

More Related Content

PDF
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
PPTX
Border Gateway Protocol (BGP)
PPT
Mpls Services
PPTX
Routing Presentation
PPT
Ip multicast
PDF
BGP (border gateway routing protocol)
PPTX
Multiprotocol label switching (mpls) - Networkshop44
PDF
How BGP Works
IPv6 Transition Strategies Tutorial, by Philip Smith [APNIC 38]
Border Gateway Protocol (BGP)
Mpls Services
Routing Presentation
Ip multicast
BGP (border gateway routing protocol)
Multiprotocol label switching (mpls) - Networkshop44
How BGP Works

What's hot (20)

PPTX
Fttx arcitectures
PDF
Cisco IPv6 Tutorial
PDF
Next Generation IP Transport
PPT
Ipv6
PDF
GoBGP : yet another OSS BGPd
PDF
Neighbor Discovery Deep Dive – IPv6-Networking-Referat
PPT
Multi-Protocol Label Switching: Basics and Applications
PPT
Mpls Qos Jayk
PDF
IX Best Practices by Tay Chee Yong
PDF
STP (spanning tree protocol)
PPT
Mpls L3_vpn
PDF
IPv6 Transition & Deployment, including IPv6-only in cellular and broadband
PPTX
PDF
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
PPTX
GPRS(General Packet Radio Service)
PDF
Implementing cisco mpls
PDF
Bidirectional Forwarding Detection (BFD)
Fttx arcitectures
Cisco IPv6 Tutorial
Next Generation IP Transport
Ipv6
GoBGP : yet another OSS BGPd
Neighbor Discovery Deep Dive – IPv6-Networking-Referat
Multi-Protocol Label Switching: Basics and Applications
Mpls Qos Jayk
IX Best Practices by Tay Chee Yong
STP (spanning tree protocol)
Mpls L3_vpn
IPv6 Transition & Deployment, including IPv6-only in cellular and broadband
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
GPRS(General Packet Radio Service)
Implementing cisco mpls
Bidirectional Forwarding Detection (BFD)
Ad

Viewers also liked (15)

PPTX
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
PPT
Introduction to IPv6
PPTX
OSPF v3
PDF
IPv6 Autoconfig
PPTX
A very good introduction to IPv6
PPTX
Introduction to ipv6 v1.3
PPTX
CCNA RS_ITN - Chapter 8
PDF
CCNA CheatSheet
PPTX
Protocols and the TCP/IP Protocol Suite
PDF
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
PDF
CCNAv5 - S3: Chapter6 Multiarea OSPF
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 11
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 10
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 8
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 4
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Introduction to IPv6
OSPF v3
IPv6 Autoconfig
A very good introduction to IPv6
Introduction to ipv6 v1.3
CCNA RS_ITN - Chapter 8
CCNA CheatSheet
Protocols and the TCP/IP Protocol Suite
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 4
Ad

Similar to IPv6 introduction (20)

PDF
Ipv6 cheat sheet
PPTX
Basic of IPv6
PDF
Computer network (17)
PDF
Short Introduction to IPv6
PDF
Rapid IPv6 Deployment for ISP Networks
PPTX
IPV6 IPv6 Routing Lab By Rob Hamm
PDF
ipv6_cheat_sheet.pdf
PDF
Ipv6 cheat sheet
PPT
IPv6 networking training sduffy v3
PPT
IPv6_Quick_Start_Guide
PPTX
IPV6 ADDRESSING
PPTX
Introduction to IPv6-UoN
PPT
Icnd210 s07l02
PDF
IPv6 Technical Overview: Address Architecture, DHCPv6 and DNS
PDF
IPv6 im Jahre 2018
PPTX
ip v6 subnetting-Ip v6 subnetting and intro
PPTX
ipv6 very very very very vvoverview.pptx
PDF
IPv6 Overview
Ipv6 cheat sheet
Basic of IPv6
Computer network (17)
Short Introduction to IPv6
Rapid IPv6 Deployment for ISP Networks
IPV6 IPv6 Routing Lab By Rob Hamm
ipv6_cheat_sheet.pdf
Ipv6 cheat sheet
IPv6 networking training sduffy v3
IPv6_Quick_Start_Guide
IPV6 ADDRESSING
Introduction to IPv6-UoN
Icnd210 s07l02
IPv6 Technical Overview: Address Architecture, DHCPv6 and DNS
IPv6 im Jahre 2018
ip v6 subnetting-Ip v6 subnetting and intro
ipv6 very very very very vvoverview.pptx
IPv6 Overview

More from Guider Lee (8)

PPTX
WebAccess\NMS v3.0
PPTX
WebAccess/NMS
PPTX
IEC-61850
PPTX
Power system automation
PPTX
ASP.net MVC
PPTX
IEEE1588-v2
PPTX
OpenNMS introduction
PPTX
Net snmp API
WebAccess\NMS v3.0
WebAccess/NMS
IEC-61850
Power system automation
ASP.net MVC
IEEE1588-v2
OpenNMS introduction
Net snmp API

Recently uploaded (20)

PPTX
photography_basics_jdfjdbjdbjbfjdbj.pptx
PDF
Modern Furniture Trends & Home Interior Decoration
PDF
Uniqaya Night Cream For All Skin Type With Natural Ingredients
PDF
Non-Fatal Strangulation in Domestic Violence
PPTX
LESSON-2-Physical-Education-FIT-and-ACTIVE-july-2025.pptx
PPTX
The-World-of-Fashion-Trends-and-Innovation-2025.pptx
PPTX
James 1 Bible verses sermonbbbbbbbbbb.pptx
PPTX
Respiratory-and-Circulatory-Hazards-lecture.pptx
DOC
AAMU毕业证学历认证,爱默生学院毕业证ps毕业证
PDF
The Lifestyle Benefits and Challenges of Living Alone
DOC
学历学位硕士ACAP毕业证,澳大利亚凯斯林大学毕业证留学未毕业
PDF
The Science-Backed Benefits of Fruit and Vegetable Extracts.pdf
PPTX
PPT ARIEZ'S TOUR FINAL Pulogebang on.pptx
PPTX
Term review 2023 Hirata TYPHOON.pptx review
PPTX
Role, role conflict and ascribed and achieved role.pptx
PPTX
examinophobia;how does it occur and how to solve
PDF
Home science Resource management project
PDF
Student Housing Security From Metal Keys to Smart Access.pdf
DOC
AU毕业证学历认证,阿拉巴马大学亨茨维尔分校毕业证成绩单图片
PPTX
Fashion Jewellery and Clothing Business.pptx
photography_basics_jdfjdbjdbjbfjdbj.pptx
Modern Furniture Trends & Home Interior Decoration
Uniqaya Night Cream For All Skin Type With Natural Ingredients
Non-Fatal Strangulation in Domestic Violence
LESSON-2-Physical-Education-FIT-and-ACTIVE-july-2025.pptx
The-World-of-Fashion-Trends-and-Innovation-2025.pptx
James 1 Bible verses sermonbbbbbbbbbb.pptx
Respiratory-and-Circulatory-Hazards-lecture.pptx
AAMU毕业证学历认证,爱默生学院毕业证ps毕业证
The Lifestyle Benefits and Challenges of Living Alone
学历学位硕士ACAP毕业证,澳大利亚凯斯林大学毕业证留学未毕业
The Science-Backed Benefits of Fruit and Vegetable Extracts.pdf
PPT ARIEZ'S TOUR FINAL Pulogebang on.pptx
Term review 2023 Hirata TYPHOON.pptx review
Role, role conflict and ascribed and achieved role.pptx
examinophobia;how does it occur and how to solve
Home science Resource management project
Student Housing Security From Metal Keys to Smart Access.pdf
AU毕业证学历认证,阿拉巴马大学亨茨维尔分校毕业证成绩单图片
Fashion Jewellery and Clothing Business.pptx

IPv6 introduction

  • 2. Agenda • IPv6 Addressing – What is IPv6 – ICMPv6 (Stateless) – DHCPv6 (Stateful) • IPv6 Routing – Static Routing – Adaptive Routing • IPv6 Service – DNSv6 – IPv6 to IPv4 Transition • Linux IPv6 Implementation
  • 4. What is IPv6 • IPv4 (32bits) → IPv6 (128 bits) – 2001:0db8:1a2b:0015:0000:0000:1a2f:0000 • 2001:db8:1a2b:15:0:0:1a2f:0 – (0 can ignore) • 2001:db8:1a2b:15::1a2f:0 – multiple “0” block can combine to :: (only once) • Prefix is network address – 2001:0:0:b3::1234/64 • Address type – Unicast – Multicast [Multicast Listener Disscovery] – Anycast (router only)
  • 5. IPv6 Unicast Address • Unicast address type – Global • Unique • Start 001x+ network addr + 64 bits interface addr – Local Link • Cannot pass through Router • fe80:: + 64 bits interface addr / 10 • EUI-64 (transfer MAC to IPv6 interface address) – 7th bit change to complementation – Add FFFE in the 3th and 4th • 00:ab:cd:12:34:56 → 02ab:cdff:fe12:3456 • IPv6 address method – manual, auto-configuration (stateless, stateful)
  • 7. Stateless Auto Configuration • ICMPv6 () – Fault management • Ping6 • traceroute6 – Multicast Listener Discovery (MLDv2) • Replace IGMPv3 – Neighbor Discovery • Router Solicitation (RS) • Router Advertisement (RA) • Neighbor Solicitation (NS) • Neighbor Advertisement (NA) • Redirect
  • 8. Router Advertisement Header • M – 1 : get Prefix from DHCP server – 0 : get Prefix from Router • O – 1 : get DNS from DHCP server – 0 : get DNS from Router
  • 13. Stateful Auto Configuration • DHCPv6 (RFC 3315) – DHCPv6 client can request multiple IPv6 address – 4-way messages exchange (Stateful) • M=1, O=0 • Solicit(C) / Advertise(S) / Request(C) / Reply(S) – 2-way messages exchange (Stateless) • Information-request(C) / Reply (S) • DHCP Roles • M=0, O=1 – Client – Server – Relay Agent
  • 15. Auto Configuration Process • Allows a host to create a unicast address from: – Its MAC address – Prefixes sent by neighbor routers • Several steps: – Link-local addresses creation – Duplicate addresses detection (DAD) – Discover the routers on-link (RS/RA) – " Configure hosts global addresses – Configure other parameters: default router, link MTU, … • Addresses are not automatically registered in the DNS – Need for DNS Dynamic Update (RFC 2136 and RFC 3007)
  • 17. IPv6 Routing • Routing Algorithm – Increase throughput – Decrease average delay
  • 18. Routing Type • Static routing (Peer to Peer, Host) – The same as IPv4 • Specify source, destination, distance • Adaptive routing (Router to Router) – Distance Vector Concept • RIPng (RFC2080) – Link-State Concept • OSPFv3 (RFC 5340)
  • 21. Distance Vector Routing v.s. Link-State Routing
  • 23. RIPng • Same as IPv4 – Distance vector, radius of 15 hops, split horizon, and – poison reverse – Based on RIPv2 • Updated features for IPv6 – IPv6 prefix, next-hop IPv6 address – Uses the multicast group FF02::9 for RIP updates – Uses IPv6 for transport – Updates are sent on UDP port 521 • Named RIPng
  • 24. OSPFv3 • Based on OSPFv2, with enhancements • Distributes IPv6 prefixes • Runs directly over IPv6 • Ships in the night with OSPFv2 • Adds IPv6-specifific attributes: – 128-bit addresses – Link-local address – Multiple addresses and instances per interface – Authentication (now uses IPsec) – OSPFv3 runs over a link, rather than a subnet
  • 25. DNSv6 • Domain Name System version 6 – Mapping Domain name and IP • Client / Server Architecture • Application – ISC BIND-9.2.2 (Linux) • Support IPv4 & IPv6 DNS query • AAAA records • renumbering – Windows Server 2008
  • 26. IPv6 to IPv4 Transition • Dual Stack – Support IPv4 & IPv6 on the same time – IPv4 only, IPv6 only, Dual Stack – Need one IPv4 and one IPv6 address
  • 27. IPv6 to IPv4 Transition • Tunneling – Add IPv4 header
  • 28. IPv6 to IPv4 Transition • Translator – Network Address Translation – Protocol Translation – Like IPv4 NAT – IPv4 Address pool + sock port number – It is deprecated on 2007/7
  • 29. Linux IPv6 implementation • IPv6 Addressing – Linux 2.6.x ~ • ipv6 protocol stack, ip6tables, … – DHCPv6 (ISC DHCP-4.1.2) • IPv6 Routing – IPv6 router (radvd-1.1.5) • ICMPv6 RA, ipv6 routing – IPv6 routing protocol (quaga-0.98) • BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng • IPv6 Service – DNSv6 (bind-9.2.2), Tunnel Broker (gogoc), NTP (ntp- 4.2.4), SMTP (mailx-12.4), SNMP (netsnmp-5.2.1), PPP(ppp-2.4.4), WWW(boa-0.94.13), …
  • 30. How to enable IPv6 Router (radvd) # yum search radvd // search radvd # yum install radvd // install radvd # vi /etc/radvd.conf // edit configuation interface eth0 { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; prefix 2001:db8:0:f101::1/64 { AdvOnLink on; AdvAutonomous on; AdvRouterAddr on; }; }; # echo 1 > /proc/sys/net/ipv6/conf/all/forwarding # echo 1 > /proc/sys/net/ipv6/conf/default/forwarding #service radvd start
  • 31. Reference • http://www.ngnet.it/e/ipv6proto/ipv6-proto- 6.php • http://www.ipv6.hinet.net/index.html • http://www.rd.ipv6.org.tw/ • IPv6 應用及路由實務 - 訓練教材 • http://www.ithome.com.tw/itadm/article.ph p?c=66363&s=6 • http://interop.ipv6.org.tw/index.php