



































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!




































Distributed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 United States License For more information, see: http://creativecommons.org/licenses/by-nc-nd/3.0/us/legalcode
By Timothy D. Morgan
◘ (^) I'm a long-time programmer, systems administrator, and security consultant who: ● (^) has dabbled in IPv ● (^) uses Linux and free software as much as possible ● (^) is not a networking god, so don't ask me about routing protocols. ◘ (^) I currently work for a security consulting company (www.vsecurity.com). Opinions you see here are my own. ◘ (^) You may reach me at: tim-pdxlug (α) sentinelchicken.org
◘ (^) The current allocation algorithm is roughly: ● (^) IANA has a pool of reserved addresses which are distributed to the five Regional Internet Registires (RIRs). ● (^) RIRs request additional address space when they reach >80% utilization. They are then given an additional /8 block. ● (^) RIRs distribute address blocks ("prefixes") to Local Internet Registries (LIRs) and large ISPs based on their own policies. ◘ (^) Based on this model, IANA will run out of address space first, which will then trickle down to the RIRs and LIRs.
◘ (^) Current estimates (as of April 25, 2008) indicate that IANA will run out of unallocated address space on January 13, 2011. ◘ (^) Shortly thereafter, around November 29, 2011, the various RIRs will begin running out of address space. ◘ (^) At that point, does the sky fall? Not really, because: ● (^) Many organizations have far more address space than they need. ● (^) NAT/NAPT will likely become even more popular.
◘ (^) Much larger address space ◘ (^) No need for NAT/NAPT ◘ (^) Streamlined, variable-length header ◘ (^) Supports integrated IPSEC headers ◘ (^) Better load balancing through anycast
◘ (^) Address autoconfiguration ◘ (^) More flexible central management with DHCPv ◘ (^) Mobile device support ◘ (^) Integration of various routing features: ● (^) QoS flow labels ● (^) PMTU is required for fragmentation
◘ (^) Addresses may sometimes need to be contained in brackets for disambiguation. For instance: http:// [2002:C0A8:101::] :80/some/path/ ◘ (^) Some special addresses: Type Range Analogous To Loopback ::1 127.0.0.1/ Global Unicast (currently) 2000::/3 current unicast Unique Local Unicast FC00::/7 RFC 1918 ranges Link Local Unicast FE80::/10 N/A Multicast FF00::/8 224.0.0.0/
IPv4 IPv Bits 0-3 4-7 8-15 16-18 19-31 0-3 4-7 8-11 12-15 16-19 20-23 24-27 28- 0 Version ToS Length Version Traffic Class Flow Label 32 Fragment ID Flags Payload Length Next Header Hop Limit 64 TTL Protocol Source Address 96 Source Address 128 Dest ination Address 160 192 Destination Address 224 256 288 320 Next Header Header Length Frag. Offset Header Checksum Options (Bet ween 0 and 320 bits of option records, in 32-bit chunks)
◘ (^) ICMPv6 provides two types of autoconfiguration. ● (^) Stateless: Routers to advertise a subnet prefix. Hosts use this prefix along with local information (MAC addresses) to generate their own address. ● (^) Stateful: Much like traditional DHCP under IPv4. ◘ (^) DHCPv6 is updated with additional features: ● (^) Servers may use link-local or site-local multicast addresses. ● (^) Servers may push out updates without waiting for clients to refresh leases. ● (^) Authentication support.
◘ (^) ICMPv6 is a rewrite of ICMP. Changes include: ● (^) Integrated neighbor discovery, eliminating the need for ARP. ● (^) Integrated IGMP management. ● (^) ICMPv6 is considered a part of IPv6 and must be fully implemented by all nodes. ◘ (^) RIPng, OSPF version 3, and BGP-4 w/ IPv extensions all exist to support IPv6 routing. ◘ (^) The lack of fully private networks (RFC 1918 ranges) removes some pitfalls, such as route leakage, from route management.
◘ (^) IPv6 designers envision a lengthy transition process which comes in multiple steps. ◘ (^) It is likely that most systems will be "dual- stack", meaning they will support both IPv6 and IPv4 for the forseeable future. ◘ (^) Multiple tunneling technologies are available to allow users and systems administrators choice and flexibility in communicating with the IPv Internet during the transition.
◘ (^) Until your ISP offers you direct routes to the IPv6 Internet, how can you communicate to IPv6 hosts? ◘ (^) The most obvious answer is to set up a static tunnel. Given a peer who is willing to route your IPv6 packets, simply send them IPv packets with embedded IPv6 packets. ◘ (^) There are several free IPv6 tunnel brokers around the world. Users/administrators simply need to sign up for an account and then configure routers to use the tunnel.
◘ (^) Anyone with an IPv4 address is automatically assigned a 6to4 address range in 2002::/16. ◘ (^) Your 6to4 block is determined by your IPv address. If you had an address of "222.173.190.239", your 6to4 prefix would be: 2002: DEAD:BEEF ::/ ◘ (^) Generally 6to4 tunneling needs to be set up at the border of networks, particularly if IPv NA(P)T is used.
◘ (^) As packets leave a network, the 6to4 gateway wraps them in IPv4 headers. How is this wrapper constructed? ● (^) The IPv4 source address can be easily pulled from the IPv6 source address. ● (^) If the destination IPv6 address is also a 6to address, then the destination IPv4 address is similarly extracted. ◘ (^) This direct routing over the IPv4 cloud allows for reliable, distributed tunnels with relatively little overhead.