130 likes | 274 Views
Introduction to IPv6. ECE4110. Problems with IPv4. 32-bit addresses give about 4,000,000 addresses IPv4 Addresses WILL run out at some point Some predicted by 2008, obviously did not happen NAT has helped slow the rate of exhaustion for addresses, but does not solve the problem completely.
E N D
Introduction to IPv6 ECE4110
Problems with IPv4 • 32-bit addresses give about 4,000,000 addresses • IPv4 Addresses WILL run out at some point • Some predicted by 2008, obviously did not happen • NAT has helped slow the rate of exhaustion for addresses, but does not solve the problem completely. • Rapid increase in routing tables as network grows • Variable size header (20 bytes fixed + options) • Options have limited use due to limited size
IPv6 History • RFC 2460, Basic Protocol 1998 • RFC 2553, IPv6 Socket API, 2003 • RFC 3775, Mobile IPv6, 2004 • RFC 3697, Flow Label Specifications, 2004 • RFC 4291, Address Architecture, 2006
IPv6 Timeline http://www.nanog.org/mtg-0302/ppt/hain.pdf
IPv6 Features • New, fixed size header format • Large Address Space (about 10^38 addresses) • Better Support for Hierarchical Addressing • Smaller routing tables? • Automatic “link-local” address assignment • Includes IPSec (Secure IP) Support • Neighbor Discovery • Extension Headers • Multicast • Quality of Service
IPv6 Address Subnet address used by the organization(fixed length) managed by organization 0 64 128 MAC Network part Host part
IPv6 Address notation • Basic rules • “:” in every 2 bytes • Hex digits • shorthand • heading 0s in each block can be omitted • “0000” → “0” • “0:all zeros in between :0” can be “::”
IPv6 address notation – example • 3ffe:0501:0008:0000:0260:97ff:fe40:efab • 3ffe:501:8:0:260:97ff:fe40:efab • 3ffe:501:8::260:97ff:fe40:feab • ff02:0000:0000:0000:0000:0000:0000:0001 • ff02:0:0:0:0:0:0:1 • ff02::1
Aggregatable global unicast address 0 32 64 96 128bit TLA NLA SLA Interface identifier 0 2 4 6 8 10 12 14 16byte NLA1 NLA2 NLA3 TLA – Top Level Aggregator … assigned for 8Kmajor providers(13+3bits) NLA – Next Level Aggregator … assigned for smaller providers SLA – Site Level Aggregator … subnet numbers within organizations (16bits)
Ver6 Prio Flow Label Payload Length Next Header Hop Limit Source Address Destination Address IPv6 Header Format
IPv6 Extension Headers • Hop-by-Hop Options • Every router on the path must examine and process • Routing Options • Similar to source routing in IPv4 • Fragment Header • Destination Options Header • Options processed at destination node only • Authentication Header • Checksumming • Encapsulating Security Payload (ESP) • Remainder of packet is encrypted