SlideShare ist ein Scribd-Unternehmen logo
1 von 44
IPv6 
Prepared by: 
ydrugalya@gmail.com
Agenda 
• IPv6 features overview 
• IPv6 addressing 
• Integration and co-existing strategies 
• IPv6 application development 
• A Big Picture 
• References
History 
• 1974 Cerf and Kahn developed TCP/IP for 
ARPA. 
• NSF (end of 70-th) 
• 1992 – RFC 1550. 21 response. 7 left. CLNP. 
• 1993. 3 proposals left (Deering, Francis, Katz 
and Ford). SIPP. 
• SIPP  IPv6 (IPv5 – already allocated)
NAT 
192.168.0.100 ->.. -> 74.125.87.99(google.com) 
192.168.0.100 (5043, 80)  
192.168.0.1 / 157.55.1.10 (666, 80)  
74.125.87.99(google.com)
NAT
Why NAT is bad 
• This was a temporary solution from the beginning 
• NAT keep us away from transparent connection 
• NAT violates security and principle of packets 
consistency 
• NAT was blocking development of transparent 
applications 
• Double/triple NAT translation is very ugly thing
Requirements 
• Larger address space 
• Simpler protocol for faster routing processing 
• Better security 
• Better QoS 
• Extensibility 
• Auto configuration 
• Better Multicast and Anycast abilities 
• Better support for mobile devices 
• Coexisting
New Header Format(RFC 2460 )
IPv6 Header Fields 
• Version – always 6 for IPv6 
• Traffic class – similar to ToS in IPv4. Each traffic class 
can be managed differently, ensuring preferential 
treatment for higher-priority traffic on the network. 
Not widely used. 
• Flow label. Experimental. Idea reserve throughput for 
flow between two hosts. Virtual channel. 
• Next header – tells which one from 6 extension 
headers follows 
• HOP Limit – ex TTL. 
• Source/Destination addresses
Comparing IPv4 and IPv6 headers 
• IHL – removed 
• Protocol – removed 
• Removed all fields related to fragmentation 
• TTL replaced by Hop limit field. 
• Header checksum - deprecated (upper level checksum can do it).
Extension Headers*
Extension Headers 
Header Type Purpose 
Hop-By-Hop Optional data that each host must examine(Deprecated) 
Routing Causes packet to visit specific hosts on its way to destination 
Fragment Contains fragment identification, offset flags 
Destination Options Processed only by destination host 
Authentication Sender verification 
Encapsulating Security 
Indicates that the rest of payload is encrypted 
Payload
Stateless and Stateful Address 
Configuration 
• Statefull address configuration 
– DHCP for IPv6 
• Stateless address configuration 
– No DHCP server 
– Automatic link-local address configuration
IPv6 Address format 
RFC 2373 
2001:05c0:1000:000b:0000:0000:0000:9eaf 
 
2001:5c0:1000:b::9eaf 
http://[2620:0:1cfe:face:b00c::3]
IPv6 address types 
- Unicast – address for single interface 
- Global 
- Site-local 
- Link-local 
- Anycast – address of set of interfaces 
- Multicast – scoped address of group of 
interfaces 
RFC 4291
Global Unicast address format 
2620:0:1cfe:face:b00c::7
Site-Local address format 
FEC0::3:260:8FF:FE52:F9D8
Link-local format 
EUI-64(RFC 2373) VS Random number
Multicast address format 
• ff02::1 - all nodes in local segment 
• ff02::2 - all routers in local network segment 
• FF01::2 - node local scope all routers 
• FF02::2 - link-local scop all-routers
IPv4 compatible IPv6 address 
deprecated
IPv4 mapped IPv6 address 
RFC 4038
Integration and co-existing strategies 
• Dual-stack 
• IPv6 over IPv4 tunnels 
• Dedicated data links
Dual-stack
Popular transition technologies 
• Static 6 over 4 tunnels 
• Automatic 6to4 Tunnel. 
– 6to4 
– Teredo 
– ISATAP 
– go6.net 
– SixXS 
IPv6 Transition Technologies
IPv6 over IPv4 tunnels
6to4* 
Idea: 
- Encapsulate IPv6 packet into IPv4 packet 
Example: 
IPv4 address: 16.24.244.69 --> 
2002:1018:f445::1018:f445
Teredo* 
Idea: 
- encapsulate IPv6 into UDP 
- encapsulate UDP port and ipv4 into ipv6 
address 
RFC 4380 . Example 
2001:0:5ef5:79fd:34a0:3750:e0e0:8ed1
ISATAP 
RFC 4214
IPv6 Application development
IPv6 Application development 
IPv6 Guide for Windows Sockets Applications 
Checkv4.exe 
Main idea: make your application dual stack 
- use agnostic data structures 
- change function calls 
- remove hardcoded addresses 
- change UI 
RFC 4038
IPv6 Application development 
Data structures 
Data structures 
sockaddr_in  sockaddr_storage 
Shims: getPort, getSockAddrBytes, getAddrLen, etc. 
int getPort(sockaddr_storage& addr) { 
switch(addr.ss_family) { 
case AF_INET: 
return ntohs ( reinterpret_cast<sockaddr_in*>(&addr)->sin_port ); 
case AF_INET6: 
return ntohs ( reinterpret_cast<sockaddr_in6*>(&addr)->sin6_port ); 
default: 
throw exception; 
}
IPv6 Application development 
Function calls 
#if !defined(IPV6_V6ONLY) 
# define IPV6_V6ONLY 27 
#endif 
setsockopt(sockfd, PPROTO_IPV6, IPV6_V6ONLY, 
(char *)&off, sizeof(off) ); 
gethostbyname  getaddrinfo 
gethostbyaddr getnameinfo
Troubleshooting 
netsh interface ipv6 show address 
netsh interface ipv6 show neighbors 
netsh interface ipv6 delete neighbors 
netsh interface ipv6 show destinationcache 
netsh interface ipv6 delete destinationcache
Troubleshooting
BIG PICTURE
IPv6 deployment status
Necessity vs Inertness
References 
• IPv6 Learning Roadmap 
• IPv6 Guide for Windows Sockets Applications 
• www.ipv6.com 
• Test your IPv6 connectivity 
• Google IPv6 Conference 2008: What will the IPv6 
Internet look like? 
• SixXS - IPv6 Deployment & Tunnel Broker 
• Cool IPv6 stuff 
• icmpv6x
Ipv6
Ipv6
Ipv6
Ipv6
Ipv6
Ipv6

Weitere ähnliche Inhalte

Was ist angesagt?

Upcoming internet challenges
Upcoming internet challengesUpcoming internet challenges
Upcoming internet challengesIvan Pepelnjak
 
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronUsing PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronVikram G Hosakote
 
OARC 26: Scoring the Root Server System
OARC 26: Scoring the Root Server SystemOARC 26: Scoring the Root Server System
OARC 26: Scoring the Root Server SystemAPNIC
 
Getting started with IPv6
Getting started with IPv6Getting started with IPv6
Getting started with IPv6Private
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedFaelix Ltd
 
Layer-3 BFD Optimization Proposals for Enterprise and Campus Networks
Layer-3 BFD Optimization Proposals for Enterprise and Campus NetworksLayer-3 BFD Optimization Proposals for Enterprise and Campus Networks
Layer-3 BFD Optimization Proposals for Enterprise and Campus NetworksVikram G Hosakote
 
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
 
Compiling P4 to XDP, IOVISOR Summit 2017
Compiling P4 to XDP, IOVISOR Summit 2017Compiling P4 to XDP, IOVISOR Summit 2017
Compiling P4 to XDP, IOVISOR Summit 2017Cheng-Chun William Tu
 
Ipv6 introduction - MUM 2011 presentation
Ipv6 introduction - MUM 2011 presentationIpv6 introduction - MUM 2011 presentation
Ipv6 introduction - MUM 2011 presentationIDEA4PRO
 
Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6Jhoni Guerrero
 
464XLAT Tutorial
464XLAT Tutorial464XLAT Tutorial
464XLAT TutorialAPNIC
 
IPv6 How To Set Up a Linux IPv6 Lan
IPv6 How To Set Up  a Linux IPv6 LanIPv6 How To Set Up  a Linux IPv6 Lan
IPv6 How To Set Up a Linux IPv6 LanJumping Bean
 
Update on IPv6 activity in CERNET2
Update on IPv6 activity in CERNET2Update on IPv6 activity in CERNET2
Update on IPv6 activity in CERNET2APNIC
 

Was ist angesagt? (20)

Upcoming internet challenges
Upcoming internet challengesUpcoming internet challenges
Upcoming internet challenges
 
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack NeutronUsing PerfDHCP tool to scale DHCP in OpenStack Neutron
Using PerfDHCP tool to scale DHCP in OpenStack Neutron
 
OARC 26: Scoring the Root Server System
OARC 26: Scoring the Root Server SystemOARC 26: Scoring the Root Server System
OARC 26: Scoring the Root Server System
 
Getting started with IPv6
Getting started with IPv6Getting started with IPv6
Getting started with IPv6
 
Day 20.i pv6 lab
Day 20.i pv6 labDay 20.i pv6 lab
Day 20.i pv6 lab
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I started
 
Layer-3 BFD Optimization Proposals for Enterprise and Campus Networks
Layer-3 BFD Optimization Proposals for Enterprise and Campus NetworksLayer-3 BFD Optimization Proposals for Enterprise and Campus Networks
Layer-3 BFD Optimization Proposals for Enterprise and Campus Networks
 
IPv6 in cellular networks - Jordi Palet
IPv6 in cellular networks - Jordi PaletIPv6 in cellular networks - Jordi Palet
IPv6 in cellular networks - Jordi Palet
 
IPv6 transition and coexistance - Jordi Palet
IPv6 transition and coexistance - Jordi PaletIPv6 transition and coexistance - Jordi Palet
IPv6 transition and coexistance - Jordi Palet
 
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 of ipv6
Introduction of ipv6Introduction of ipv6
Introduction of ipv6
 
IPv6 deployment planning Jordi Palet
IPv6 deployment planning Jordi PaletIPv6 deployment planning Jordi Palet
IPv6 deployment planning Jordi Palet
 
Compiling P4 to XDP, IOVISOR Summit 2017
Compiling P4 to XDP, IOVISOR Summit 2017Compiling P4 to XDP, IOVISOR Summit 2017
Compiling P4 to XDP, IOVISOR Summit 2017
 
Ipv6 introduction - MUM 2011 presentation
Ipv6 introduction - MUM 2011 presentationIpv6 introduction - MUM 2011 presentation
Ipv6 introduction - MUM 2011 presentation
 
6421 b Module-04
6421 b Module-046421 b Module-04
6421 b Module-04
 
Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6
 
Introduction to DPDK RIB library
Introduction to DPDK RIB libraryIntroduction to DPDK RIB library
Introduction to DPDK RIB library
 
464XLAT Tutorial
464XLAT Tutorial464XLAT Tutorial
464XLAT Tutorial
 
IPv6 How To Set Up a Linux IPv6 Lan
IPv6 How To Set Up  a Linux IPv6 LanIPv6 How To Set Up  a Linux IPv6 Lan
IPv6 How To Set Up a Linux IPv6 Lan
 
Update on IPv6 activity in CERNET2
Update on IPv6 activity in CERNET2Update on IPv6 activity in CERNET2
Update on IPv6 activity in CERNET2
 

Ähnlich wie Ipv6

Tutorial: IPv6-only transition with demo
Tutorial: IPv6-only transition with demoTutorial: IPv6-only transition with demo
Tutorial: IPv6-only transition with demoAPNIC
 
IPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onIPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onAPNIC
 
APNIC Update
APNIC Update APNIC Update
APNIC Update APNIC
 
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistanceRobert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistancePROIDEA
 
How You Will Get Hacked Ten Years from Now
How You Will Get Hacked Ten Years from NowHow You Will Get Hacked Ten Years from Now
How You Will Get Hacked Ten Years from Nowjulievreeland
 
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2ehsan nazer
 
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Canada
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopNguyen Minh Thu
 
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn FortinetDigicomp Academy AG
 
IPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoIPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoDigicomp Academy AG
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksSkeeve Stevens
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01mrmr2010i
 
Fedv6tf-IPv6-new-friends
Fedv6tf-IPv6-new-friendsFedv6tf-IPv6-new-friends
Fedv6tf-IPv6-new-friendsTim Martin
 
Is IPv6 Security Still an Afterthought?
Is IPv6 Security Still an Afterthought?Is IPv6 Security Still an Afterthought?
Is IPv6 Security Still an Afterthought?APNIC
 
2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-Eduardo Coelho
 
Improved Applications with IPv6: an overview
Improved Applications with IPv6: an overviewImproved Applications with IPv6: an overview
Improved Applications with IPv6: an overviewCisco DevNet
 

Ähnlich wie Ipv6 (20)

Tutorial: IPv6-only transition with demo
Tutorial: IPv6-only transition with demoTutorial: IPv6-only transition with demo
Tutorial: IPv6-only transition with demo
 
IPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-onIPv4aaS tutorial and hands-on
IPv4aaS tutorial and hands-on
 
APNIC Update
APNIC Update APNIC Update
APNIC Update
 
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistanceRobert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
 
How You Will Get Hacked Ten Years from Now
How You Will Get Hacked Ten Years from NowHow You Will Get Hacked Ten Years from Now
How You Will Get Hacked Ten Years from Now
 
IPv6 on the Interop Network
IPv6 on the Interop NetworkIPv6 on the Interop Network
IPv6 on the Interop Network
 
Cisco presentation2
Cisco presentation2Cisco presentation2
Cisco presentation2
 
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
 
Apnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshopApnic-Training-IPv6_workshop
Apnic-Training-IPv6_workshop
 
IPv6_Quick_Start_Guide
IPv6_Quick_Start_GuideIPv6_Quick_Start_Guide
IPv6_Quick_Start_Guide
 
L6 6 lowpan
L6 6 lowpanL6 6 lowpan
L6 6 lowpan
 
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
 
IPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoIPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live Demo
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP Networks
 
6lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp016lowpan 110828234426-phpapp01
6lowpan 110828234426-phpapp01
 
Fedv6tf-IPv6-new-friends
Fedv6tf-IPv6-new-friendsFedv6tf-IPv6-new-friends
Fedv6tf-IPv6-new-friends
 
Is IPv6 Security Still an Afterthought?
Is IPv6 Security Still an Afterthought?Is IPv6 Security Still an Afterthought?
Is IPv6 Security Still an Afterthought?
 
IPv6
IPv6IPv6
IPv6
 
2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-
 
Improved Applications with IPv6: an overview
Improved Applications with IPv6: an overviewImproved Applications with IPv6: an overview
Improved Applications with IPv6: an overview
 

Kürzlich hochgeladen

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 

Kürzlich hochgeladen (20)

Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 

Ipv6

  • 1. IPv6 Prepared by: ydrugalya@gmail.com
  • 2. Agenda • IPv6 features overview • IPv6 addressing • Integration and co-existing strategies • IPv6 application development • A Big Picture • References
  • 3. History • 1974 Cerf and Kahn developed TCP/IP for ARPA. • NSF (end of 70-th) • 1992 – RFC 1550. 21 response. 7 left. CLNP. • 1993. 3 proposals left (Deering, Francis, Katz and Ford). SIPP. • SIPP  IPv6 (IPv5 – already allocated)
  • 4. NAT 192.168.0.100 ->.. -> 74.125.87.99(google.com) 192.168.0.100 (5043, 80)  192.168.0.1 / 157.55.1.10 (666, 80)  74.125.87.99(google.com)
  • 5. NAT
  • 6. Why NAT is bad • This was a temporary solution from the beginning • NAT keep us away from transparent connection • NAT violates security and principle of packets consistency • NAT was blocking development of transparent applications • Double/triple NAT translation is very ugly thing
  • 7. Requirements • Larger address space • Simpler protocol for faster routing processing • Better security • Better QoS • Extensibility • Auto configuration • Better Multicast and Anycast abilities • Better support for mobile devices • Coexisting
  • 9. IPv6 Header Fields • Version – always 6 for IPv6 • Traffic class – similar to ToS in IPv4. Each traffic class can be managed differently, ensuring preferential treatment for higher-priority traffic on the network. Not widely used. • Flow label. Experimental. Idea reserve throughput for flow between two hosts. Virtual channel. • Next header – tells which one from 6 extension headers follows • HOP Limit – ex TTL. • Source/Destination addresses
  • 10. Comparing IPv4 and IPv6 headers • IHL – removed • Protocol – removed • Removed all fields related to fragmentation • TTL replaced by Hop limit field. • Header checksum - deprecated (upper level checksum can do it).
  • 12. Extension Headers Header Type Purpose Hop-By-Hop Optional data that each host must examine(Deprecated) Routing Causes packet to visit specific hosts on its way to destination Fragment Contains fragment identification, offset flags Destination Options Processed only by destination host Authentication Sender verification Encapsulating Security Indicates that the rest of payload is encrypted Payload
  • 13. Stateless and Stateful Address Configuration • Statefull address configuration – DHCP for IPv6 • Stateless address configuration – No DHCP server – Automatic link-local address configuration
  • 14. IPv6 Address format RFC 2373 2001:05c0:1000:000b:0000:0000:0000:9eaf  2001:5c0:1000:b::9eaf http://[2620:0:1cfe:face:b00c::3]
  • 15. IPv6 address types - Unicast – address for single interface - Global - Site-local - Link-local - Anycast – address of set of interfaces - Multicast – scoped address of group of interfaces RFC 4291
  • 16. Global Unicast address format 2620:0:1cfe:face:b00c::7
  • 17. Site-Local address format FEC0::3:260:8FF:FE52:F9D8
  • 18. Link-local format EUI-64(RFC 2373) VS Random number
  • 19. Multicast address format • ff02::1 - all nodes in local segment • ff02::2 - all routers in local network segment • FF01::2 - node local scope all routers • FF02::2 - link-local scop all-routers
  • 20. IPv4 compatible IPv6 address deprecated
  • 21. IPv4 mapped IPv6 address RFC 4038
  • 22. Integration and co-existing strategies • Dual-stack • IPv6 over IPv4 tunnels • Dedicated data links
  • 24. Popular transition technologies • Static 6 over 4 tunnels • Automatic 6to4 Tunnel. – 6to4 – Teredo – ISATAP – go6.net – SixXS IPv6 Transition Technologies
  • 25. IPv6 over IPv4 tunnels
  • 26. 6to4* Idea: - Encapsulate IPv6 packet into IPv4 packet Example: IPv4 address: 16.24.244.69 --> 2002:1018:f445::1018:f445
  • 27. Teredo* Idea: - encapsulate IPv6 into UDP - encapsulate UDP port and ipv4 into ipv6 address RFC 4380 . Example 2001:0:5ef5:79fd:34a0:3750:e0e0:8ed1
  • 30. IPv6 Application development IPv6 Guide for Windows Sockets Applications Checkv4.exe Main idea: make your application dual stack - use agnostic data structures - change function calls - remove hardcoded addresses - change UI RFC 4038
  • 31. IPv6 Application development Data structures Data structures sockaddr_in  sockaddr_storage Shims: getPort, getSockAddrBytes, getAddrLen, etc. int getPort(sockaddr_storage& addr) { switch(addr.ss_family) { case AF_INET: return ntohs ( reinterpret_cast<sockaddr_in*>(&addr)->sin_port ); case AF_INET6: return ntohs ( reinterpret_cast<sockaddr_in6*>(&addr)->sin6_port ); default: throw exception; }
  • 32. IPv6 Application development Function calls #if !defined(IPV6_V6ONLY) # define IPV6_V6ONLY 27 #endif setsockopt(sockfd, PPROTO_IPV6, IPV6_V6ONLY, (char *)&off, sizeof(off) ); gethostbyname  getaddrinfo gethostbyaddr getnameinfo
  • 33. Troubleshooting netsh interface ipv6 show address netsh interface ipv6 show neighbors netsh interface ipv6 delete neighbors netsh interface ipv6 show destinationcache netsh interface ipv6 delete destinationcache
  • 38. References • IPv6 Learning Roadmap • IPv6 Guide for Windows Sockets Applications • www.ipv6.com • Test your IPv6 connectivity • Google IPv6 Conference 2008: What will the IPv6 Internet look like? • SixXS - IPv6 Deployment & Tunnel Broker • Cool IPv6 stuff • icmpv6x

Hinweis der Redaktion

  1. Picture taken from: http://www.twcableuntangled.com/2011/02/ipv4-ipv6-and-world-ipv6-day-the-asteroid-is-coming-but-well-blow-it-up-together/
  2. History RFC 1550. 21 PROPOSAL. INTERESTING proposal CLNP – 160 BIT ADDRESS. 7 LEFT 3 LEFT
  3. 48-bit global routing prefix 16-bit subnet id
  4. Higher 10 bits of first two 2 bytes used to identify message purpose 16 bits of the subnet id field are available to the network administrator to define subnets within the given network 64 bit is automatically generated based on MAC, randomly generated or assigned by DHCPv6 Used to restrict communication in specific domain
  5. The 54 zeroes that follow make the total network prefix the same for all link-local addresses, rendering them non-routable Used in in the neighbor discover protocol and stateless auto configuration process Nodes on the same link can communicate each with other without router. Router does not forward packet with link-local addresses
  6. Dual stack host serving IPV4 and ipv6 clients Receiving datalink looks at Ethernet type field and pass packet to the appropriate IP module The IPv4 client calls gethostbyname and finds an A record for the server (Fig- ure 9.5). The server host will have both an A record and a AAAA record, since it supports both protocols but the lPv4 client asks for only an A record.