SlideShare une entreprise Scribd logo
1  sur  31
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

Contenu connexe

Tendances

Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commandsHuanetwork
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment RoutingAPNIC
 
Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)Reza Farahani
 
Internet protocol v6
Internet protocol v6Internet protocol v6
Internet protocol v6Pramith P
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)Respa Peter
 
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpec
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpecОбеспечение безопасности сети оператора связи с помощью BGP FlowSpec
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpecCisco Russia
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
The IPv6-Only Network
The IPv6-Only NetworkThe IPv6-Only Network
The IPv6-Only NetworkAPNIC
 
MikroTik & RouterOS
MikroTik & RouterOSMikroTik & RouterOS
MikroTik & RouterOSFaelix Ltd
 

Tendances (20)

Bgp tutorial for ISP
Bgp tutorial for ISPBgp tutorial for ISP
Bgp tutorial for ISP
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commands
 
WAN SDN meet Segment Routing
WAN SDN meet Segment RoutingWAN SDN meet Segment Routing
WAN SDN meet Segment Routing
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)
 
Bgp
BgpBgp
Bgp
 
Internet protocol v6
Internet protocol v6Internet protocol v6
Internet protocol v6
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
IS-IS Protocol
IS-IS ProtocolIS-IS Protocol
IS-IS Protocol
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
ARP
ARPARP
ARP
 
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpec
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpecОбеспечение безопасности сети оператора связи с помощью BGP FlowSpec
Обеспечение безопасности сети оператора связи с помощью BGP FlowSpec
 
GRE Tunnel Configuration
GRE Tunnel ConfigurationGRE Tunnel Configuration
GRE Tunnel Configuration
 
Asterisk: the future is at REST
Asterisk: the future is at RESTAsterisk: the future is at REST
Asterisk: the future is at REST
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
OSI Layers
OSI LayersOSI Layers
OSI Layers
 
The IPv6-Only Network
The IPv6-Only NetworkThe IPv6-Only Network
The IPv6-Only Network
 
MikroTik & RouterOS
MikroTik & RouterOSMikroTik & RouterOS
MikroTik & RouterOS
 

En vedette

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 Autoconfig
IPv6 AutoconfigIPv6 Autoconfig
IPv6 AutoconfigFred Bovy
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6Syed Arshad
 
Introduction to ipv6 v1.3
Introduction to ipv6 v1.3Introduction to ipv6 v1.3
Introduction to ipv6 v1.3Karunakant Rai
 
CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8Irsandi Hasan
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteAtharaw Deshmukh
 
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and TroubleshootingCCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and TroubleshootingVuz Dở Hơi
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFVuz Dở Hơi
 
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10Nil Menon
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8Nil Menon
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorialkriz5
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4Nil Menon
 

En vedette (16)

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...
 
Introduction to IPv6
Introduction to IPv6Introduction to IPv6
Introduction to IPv6
 
OSPF v3
OSPF v3OSPF v3
OSPF v3
 
IPv6 Autoconfig
IPv6 AutoconfigIPv6 Autoconfig
IPv6 Autoconfig
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6
 
Introduction to ipv6 v1.3
Introduction to ipv6 v1.3Introduction to ipv6 v1.3
Introduction to ipv6 v1.3
 
CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and TroubleshootingCCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
CCNAv5 - S3: Chapter8 EIGRP Advanced Configurations and Troubleshooting
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPF
 
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA 1 Routing and Switching v5.0 Chapter 11CCNA 1 Routing and Switching v5.0 Chapter 11
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 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 

Similaire à IPv6 introduction

IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3Shane Duffy
 
IPv6 - Jozi Linux User Group Presentation
IPv6  - Jozi Linux User Group PresentationIPv6  - Jozi Linux User Group Presentation
IPv6 - Jozi Linux User Group PresentationJumping Bean
 
Networking Chapter 13
Networking Chapter 13Networking Chapter 13
Networking Chapter 13mlrbrown
 
Networking Basics with Linux
Networking Basics with LinuxNetworking Basics with Linux
Networking Basics with LinuxHenry Osborne
 
IPv6 Community Event: IPv6 Protocol Architecture
IPv6 Community Event: IPv6 Protocol ArchitectureIPv6 Community Event: IPv6 Protocol Architecture
IPv6 Community Event: IPv6 Protocol ArchitectureAPNIC
 
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2ehsan nazer
 
IPv6 The Big Move
IPv6 The Big MoveIPv6 The Big Move
IPv6 The Big Movefrenildand
 
8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptxZahouAmel1
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopNguyen Minh Thu
 
Building day 2 upload Building the Internet of Things with Thingsquare and ...
Building day 2   upload Building the Internet of Things with Thingsquare and ...Building day 2   upload Building the Internet of Things with Thingsquare and ...
Building day 2 upload Building the Internet of Things with Thingsquare and ...Adam Dunkels
 
IPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToIPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToGary Wilhelm
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerRubal Sagwal
 

Similaire à IPv6 introduction (20)

IPv6 networking training sduffy v3
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
 
IPv6 - Jozi Linux User Group Presentation
IPv6  - Jozi Linux User Group PresentationIPv6  - Jozi Linux User Group Presentation
IPv6 - Jozi Linux User Group Presentation
 
Networking Chapter 13
Networking Chapter 13Networking Chapter 13
Networking Chapter 13
 
Day 20.i pv6 lab
Day 20.i pv6 labDay 20.i pv6 lab
Day 20.i pv6 lab
 
Networking Basics with Linux
Networking Basics with LinuxNetworking Basics with Linux
Networking Basics with Linux
 
IPv6 Community Event: IPv6 Protocol Architecture
IPv6 Community Event: IPv6 Protocol ArchitectureIPv6 Community Event: IPv6 Protocol Architecture
IPv6 Community Event: IPv6 Protocol Architecture
 
6421 b Module-04
6421 b Module-046421 b Module-04
6421 b Module-04
 
Ipv6
Ipv6Ipv6
Ipv6
 
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2
 
IPv6 The Big Move
IPv6 The Big MoveIPv6 The Big Move
IPv6 The Big Move
 
8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx8-Lect_8 Addressing the Network.tcp.pptx
8-Lect_8 Addressing the Network.tcp.pptx
 
IPv6
IPv6IPv6
IPv6
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshop
 
Building day 2 upload Building the Internet of Things with Thingsquare and ...
Building day 2   upload Building the Internet of Things with Thingsquare and ...Building day 2   upload Building the Internet of Things with Thingsquare and ...
Building day 2 upload Building the Internet of Things with Thingsquare and ...
 
IPv6_Quick_Start_Guide
IPv6_Quick_Start_GuideIPv6_Quick_Start_Guide
IPv6_Quick_Start_Guide
 
IPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have ToIPv6: We Care So You Don't Have To
IPv6: We Care So You Don't Have To
 
I pv6
I pv6I pv6
I pv6
 
7 slaac-rick graziani
7 slaac-rick graziani7 slaac-rick graziani
7 slaac-rick graziani
 
IPv6 Overview
IPv6 OverviewIPv6 Overview
IPv6 Overview
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport Layer
 

Plus de Guider Lee

WebAccess\NMS v3.0
WebAccess\NMS v3.0WebAccess\NMS v3.0
WebAccess\NMS v3.0Guider Lee
 
Power system automation
Power system automationPower system automation
Power system automationGuider Lee
 
OpenNMS introduction
OpenNMS introductionOpenNMS introduction
OpenNMS introductionGuider Lee
 

Plus de Guider Lee (8)

WebAccess\NMS v3.0
WebAccess\NMS v3.0WebAccess\NMS v3.0
WebAccess\NMS v3.0
 
WebAccess/NMS
WebAccess/NMSWebAccess/NMS
WebAccess/NMS
 
IEC-61850
IEC-61850IEC-61850
IEC-61850
 
Power system automation
Power system automationPower system automation
Power system automation
 
ASP.net MVC
ASP.net MVCASP.net MVC
ASP.net MVC
 
IEEE1588-v2
IEEE1588-v2IEEE1588-v2
IEEE1588-v2
 
OpenNMS introduction
OpenNMS introductionOpenNMS introduction
OpenNMS introduction
 
Net snmp API
Net snmp APINet snmp API
Net snmp API
 

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