Lessons from IPv6 Day

27
Lessons from IPv6 day Jon Warbrick

description

Some lessons learned from Cambridge's participation in World IPv6 day on 8th June 2011

Transcript of Lessons from IPv6 Day

Page 1: Lessons from IPv6 Day

Lessons from IPv6 day

Jon Warbrick

Page 2: Lessons from IPv6 Day

IPv4

131.111.8.46

Page 3: Lessons from IPv6 Day

IPv6

2001:630:200:8080::80:0

Page 4: Lessons from IPv6 Day

IPv6

2001:630:212:8080::80:0

2001:630:212::/44

Page 5: Lessons from IPv6 Day

8th June 2011

Page 6: Lessons from IPv6 Day

ObjectiveOn 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/

Page 7: Lessons from IPv6 Day

Participants

...and at least 1,000 more

Page 8: Lessons from IPv6 Day

Gotchas(predicted)

Page 9: Lessons from IPv6 Day

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

Page 10: Lessons from IPv6 Day

v4 service != v6 service

•Separate name ↔ address mapping

•Virtual hosting

•May not respond

Page 11: Lessons from IPv6 Day

Packet filters and firewalls

Page 12: Lessons from IPv6 Day

‘Private’ addresses

Page 13: Lessons from IPv6 Day

localhost

127.0.0.1 != ::1

Page 14: Lessons from IPv6 Day

Log Analysis

“2001:630:212:8080::80:0”does not match

/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/

Page 15: Lessons from IPv6 Day

Gotchas(less obvious)

Page 16: Lessons from IPv6 Day

Fragmentation

The magic number is 1280

Page 17: Lessons from IPv6 Day

Old (and not-so-old) software

Page 18: Lessons from IPv6 Day

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

Page 19: Lessons from IPv6 Day

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

Page 20: Lessons from IPv6 Day

On the day...

Internal access to external resources

Page 21: Lessons from IPv6 Day

On the day...

Access to internal resources

Page 22: Lessons from IPv6 Day

IPv6 proportions

www.cam 1.5% requests

Hermes Webmail0.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

Page 23: Lessons from IPv6 Day

www.cam: top 10 countries2619 UCS STAFF1373 China1290 Brazil835 JANET630 UNIVERSITY

420United

Kingdom

293United States

171 Greece123 France

110Czech

Republic

8,351 requests total, from 230 clients, 28 countries

Page 24: Lessons from IPv6 Day

The trouble with tunnels

•www.cam: 50 clients, 630 requests over 6to4

•36 clients from within the University

•20% of smtp.hermes messages

Page 25: Lessons from IPv6 Day

6to4 IPv4

IPv6

131.111.10.332002:836f:a21:: 192:88:99.1

IPv6 packets

inside IPv4

Router for2002::/16

Page 26: Lessons from IPv6 Day

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!

Page 27: Lessons from IPv6 Day

That’s itIf you have been, thanks for

listening