32
Some random Some random thoughts of IPv6 thoughts of IPv6 Marcial White University of Advancing Technology

Some random thoughts of IPv6

Embed Size (px)

DESCRIPTION

Some random thoughts of IPv6. Marcial White University of Advancing Technology. The gameplan. What is the internets? (hint: not a truck) Ok so WTF happened to IPv5? What is IPv6? Why is IPv6? How do I IPv6?. What is the internet?. - PowerPoint PPT Presentation

Citation preview

Page 1: Some random  thoughts of IPv6

Some random Some random thoughts of IPv6thoughts of IPv6

Marcial White

University of Advancing Technology

Page 2: Some random  thoughts of IPv6

The gameplanThe gameplan

• What is the internets?» (hint: not a truck)

• Ok so WTF happened to IPv5?• What is IPv6?• Why is IPv6?• How do I IPv6?

Page 3: Some random  thoughts of IPv6

• Basically, a bunch of little networks connected to each other

• Internet protocol• Unique global computer addressing

• Currently on: IPv4 (aka TCP/IPv4)• TCP/UDP• Addressing• Subnetting• NAT

What is the internet?What is the internet?

Page 4: Some random  thoughts of IPv6

IPv4 – Addresses\IPv4 – Addresses\NotationNotation

• 32-bit addresses– 1 bit = 0 or 1– 32 bits = xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx

• Dot-decimal notation– Decimal = 0-9– Dot = . o_0– Example address: 192.168.1.100

Page 5: Some random  thoughts of IPv6

Limited AddressesLimited Addresses

• 32 bits, 2 possibilities per digit (0 or 1)

• 2^32• 4,294,967,296 <(~~ possible addresses

• 6,528,089,562 <(~~ people on the earth (1)

• ~ 729,200,000 <(~~ people on line in 2003 (2)– (3) Forbes Magazine says …

• 1/3 of the possible addresses are already in use• 1/3 of the possible addresses have already been spoken for• 1/3 of the possible addresses need to supply the rest of the

world with myspace accounts

Page 6: Some random  thoughts of IPv6

Address mathAddress math

– 1/3 of 4,294,967,296 – 1,431,655,765 IP addresses in use

– 1,431,655,765 IP’s per 729,200,000 peeps– Almost 2 IP’s per person average

– 5,798,889,562 people aren’t on line– If everyone in the world tried to be on

line with 1 IP per person, 2,233,122,266 people would not get addresses!

• ZOMG Imagine life without YouTube OR 4Chan!!!

Page 7: Some random  thoughts of IPv6

SubnettingSubnetting

• Temporarily fixes limited addressing• Network ID• Host ID• Classes• NAT• CIDR

Page 8: Some random  thoughts of IPv6

Subnetting ExampleSubnetting Example

• IP: 192.168. 1 .100• SNM: 255.255.255.0

– And in binary, just to make it fun:– IP: 11000000 10101000 00000001 01100100– SNM: 11111111 11111111 11111111 00000000

• Network ID becomes the first three octets• 192.168.1

• Host ID becomes the last octet• .100

Page 9: Some random  thoughts of IPv6

CIDR/NATCIDR/NAT

• Classless Inter-Domain Routing• 24 x 1’s in the SNM 255.255.255.0• So, CIDR notation is: 192.168.1.100/24

• Network Address Translation• Provides a way to build networks inside

of networks, using a special class of IP’s• Uses another computer’s IP to

communicate with external networks (including the internet)

Page 10: Some random  thoughts of IPv6

ClassesClasses

• Classes depend on the first octet of the IP address, except for a few special cases

• The 5 classes and their default SNM:• A, B, C, D, E

– Class A /8» 1.0.0.0 through 126.0.0.0

– Class B /16» 128.0.0.0 through 191.255.0.0

– Class C /24» 192.0.0.0 through 223.255.255.0

– Class D» 224.0.0.0 through 239.255.255.0

– Class E» 240.0.0.0 through 255.255.255.0

Page 11: Some random  thoughts of IPv6

CommunicatingCommunicating

• Transmission Control Protocol• Connection based protocol• 3 way handshake• Great for file transfers and grabbing web

pages

• User Datagram Protocol• Connectionless based protocol• Great for real time data transfer

» Shoutcast (jungletrain.net)» Video conferencing

Page 12: Some random  thoughts of IPv6

The internet is …The internet is …

• TCP/IPv4 + DNS = INTARWEBBING• Security through

• IPSec (AH/ESP)• Firewalls (similar to ACL)• Network Design (SPF?)

» IDS» IPS

• OBSCURITY » which we know isn’t very secure» If it weren’t for those kids and their

stupid dog

Page 13: Some random  thoughts of IPv6

In other words …In other words …

The Internet = a big pain in the ass

Page 14: Some random  thoughts of IPv6

Why?Why?

• DARPA scope limitations• DARPAnet

» Initially funded by the infamous Al Gore

» Intended to be a redundant data system that could function without a set path

» Fancy hard drive backups

• No casual users• Who would want to use these

computer thingies anyways?

Page 15: Some random  thoughts of IPv6

So what do we do from So what do we do from here?here?

• Development of IPng• SIPP

» Simple Internet Protocol Plus» RFC1710

• TUBA» TCP and UDP with Bigger Addresses» RFC1347, RFC1561

• CATNIP» Common Architecture for Next-Generation IP» RFC1707

Page 16: Some random  thoughts of IPv6

Whats so cool about this Whats so cool about this stuff?stuff?

According to RFC-Archive.org (4):

• Larger address scheme• Simplified header format• Integrated Authentication\Privacy

» IPSec

• Fragmentation» MTU-Discovery eliminates the need

for fragmentation

Page 17: Some random  thoughts of IPv6

Why not IPv5?Why not IPv5?

According to O’Reilly (5):• Developed to optimize streaming • Connection oriented• Guaranteed QoS• Little to no standardization support

• Too specialized

• IPv5 was never meant to replace IPv4, merely to supplement it

Page 18: Some random  thoughts of IPv6

So what is IPv6?So what is IPv6?

Basically IPv4 with:• 128 bit addresses• Address auto-configuration• Mandatory multicast addresses • Mandatory IPSec• Simplified header structure• Multiple addresses on the same interface

And a few other nifty features…

Page 19: Some random  thoughts of IPv6

IPv6 HighlightedIPv6 Highlighted

• Fixes address space issue• Eliminates the NEED for NAT

• IPv6 can still be NAT’ed for pseudo-anonymity

• Required security• Simplifies routing• MAC based unique addressing

Page 20: Some random  thoughts of IPv6

IPv6 AddressesIPv6 Addresses

• 128 bits– 2^128– 340,282,366,920,938,463,463,374,607,431,768,211,456

• Yes, that’s 12 commas

– Roughly 800 addresses per gram of matter in the Earth (6)

• Hexidecimal notation– Hexidecimal 0-15 (or 0-9, a-f)– Example address: fe80::260:8ff:fecc:d80e/64

• Note : instead of .

Page 21: Some random  thoughts of IPv6

Problems (6)?Problems (6)?

• Router storage limitations• Allocation policies • Rolling out IPv6 without a full

understanding will end up a larger mess than IPv4

• In which case, the internet would be nearly unsalvageable

• Politics vs. Technology

Page 22: Some random  thoughts of IPv6

Router storage Router storage limitations?limitations?

• Older Cisco 2600 series routers– 256 megs of storage space– 2,147,483,648 bits of storage– 67,108,864 IPv4 Addresses– 16,777,216 IPv6 Addresses

– Shouldn’t be TOO bad …• However ……

Page 23: Some random  thoughts of IPv6

Allocation policiesAllocation policies

• Geographic allocation• Much like current IPv4• Who gets what IPs?• How do we keep track of 3.4×1038

addresses?• Big ups routing table MASSIF• BOH• P.s. I <3 jungle

Page 24: Some random  thoughts of IPv6

Early ’90s Ford ABSEarly ’90s Ford ABS

• They really sucked• So did IPv4 when it was realized

that we didn’t plan for the future• NAT was a shoddy workaround…

• We can’t let that happen to IPv6 (7)

• 79,228 hundred billion billion times the addresses of IPv4

• 79,228 hundred billion billion times the clusterf*ck if we screw this up

Page 25: Some random  thoughts of IPv6

Ideas? Anyone? Bueller?Ideas? Anyone? Bueller?

• Mike O’Dell of UUNET proposes GSE:– Alternate Addressing Architecture for

IPv6 (8)– Basically:

• Split up a 16 byte address into an 8 byte EID and 8 byte “Routing Goop(RG)” (locator)

• Resembles a NAT structure, but the RG is a manipulable by the routing system

» Packets get modified in realtime» Allows for scalable multi-homing

Page 26: Some random  thoughts of IPv6

Good idea but…Good idea but…

• Purists argue this is in violation of the end-to-end principle of networking

• And more importantly• Implementing this would require a few

incompatible changes to tcp/udp• We don’t want to rewrite the internet,

again• Controversially insecure• Currently not in use, no momentum

Page 27: Some random  thoughts of IPv6

So what do we do?So what do we do?

Familiarize yourself with IPv6 so that you can have an opinion, and participate in the community of developers and testers to further development of what could be a really useful protocol.

Page 28: Some random  thoughts of IPv6

And dhen?And dhen?

So what do we do from here?

Indeed … that is the question.

For more depth on IPv6, check out the new class next semester! Registration opens in a couple weeks, be ready!

TCP/IPv4 is the pre-requisite

Page 29: Some random  thoughts of IPv6

A.D.D. IPv6A.D.D. IPv6

• Can’t sit still long enough to learn the in’s and out’s of IPv6?

• Check out freenet6.com for a free IPv6 extension (part of your geographically assigned IPv6 address)

• TSPc• Linux Kernel 2.4.x and up

– USAGI– KAME

Page 30: Some random  thoughts of IPv6

ReferencesReferences

1. http://www.census.gov/ipc/www/popclockworld.html2. http://global-reach.biz/globstats/index.php3 3. http://www.forbes.com/intelligentinfrastructure/2006/04/11/

internet-google-space_cx_df_0412internet.html4. http://www.rfc-archive.org/getrfc.php?rfc=14545. http://www.oreillynet.com/onlamp/blog/2003/06/

what_ever_happened_to_ipv5.html 6. http://en.wikipedia.org/wiki/Ipv6 7. http://www.nanog.org/mtg-0606/pdf/vince-fuller.pdf#search=

%22ipv6%20routing%20table%20issues%22 8. http://ietfreport.isoc.org/idref/draft-ietf-ipngwg-gseaddr/

Page 31: Some random  thoughts of IPv6

BSP - BOHBSP - BOH

• http://www.jointsubcommittee.comhttp://www.jungletrain.net

Page 32: Some random  thoughts of IPv6

Questions?Questions?

Hey Data, how do I shot web?!?

Processing … (wtf)