SlideShare a Scribd company logo
Lessons from IPv6 day Jon Warbrick
IPv4 131.111.8.46
IPv6 2001:630:200:8080::80:0
IPv6 2001:630: 212 :8080::80:0 2001:630:212::/44
8th June 2011
Objective On 8 June, 2011, top websites and Internet service providers around the world joined together for a successful global-scale trial of the new Internet Protocol, IPv6. By providing a coordinated 24-hour “test flight”, the event helped demonstrate that major websites around the world are well-positioned for the move to a global IPv6-enabled Internet, enabling its continued exponential growth. http://www.worldipv6day.org / “ ”
Participants ...and at least 1,000 more
Gotchas (predicted) (predicted)
Auto-configuration You may have an address without knowing it! The router you got it from may not work If it’s not registered, it’s not in cam.ac.uk Auto-config not suitable for servers
v4 service != v6 service Separate name ↔ address mapping Virtual hosting May not respond
Packet filters and firewalls
‘Private’ addresses
localhost 127.0.0.1 != ::1
Log Analysis “ 2001:630:212:8080::80:0” does not match /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
Gotchas (less obvious) (less obvious)
Fragmentation The magic number is 1280
Old (and not-so-old) software
So, the plan... E-mail (*.hermes.cam.ac.uk, mx.cam.ac.uk) Web servers ( www.cam.ac.uk , [web-]search.cam.ac.uk, Raven) The SMS The DNS servers UTBS Lookup
So, the plan... E-mail (*.hermes.cam.ac.uk, mx.cam.ac.uk) Web servers ( www.cam.ac.uk , [web-]search.cam.ac.uk, Raven) The SMS The DNS servers UTBS Lookup
On the day... Internal access to external resources
On the day... Access to internal resources
IPv6 proportions www.cam 1.5% requests Hermes Webmail 0.55% logins 0.46% requests Hermes IMAP 0.15% logins Hermes POP 0.04% logins Hermes SMTP 0.25% messages PP Switch 3.1% messages mx.cam 1.0% messages
www.cam: top 10 countries 8,351 requests total, from 230 clients, 28 countries 2619 UCS STAFF 1373 China 1290 Brazil 835 JANET 630 UNIVERSITY 420 United Kingdom 293 United States 171 Greece 123 France 110 Czech Republic
The trouble with tunnels www.cam: 50 clients, 630 requests over 6to4 36 clients from within the University 20% of smtp.hermes messages
6to4 IPv4 IPv6 131.111.10.33 2002:836f:a21:: 192:88:99.1 IPv6 packets inside IPv4 Router for 2002::/16
Tunnel issues 6to4 hosts can advertise themselves as routers 6to4 only works for machines with public addresses Teredo supports privately addressed machines using 2001:0::/32 Both mean that machines on your network can have addresses not on your network!
That’s it If you have been, thanks for listening If you have been, thanks for listening

More Related Content

KEY
Lessons fro IPv6 day, 2011
PDF
Http methods
PPTX
Http basics by-joshi_29_4_15-ppt
PDF
HTTP - The Protocol of Our Lives
PDF
Lec 7(HTTP Protocol)
PDF
HTTP2 & HPACK #pyfes 2013-11-30
PPTX
Introduction to HTTP
PDF
HTTP/2 - for TCP/IP Geeks Stockholm
Lessons fro IPv6 day, 2011
Http methods
Http basics by-joshi_29_4_15-ppt
HTTP - The Protocol of Our Lives
Lec 7(HTTP Protocol)
HTTP2 & HPACK #pyfes 2013-11-30
Introduction to HTTP
HTTP/2 - for TCP/IP Geeks Stockholm

What's hot (20)

PPT
Access Any Data Any Where
PPTX
Basics of HTTP - Nafis Fuad
PDF
21 HTTP Protocol #burningkeyboards
PPTX
Http protocol
PPTX
Introduction to HTTP protocol
PPTX
Http Protocol
PPTX
Web 101
PPTX
HTTP Protocol Basic
PPTX
PPTX
PPTX
Hypertext Transfer Protocol
PPTX
KEY
What's up with HTTP?
PDF
Hypertexttransferprotocolhttp 131012171813-phpapp02
PPTX
Introduction to HTTP - Hypertext Transfer Protocol
PPTX
Http-protocol
PPTX
Http - All you need to know
PDF
Http/2 - What's it all about?
Access Any Data Any Where
Basics of HTTP - Nafis Fuad
21 HTTP Protocol #burningkeyboards
Http protocol
Introduction to HTTP protocol
Http Protocol
Web 101
HTTP Protocol Basic
Hypertext Transfer Protocol
What's up with HTTP?
Hypertexttransferprotocolhttp 131012171813-phpapp02
Introduction to HTTP - Hypertext Transfer Protocol
Http-protocol
Http - All you need to know
Http/2 - What's it all about?
Ad

Similar to Lessons from IPv6 Day (20)

PDF
Performance Evaluation of XMPP on the Web
PDF
The End of IPv4: What It Means for Incident Responders
PDF
Update on IPv6 activity in CERNET2
PDF
PLNOG 7: Grzegorz Janoszka - Memoirs from an IPv6 deployment in the hosting n...
PDF
Splunk app for stream
PPTX
LACNOG - Logging in the Post-IPv4 World
PDF
Is IPv6 Really Faster?
PPT
Juglouvain http revisited
PDF
Primer to Browser Netwroking
PPT
PPTX
Future Internet
PPTX
Event-Driven Messaging and Actions using Apache Flink and Apache NiFi
PDF
Android Performance #4: Network
PDF
Building a better web
PDF
Handy Networking Tools and How to Use Them
KEY
The HTML5 WebSocket API
PDF
IPv6 Implementation and Migration
PDF
Real-Time Web Apps & .NET - What are your options?
PDF
presentation_5725_1534743837.pdf
PDF
IPv6 Campus Deployment Panel
Performance Evaluation of XMPP on the Web
The End of IPv4: What It Means for Incident Responders
Update on IPv6 activity in CERNET2
PLNOG 7: Grzegorz Janoszka - Memoirs from an IPv6 deployment in the hosting n...
Splunk app for stream
LACNOG - Logging in the Post-IPv4 World
Is IPv6 Really Faster?
Juglouvain http revisited
Primer to Browser Netwroking
Future Internet
Event-Driven Messaging and Actions using Apache Flink and Apache NiFi
Android Performance #4: Network
Building a better web
Handy Networking Tools and How to Use Them
The HTML5 WebSocket API
IPv6 Implementation and Migration
Real-Time Web Apps & .NET - What are your options?
presentation_5725_1534743837.pdf
IPv6 Campus Deployment Panel
Ad

More from Jon Warbrick (9)

PDF
Dunbar's Number, and what it means to the UIS
PDF
The 'New [University of Cambridge] Map
PDF
Syndicated content on your web pages
KEY
An introduction to Version Control Systems
KEY
Google Apps @ Cambridge - What we did
KEY
(Why) Passwords don't work
KEY
Web Authenication with Shibboleth - a view from the Flat East
KEY
State of the Raven
KEY
Google Apps - SSO and Identity Management at the University of Cambridge
Dunbar's Number, and what it means to the UIS
The 'New [University of Cambridge] Map
Syndicated content on your web pages
An introduction to Version Control Systems
Google Apps @ Cambridge - What we did
(Why) Passwords don't work
Web Authenication with Shibboleth - a view from the Flat East
State of the Raven
Google Apps - SSO and Identity Management at the University of Cambridge

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Getting Started with Data Integration: FME Form 101
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
A Presentation on Artificial Intelligence
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
cloud_computing_Infrastucture_as_cloud_p
Tartificialntelligence_presentation.pptx
Group 1 Presentation -Planning and Decision Making .pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Getting Started with Data Integration: FME Form 101
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
A comparative analysis of optical character recognition models for extracting...
A Presentation on Artificial Intelligence
A comparative study of natural language inference in Swahili using monolingua...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
Advanced methodologies resolving dimensionality complications for autism neur...

Lessons from IPv6 Day

  • 1. Lessons from IPv6 day Jon Warbrick
  • 4. IPv6 2001:630: 212 :8080::80:0 2001:630:212::/44
  • 6. Objective On 8 June, 2011, top websites and Internet service providers around the world joined together for a successful global-scale trial of the new Internet Protocol, IPv6. By providing a coordinated 24-hour “test flight”, the event helped demonstrate that major websites around the world are well-positioned for the move to a global IPv6-enabled Internet, enabling its continued exponential growth. http://www.worldipv6day.org / “ ”
  • 7. Participants ...and at least 1,000 more
  • 9. Auto-configuration You may have an address without knowing it! The router you got it from may not work If it’s not registered, it’s not in cam.ac.uk Auto-config not suitable for servers
  • 10. v4 service != v6 service Separate name ↔ address mapping Virtual hosting May not respond
  • 11. Packet filters and firewalls
  • 14. Log Analysis “ 2001:630:212:8080::80:0” does not match /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
  • 15. Gotchas (less obvious) (less obvious)
  • 16. Fragmentation The magic number is 1280
  • 18. So, the plan... E-mail (*.hermes.cam.ac.uk, mx.cam.ac.uk) Web servers ( www.cam.ac.uk , [web-]search.cam.ac.uk, Raven) The SMS The DNS servers UTBS Lookup
  • 19. So, the plan... E-mail (*.hermes.cam.ac.uk, mx.cam.ac.uk) Web servers ( www.cam.ac.uk , [web-]search.cam.ac.uk, Raven) The SMS The DNS servers UTBS Lookup
  • 20. On the day... Internal access to external resources
  • 21. On the day... Access to internal resources
  • 22. IPv6 proportions www.cam 1.5% requests Hermes Webmail 0.55% logins 0.46% requests Hermes IMAP 0.15% logins Hermes POP 0.04% logins Hermes SMTP 0.25% messages PP Switch 3.1% messages mx.cam 1.0% messages
  • 23. www.cam: top 10 countries 8,351 requests total, from 230 clients, 28 countries 2619 UCS STAFF 1373 China 1290 Brazil 835 JANET 630 UNIVERSITY 420 United Kingdom 293 United States 171 Greece 123 France 110 Czech Republic
  • 24. The trouble with tunnels www.cam: 50 clients, 630 requests over 6to4 36 clients from within the University 20% of smtp.hermes messages
  • 25. 6to4 IPv4 IPv6 131.111.10.33 2002:836f:a21:: 192:88:99.1 IPv6 packets inside IPv4 Router for 2002::/16
  • 26. Tunnel issues 6to4 hosts can advertise themselves as routers 6to4 only works for machines with public addresses Teredo supports privately addressed machines using 2001:0::/32 Both mean that machines on your network can have addresses not on your network!
  • 27. That’s it If you have been, thanks for listening If you have been, thanks for listening

Editor's Notes

  • #2: This talk covers some of the things we leant as a result of participating in Wold IPv6 Day on 8th June 2011. It’s presented mainly from a server administrator’s point of view and, while it mentions assorted network-level issues, it doesn’t go into particular detail. In particular it’s not a guide to setting up an IPv6-capable network, nor a primer on what IPv6 is.
  • #3: We are probably all used to IPv4. Been around for ages. Critically uses 32 bits to represent addresses, normally written as four dot-separated octets, each expressed in decimal. Trouble is, the world is running out of IPv4 addresses (all the ‘spare’ has now been allocated for use, though there are still addresses not actually being used). IPv4 is only surviving thanks to extensive use of RFC 1918 ‘private’ addresses, though their properties mean that ever increasingly complicated workarounds are needed to support their continued use.
  • #4: IPv6, on the other hand, uses 128 bits to represent addresses (and note that doesn’t mean that the address space is only four times bigger...), normally written in hexadecimal as multiple 16-bit blocks sepearted by ‘:’ and with rules allowing runs of zeroes to be omitted. The two protocols have quite a few other differences, some of which we’ll come on to, but the longer addresses are the ones you see first. This is an example address used on IPv6 day...
  • #5: ...except that the University has recently been allocated a new, bigger address range (/44 prefix in place of a /48) which means that all the addresses have to change.
  • #6: So, what was IPv6 day all about?
  • #7: Here’s what the Internet Society (who suggested and promoted the idea) have to say on the subject.
  • #8: Here are some of the big players who started it off by promising to take part. Most of these already made their services available over IPv6, though not by default. In the end, at least 1,000 other providers, including the University of Cambridge, also joined in.
  • #9: We gave this some thought in advance, and identified a number of things that we’d need to worry about...
  • #10: IPv4 (at least in Cambridge where DHCP - especially dynamic DHCP - has always been considered a bit iffy) needs manual configuration: address, netmask, router, etc. v6, on the other hand, will by default try to configure itself. Connect any modern OS to many IPv6-capable networks and the machine will acquire a globally-routable address. This difference can lead to some surprises.
  • #11: The DNS handles name<->IPv4 mapping separately to name<->IPv6 mapping So there’s no guarantee that you’ll hit the same server, never mind the same service, over v6 as over v4. Setting things up like this may lead to madness, but can sometimes be useful. IPv6 config may be needed at an application level - for example Apache needs to know what IP addresses it’s doing name-based virtual hosting on and so will need to know about v6 addresses as well as v4 ones. If an advertised v6 address isn’t responding (perhaps because the v6 interface is down) but the corresponding v4 interface is responding then clients will tend to try v6 and only fall back to v4 after a timeout. The symptoms can look VERY like server or network overload!
  • #12: Packet filters and firewalls will need new configuration for v6 - default will probably be to block everything or allow everything, neither of which will probably be what you want.
  • #13: It’s tempting to consider a machine with a RFC 1918 private address behind a NAT service to be more secure that a publically addressed one, because it can’t be poked directly from the outside. Private v6 addresses do exist, but are not widely deployed because they are typically a solution to an address shortage and we are not short of v6 addresses. So, stick a v4 privately-addressed machine on a subnet that also supports v6 and it will probably be out there exposed on the public Internet with a global address. This may come as a surprise.
  • #14: It’s common to setup inter-host communications (e.g. web server to database) to use the localhost interface and to limit connections to this to prevent external meddling. But if you enable v6 on such a machine then internal connection may happen via the v6 local interface on ::1 and not the v4 one on 127.0.0.1. If your rules don’t take this into account you may find that you can’t talk to yourself.
  • #15: Rather a lot of log analysis software may be assuming that IP addresses in logs will look like 131.111.10.33, and may be ‘surprised’ to find ones that look like 2001:630:212:8080::80:0. How they react will vary, but ignoring such entries (perhaps silently), or stoping dead on the first one are both possibilities.
  • #16: ...and once we got into actually doing the necessary configuration we found some others:
  • #17: If an IPv6 router finds it has a packet that’s too big to send over a particular link it drops the packet and sends a ‘Packet too big’ ICMP6 message to the packets origin, which is expected to resend it smaller. If anyone foolishly blocks those ICMP6 messages then this won’t work, and you’ll find that you can successfully send small packets but not full size ones. In a web context, this can mean that clients can open connections and successfully send requests, but can’t receive responses (which are typically much bigger). IPv6 requires that all links carry at least 1280 byte packets (c.f. 1500 byte packets typically used on Ethernet) and there is some evidence that the big providers are artificially limiting themselves to 1280 bytes, presumably to avoid this problem. [IPv4 also has fragmentation, but it handled on a per-link basis, rather than end-to-end. It too can cause problems, but these are now largely understood and normally avoided]
  • #18: Even though it’s been around for a while, IPv6 is still changing quite rapidly, and even ‘current’ software may not be keeping up. For example all but the most recent point release of the version of MacOS current on IPv6 Day had a bug that was likely to affect some users. SuSE Linux Enterprise 10 (old, but still in support) has some failings in its v6 support that caused us problems.
  • #19: The core of the CUDN already supports IPv6, as does JANET, but only a few University edge networks have enabled it (UCS, Astronomy, Computer Lab, SRCF, ...). The plan was to enable IPv6 on all these services for Pv6 day...
  • #20: ...but inevitably some fell by the wayside. We did manage the rest.
  • #21: No known problems experienced by any University clients accessing v6-enabled services.
  • #22: A small but significant number of people accessed our v6 enabled services, apparently successfully.
  • #23: OK, not exactly big numbers. Services mainly offered to internal clients likely to be low because of the small number of internal clients with IPv6 connectivity. For services also accessed from outside ( www.cam , mx.cam) ~1% of accesses were over v6.
  • #24: China/Brazil probably high because the developing world has disproportionately fewer IPv4 addresses then US/Europe, etc., because by the time they wanted them the shortage was already becoming apparent and allocation rules were tightened. Such countries are likely to already be deploying v6 to cope with this.
  • #25: Because of the disconnect between IPv4 and IPv6, various people have created systems what will, automatically or with manual configuration, allow v4 and v6 hosts to communicate or allow a pair of v6 hosts that don’t have v6 connectivity between them to communicate. ‘6to4’ is one such, and a common bug is that machines will sometimes chose an IPv6 connection via one of these ‘transitional technologies’ in favor of a ‘real’ IPv4 connection. For example lots of clients in the University contacted www.cam and smtp.hermes over 6to4 even though all those clients will have had viable IPv4 routes to the same servers. This causes some problems.
  • #26: 6to4 is really clever, and here’s a diagram of how it works. You might want to look at the Wikipedia description for more detail: http://en.wikipedia.org/wiki/6to4 The critical points are that a 6to4 host ends up with an entirely usable IPv6 address in the 6to4 range 2002::/16, and if it wishes can offer to route other address in that range on behalf of other clients on the same subnet (thus bringing IPv6 support to a network that wouldn’t otherwise have it). But all this depends on connections that are probably crossing the institution boundary and which are probably being offered on a ‘best efforts’ basis at best.
  • #27: So now you have machines on your network that are using IPv6 addresses from a range that you don’t expect. Any access control by IP address is likely to be messed up by this. Worse, since 6to4 machines can advertise themselves as IPv6 routers to other machines, the existence of a machine doing this can easily affect other machines on the same subnet. We saw this effect on IPv6 Day. Part way through the day a department mail server suddenly started using a 6to4 connection being offered by a workstation on the same network. Unfortunately it was forwarding mail to the central mail switch which refused to accept it because it wasn’t (apparently) coming from a machine in the University. Fortunately this was easily fixed, and didn’t result in a loss of mail, but does suggest that a significant barrier to wider Pv6 deployment may turn out to be these very ‘transitional’ technologies that were designed to make it easier.
  • #28: The bottom line from IPv6 day is that enabling ‘dual stack’ (IPv6 alongside IPv4) operation on servers ‘just works’ and generally doesn’t cause problems for clients (which may themselves be v4-only, v6-only, or dual stack). However 6to4 (and similar technologies), when used inappropriately, may cause problems for some IP address-based access control systems. By and large adding IPv6 support to new or existing servers on networks that already support IPv6 is not difficult.