Historia - 1/2 Historia - 2/2 1984.1 RFC 932 - propozycja subnettingu 1985.8 RFC 95 - subnetting 199.1 ostrzeżenia o wyczerpywaniu się przestrzeni adresowej 1991.12 RFC 1287 - kierunki działań 1992.5 RFC 1335 - adresy prywatne 1992.1 RFC 1366 - zalecenia oszczędnościowe 1992.1 RFC 1367 - program rozwoju (CIDR) 1993.5 RFC 1454 - porównanie propozycji IPng 1993.12 RFC 155 - konkurs na IPng Strona 1 z 2 1994.5 RFC 1631 - NAT 1994.8 RFC 1668..1688 - wymagania na IPng 1994.1 RFC 171 - Simple Internet Protocol Plus 1994.12 RFC 1719, 1726 - zalecenia 1995.1 RFC 1752 - rekomendacja (SIPP - IPv6) 1995.8 RFC 1826 - IPSec 1995.12 RFC 1883..1887 - IPv6 specification 1996.2 RFC 1917 - apel o zwrot adresów IPv4 1996.8 RFC 197..1972 - IPv6 i Ethernet 1998.11 RFC 241, 242, 246..2411 - poprawki IPSec 1998.12 RFC 246..2466 - poprawiona specyfikacja IPv6 Strona 2 z 2 IP headers Adresy IP v.6 IP version 4 IP version 6 byte byte 1 byte 2 byte 3 byte byte 1 byte 2 byte 3 ver. IHL type of serv. total length identification DM F F fragment offset TTL protocol header checksum source address destination address options ( + padding) ver pri Flow label Payload length Next hdr Hop limit Source address Destination address Strona 3 z 2 18::::8:8:2C:417A a unicast address FF1:::::::11 a multicast address :::::::1 the loopback address ::::::: the unspecified addresses ::::::13.1.68.3 IPv4 compatible :::::FFFF:129.144.52.38 IPv4 only 18::8:8:2C:417A a unicast address FF1::11 a multicast address ::1 the loopback address :: the unspecified addresses ::13.1.68.3 IPv4 compatible ::FFFF:129.144.52.38 IPv4 only Prefixes 12AB:::CD3::::/6 12AB::CD3::::/6 12AB:::CD3::/6 Strona 4 z 2
Rodzaje adresów IP v.6-1/2 Rodzaje adresów IP v.6-2/2 Description Prefix Fraction Prefix binary of space hex. Reserved 1/256 ::/8 Unassigned 1 1/256 1::/8 Reserved for NSAP Allocation 1 1/128 2::/7 Reserved for IPX Allocation 1 1/128 4::/7 Unassigned 11 1/128 6::/7 Unassigned 1 1/32 8::/5 Unassigned 1 1/16 1::/4 Aggregatable Global 1 1/8 2::/3 Unicast Addresses Unassigned 1 1/8 4::/3 Unassigned 11 1/8 6::/3 Unassigned 1 1/8 8::/3 Unassigned 11 1/8 A::/3 Unassigned 11 1/8 C::/3 Strona 5 z 2 Description Prefix Fraction Prefix binary of space hex. Unassigned 111 1/16 E::/4 Unassigned 1111 1/32 F::/5 Unassigned 1111 1 1/64 F8::/6 Unassigned 1111 11 1/128 FC::/7 Unassigned 1111 111 1/512 FE::/9 Link-Local Unicast Addresses 1111 111 1 1/124 FE8::/1 Site-Local Unicast Addresses 1111 111 11 1/124 FEC::/1 Multicast Addresses 1111 1111 1/256 FF::/8 Strona 6 z 2 Budowa adresów IP v.6-1/3 Budowa adresów IP v.6-2/3 n bits 128 bits unicast address 128 n bits EUI64.... 1. g.. FFFE........... 1 FE8 1 FEC 54 64 Link Local Use Unicast Address 38 16 64 subnet SiteLocal Use Unicast Address 48 bit MAC..... g............ 3 13 8 24 16 64 FP TLA res NLA SLA Aggregatable Global Unicast Addresses Strona 7 z 2 Strona 8 z 2
Budowa adresów IP v.6-3/3 IP v.6 w sieci Ethernet n 128 n subnet ID Subnet Router Anycast Address 8 4 4 112 FF fl sc group ID Multicast Address T T= well known address T= transcient address sc reserverd sc 1 node local scope sc = 2 link local scope sc 5 site local scope sc 8 organization local scope sc E global scope sc = F reserved FF1:::::::11 all NTP servers on the same node FF2:::::::11 all NTP servers on the same link FF5:::::::11 all NTP servers on the same site FFE:::::::11 all NTP servers in the Internet Strona 9 z 2 Ethernet header Internet Protocol v.6 header 48 48 16 64 128 128 48 destination MAC 48 source MAC 1 54 FE8 Link Local Use Unicast Address 1 FEC 38 16 subnet SiteLocal Use Unicast Address 16 86DD EUI64 FFFE 48 bit MAC Strona 1 z 2 Nagłówki pomocnicze protokołu IP v.6 Fragmentacja protokołu IP v.6 unfragmentable data Next hdr Hdr Len Options unfragmentablefh data1 NH=TCP IPv6 hdr TCP Hdr unfragmentablefh data2 NH=Routing IPv6 hdr NH=TCP Routing Hdr TCP Hdr unfragmentablefh data3 NH=Routing NH=Fragm NH=TCP IPv6 hdr Routing Hdr Fragm.Hdr TCP Hdr next header reserved fragment offset res. identification M Strona 11 z 2 Strona 12 z 2
DNS dla IP v.4 i v.6 DHCP dla IP v.4 i v.6 yxz IN A 1.2.3.4 IP v4 DNS record revers DNS for IP v4 4.3.2.1.IN-ADDR.ARPA. IP v.4 IP v.6 DHCP server address 255.255.255.255 FF2::1:2 DHCP relay address 255.255.255.255 FF5::1:3 DHCP client port 68 546 DHCP server port 67 547 DHCP relay port 67 547 IP v6 DNS record xyz IN AAAA 4321::1:2:3:4:567:89ab revers DNS for IP v6 b.a.9.8.7.6.5..4...3...2...1...1.2.3.4.ip6.arpa. Strona 13 z 2 Strona 14 z 2 Stateless Address Autoconfiguration RFC 1 Creation of Link-Local Address 2 Duplicate Address Detection 2.1 Sending Neighbor Solicitation Messages 2.2 Receiving Neighbor Solicitation Messages 2.3 Receiving Neighbor Advertisement Messages 3 Creation of Global and Site-Local Addresses 3.1 Soliciting Router Advertisements 3.2 Receiving Router Advertisements Strona 15 z 2 Router Discovery Prefix Discovery Address Autoconfiguration Address resolution Next-hop determination Neighbor Unreachability Detection Duplicate Address Detection Redirect list of routers on attached link list of prefixes for attached link address of the interface link-layer address for a neigbor mapping detination to a neighbor router test if neghbor is reachable test if addres is in use better next hop Strona 16 z 2
Router Discovery RFC Router Discovery RFC ICMP type 133 Router Solicitation all-routers multicast address ICMP options source link-layer address Strona 17 z 2 Router Advertisement link-local addres of the sender IP of invoking if. or all-nodes m-cast IP Authentication header if possible ICMP type 134 ICMP Cur. Hop limit default for Hop count ICMP M flag 1=stateful =stateless address conf. ICMP O flag 1=stateful =stateless configuration for other information ICMP router lifetime router usefullness as a default ICMP reachable time how log router is reachable ICMP retrans. timer how frequently send Neigh. Sol. ICMP options source link-layer address, MTU, prefix information Strona 18 z 2 Neighbor Solicitation target address ICMP type 135 ICMP target address target address ICMP source link-layer address senders link-layer address Strona 19 z 2 Neighbor Advertisement source IP or all-nodes multicast ICMP type 136 ICMP R flag router flag ICMP S flag solticited flag ICMP O flag override flag ICMP target address senders address ICMP target link-layer address senders link-layer address Strona 2 z 2