Internet Protocol (IP)

Similar documents
Lecture Computer Networks

8.2 The Internet Protocol

IP - The Internet Protocol

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Future Internet Technologies

Introduction to IP v6

RARP: Reverse Address Resolution Protocol

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Technical Support Information Belkin internal use only

Networking Test 4 Study Guide

04 Internet Protocol (IP)

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Internet Control Protocols Reading: Chapter 3

Internet Protocol version 4 Part I

Internet Protocols Fall Lectures 7-8 Andreas Terzis

IP Addressing. IP Addresses. Introductory material.

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Network layer: Overview. Network layer functions IP Routing and forwarding

Transport and Network Layer

IP Addressing Introductory material.

Ethernet. Ethernet. Network Devices

- IPv4 Addressing and Subnetting -

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Network Layer: Network Layer and IP Protocol

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

2. IP Networks, IP Hosts and IP Ports

IP Addressing A Simplified Tutorial

Savera Tanwir. Internet Protocol

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Troubleshooting Tools

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

IP addressing and forwarding Network layer

Subnetting,Supernetting, VLSM & CIDR

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

The Internet. Internet Technologies and Applications

Internetworking and Internet-1. Global Addresses

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

PPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)

Themen der Praktikumsnachmittage. PPS Internet-Praktikum. Zielsetzung. Infrastruktur im ETF B5

ICS 351: Today's plan

Internetworking and IP Address

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

IP address format: Dotted decimal notation:

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

101 Application Delivery Fundamentals

IP Routing Features. Contents

Internet Addresses (You should read Chapter 4 in Forouzan)

Internet Protocols. Addressing & Services. Updated:

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Chapter 4 Network Layer

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

We Are HERE! Subne\ng

Introduction to TCP/IP

Technology Brief IPv6 White Paper.

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

NETWORK LAYER/INTERNET PROTOCOLS

PART IV. Network Layer

Chapter 9. IP Secure

Computer Networks. Main Functions

Internet Protocol Version 6 (IPv6)

Classful IP Addressing. Classless Addressing: CIDR. Routing & Forwarding: Logical View of a Router. IP Addressing: Basics

The Internet/Network Layer

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Network Protocol Configuration

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

Internet Protocols Fall Outline

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

Mathatma Gandhi University

(Refer Slide Time: 02:17)

IP Subnetting and Addressing

Network Layer: Address Mapping, Error Reporting, and Multicasting

Lecture 8. IP Fundamentals

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Chapter 12 Supporting Network Address Translation (NAT)

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Introduction to LAN/WAN. Network Layer (part II)

256 4 = 4,294,967,296 ten billion = 18,446,744,073,709,551,616 ten quintillion. IP Addressing. IPv4 Address Classes

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Network Security TCP/IP Refresher

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Overview of TCP/IP. TCP/IP and Internet

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Transcription:

1 Internet Protocol (IP) ubiquitous communications across heterogeneous networks in any technology any host on the Internet can communicate with any other host via IP packets» TCP peers exchange segments - and provide applications such as HTTP, FTP, Telnet etc.» UDP peers exchange datagrams - to provide DNS, SNMP, RTP etc.» ICMP (Internet Control Message Protocol) - for error and control messages, PING queries etc.» ARP (Address Resolution Protocol) and RARP (Reverse ARP) - IP to MAC addresses and vice versa Application TCP UDP ICMP IP ARP RARP Physical network Application

2 Encapsulation and header information» TCP header contains source and destination port numbers» IP header contains source and destination IP addresses, and transport protocol type IP Header TCP Header Application request» Ethernet header contains source and destination physical addresses, and network protocol type Ethernet Header FCS receivers determine which higher level protocol the PDU is intended for from the protocol type in their header» ethernet sends PDU up to IP, ARP, RARP etc.» IP sends to TCP, UDP» TCP to application, based on port number etc.

3 Machine A Application Transport Internet Network Interface Router/Gateway Internet Network Interface Machine B Application Transport Internet Network Interface Network 1 Network 2 internet layer provides a best-effort connectionless packet transfer service» packets routed without connection set up» each router determines the next hop for packets» packets routed independently and may traverse different paths - may arrive at destination in any sequence order» intermediate routers may discard packets when congestion occurs - recovery the responsibility of the transport layer» independent of underlying network technology - accommodates segmentation and reassembly if necessary

IP Packet structure: 0 4 8 16 19 24 31 Version IHL Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address Options (variable length) Padding version : IPv4 and migration to IPv6 IHL : header length Type of Service : packet priority» bits 0-2 : precedence; bits 3-5 : delay, throughput, reliability - usually ignore by routers Total Length : length of IP packet including header Identification, Flags, Offset : used for fragmentation and reassembly 4

Time to Live (TTL) : number of seconds packet is allowed to stay in network» usually interpreted as maximum number of hops allowed» each router decrements count by one» if zero reached, packet discarded and ICMP message sent back to source» avoids packets wandering aimlessly around the Internet Protocol : which protocol handler is to receive the packet at the destination» e.g. ICMP = 1, TCP = 6, EGP (Exterior Gateway Protocol) = 8, UDP = 17 etc. Header Checksum : packet discarded if checksum fails» data part of packet not checked left up to higher level protocols» must be recomputed after TTL decremented at each hop Source IP Address & Destination IP Address : Network ID + Host ID Options : security level, source routing, timestamp, router alert etc.» source routing : routing information provided by the source» timestamp : can be used for performance monitoring» router alert : extract packet contents at a router and perform processing there - used by RSVP (Reservation Protocol) to request a specific QoS along the route Padding : to make header a multiple of 32 bytes 5

6 Fragmentation and Reassembly each physical link imposes a maximum size of transmission unit (MTU)» e.g. ethernet 1500 bytes, FDDI 4464 bytes IP may have to break a large packet into smaller fragments to transmit them» each fragment is sent independently, as though it were an IP packet any router may need to fragment packets to smaller sizes again: IP Source Router Destination IP Network Network the destination IP is the only entity that reassembles fragments into the original packet

to reassemble a packet» destination waits until all the fragments have been received» if any fragment is lost, the whole original packet is abandoned - e.g. due to error or to congestion - lost fragments detected by using a time-out following arrival of first fragment» Identification field in IP header used to identify which packet a fragment belongs to - source must not reuse an identification value for a sufficiently long period» Flag bits : - DF : don t fragment if packet is longer than MTU for next hop, discard packet and send error message - MF : more fragments follow this one» Offset field : measures the offset in the packet of this fragment - in units of eight bytes performance: since field is only 13 bits long; this then allows lengths up to 65536 bytes» fragment loss means retransmission of all packet fragments again - could be done more efficiently with selective retransmission 7

IP Addressing : each host assigned a unique 32-bit IP address :» Network ID + Host ID» or multiple IP addresses for hosts with multiple interfaces Network IDs allocated by RIPE (Réseaux IP Européens) NCC (Network Coordination Centre) in Amsterdam for Europe, Middle East & North Africa» one of three Regional Internet Registries - ARIN (Americas), APNIC (Asia Pacific)» allocation of blocks of IP addresses to Local Internet Registries e.g. ISPs - who further allocate them to their users Host ID allocated by local network administrator» or dynamically by DHCP routers only need to route packets on basis of the Network ID part» reduces size of routing tables Five address classes : A to E» class D used for multicast services to a group of hosts simultaneously» class E reserved for experiments 8

Bit position: Class A 0 1 2 3 8 16 31 0 Net ID Host ID Class B 1 0 Net ID Host ID Class C 1 1 0 Net ID Host ID Class D 1 1 1 0 Multicast address Class E 1 1 1 1 Reserved for experiments class A : 7+24 : 126 networks + 16 million hosts; class B 14+16 etc.» host ID = all 1s: broadcast to all hosts of the specific network» IP address = all 1s : packet is broadcast to all hosts on the local network» 127.x.x.x : local loopback i.e. this node used for testing» host ID = 0 : refers to a network rather than a host byte-by-byte dotted notation : w.x.y.z» e.g. 129.215.58.7 : (100.) class B : network ID 1.215, host ID 58.7» e.g. 224.0.0.9 : (1110.) multicast address for RIP-2 routers 9

Subnet addressing class B network addresses have 65534 host Ids» too many to administer easily instead add another hierarchical level subnets of the network the local network administrator can choose the size of the subnet Original address 1 0 Net ID Host ID Subnetted address 1 0 Net ID Subnet ID Host ID subnet IDs can be allocated to local LANs within the organisation the subnet can be identified by and-ing the IP address with a subnet mask» e.g. 255.255.255.0 for a subnet with up to 255 hosts the packet can then be routed to the correct subnetwork» allows IP addresses to be aggregated by routers» routing tables reduced in size IP addresses remain two-part outside the organisation» since subnets are invisible externally 10

11 e.g. a packet arrives at router R1 addressed to host H5 at 150.100.15.11 : H1 150.100.12.154 150.100.12.128 H2 150.100.12.176 To the rest of the Internet 150.100.0.1 R1 150.100.12.129 150.100.12.4 H3 H4 150.100.12.24 150.100.12.55 150.100.12.0 150.100.12.1 R2 150.100.15.54 150.100.15.0 H5 150.100.15.11» if R1 knows subnet mask of 255.255.255.128 is in use» subnet address of packet is 150.100.15.0» assuming this address is in R1 s routing table, it can forward the packet to R2» R2 does the same and discovers the subnet is on one of its network interfaces - it can therefore send the packet straight to H5

12 IP Routing of packets originating host checks the destination IP address in its routing table» to see if it is to a directly connected host» if so, the packet sent directly to its destination, over local LAN etc. otherwise, routing table will indicate the packet be sent to a router» probably a default router directly connected to the host when router receives the packet, it checks whether it is destined for itself» if so, it is delivered to the higher level protocol» if not, it determines the next-hop router and network interface routing table entry contents :» IP address of next-hop router» flags : - H (network=0; host=1) - G (direct=0; router=1)» network interface address and type

13 Four steps in attempting to deliver the packet : step 1: table searched for the complete IP address» if so, forwarded according to next-hop and G flag entries step 2 : table searched for destination network ID» if so, packet forwarded according to next-hop and G flag entries step 3 : table searched for a default router entry» if so, packet routed to it step 4 : if none of the searches are successful» packet is declared undeliverable» an ICMP host unreachable error packet sent back to originating host

14 example: host H5 wishes to send a packet to host H2» H5 s routing table : 1 2 3 Destination Next-Hop Flags Network Interface 127.0.0.1 127.0.0.1 H=1 lo0 default 150.100.15.54 G=1 eth0 150.100.15.0 150.100.15.11 eth0-1 : loopback; H=1 indicates a Host - 2 : default router (G=1); next-hop R2-3 : to a network address (H=0) with a direct connection (G=0)» H5 searches table for 150.100.12.176 (H2)» not in, so searches for the destination network ID 150.100.12.128 - assuming a subnet mask of 255.255.255.128» not in, so finds default router R2 - and forwards the packet to it

15 R2 s routing table: Destination Next-Hop Flags Network Interface 1 127.0.0.1 127.0.0.1 H=1 lo0 2 default 150.100.12.4 G=1 eth0 3 150.100.15.0 150.100.15.54 eth1 4 150.100.12.0 150.100.12.1 eth0» R2 searches its routing table in the same way - and forwards packet to router R1 R1 s routing table: Destination Next-Hop Flags Network Interface 1 127.0.0.1 127.0.0.1 H=1 lo0 2 150.100.12.176 150.100.12.176 eth0 3 150.100.12.0 150.100.12.4 eth1 4 150.100.15.0 150.100.12.1 G=1 eth1» R1 searches its table for 150.100.12.176 and finds a match - so sends the packet through interface eth1 to H2

e.g. routing table from a Windows 2000 machine» using command : route PRINT =========================================================================== Interface List 0x1... MS TCP Loopback interface 0x2...00 a0 c9 a4 9d 18... Intel(R) PRO PCI Adapter =========================================================================== =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 129.215.58.108 129.215.58.7 1 0.0.0.0 0.0.0.0 129.215.58.109 129.215.58.7 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 129.215.58.0 255.255.255.0 129.215.58.7 129.215.58.7 1 129.215.58.7 255.255.255.255 127.0.0.1 127.0.0.1 1 129.215.255.255 255.255.255.255 129.215.58.7 129.215.58.7 1 224.0.0.0 224.0.0.0 129.215.58.7 129.215.58.7 1 255.255.255.255 255.255.255.255 129.215.58.7 129.215.58.7 1 Default Gateway: 129.215.58.109 =========================================================================== Persistent Routes: None 16

17 Address Resolution Protocol (ARP) to find the Medium Access Control (MAC) ethernet address of a host e.g. H1 (150.100.76.20) wants to find MAC address of H3 (150.100.76.22)» H1 first checks its ARP cache for H3 s IP address» if not in, H1 broadcasts an ethernet frame requesting the MAC address corresponding to the IP address 150.100.76.22 H1 H2 H3 H4 150.100.76.20 150.100.76.21 150.100.76.22 150.100.76.23 ARP request : what is the MAC address of 150.100.76.22? protocol type x806 ethernet header ARP message padding ethernet CRC protocol type for IP packets is x800 - arp message contains IP and MAC addresses of H1, as well as IP address of H3» each host on the network receives the ARP request - checks for a match with its own IP address - if no match, the ARP request is discarded

» when H3 finds a match :» H3 adds H1 s IP address/mac address to its own ARP cache» H3 sends an ARP reply containing its MAC address back to H1 alone H1 H2 H3 H4 ARP response : my MAC address is 08-00-5A-C5-3B-94» when H1 receives the ARP reply message from H3, it updates its cache - and can send IP packets to H3 via ethernet e.g. ARP cache on a Windows 2000 machine :» using command : arp -a Interface: 129.215.58.7 on Interface 0x2 Internet Address Physical Address Type 129.215.58.109 08-00-20-ad-9f-12 dynamic 18

19 Reverse Address Resolution protocol for a host to get its own IP address when it just knows its MAC address»e.g. on thin clients of a server host broadcasts a RARP request containing its MAC address a server which knows replies by sending a RARP response containing the requested IP address» server must be located on same physical network as the host

Problems with IPv4 running out of IP addresses» due to unexpectedly fast growth of the Internet inefficient use of 32-bit IP address space» addresses allocated in blocks at a time» large blocks may be under-utilised e.g. class A address space difficulties in scaling routers to deal with vast number of Internet addresses lack of IP addresses ameliorated by use of Network Address Translation (NAT) router problems ameliorated by use of Classless Interdomain Routing (CIDR)» together these have substantially postponed the need to move to IPv6 other problems:» possible corruption of dynamically allocated leased IP addresses (DHCP)» limited flow control need to control different types of flow independently» security and encryption lacking to facilitate use of Virtual Private Networks 20

21 Network Address Translation reducing the real Internet to a relatively small number of hosts» and using these hosts as gateways into sub-internetworks IP addresses can be re-used in separate internal sub-internetworks each internal sub-network lives behind a NAT-enabled gateway/router registered IP addresses used outside the gateway to connect to public network» assigned by the usual authorities as normal a set of unregistered IP addresses is used in the private local network» a range of addresses are set aside for this re-use by the authority hosts on the local network communicate using local unregistered addresses packets outgoing to the public network have their local IP addresses translated to registered external IP addresses by the gateway and vice versa

22 Static NAT:» mapping an unregistered IP address to a registered IP address one-to-one» useful when a device needs to be accessible from the public network» relies on not all local hosts needing connections all the time Dynamic NAT:» maps an unregistered IP address to a registered IP address from a group of registered IP addresses as and when required

example:» a local network host attempts to connect to an external host» router receives the packet from the local host» router replaces sending host s IP address with first available IP address from its set of registered IP addresses» router saves the host s local IP address and its replaced external IP address in an address translation table» when a packet comes back from the destination host, router checks the destination IP address on the packet» looks in its address translation table for a match - if no match, the packet is discarded» replaces the external IP address with the local IP address» forwards the packet on the local network to the local host» local host receives the packet» process repeats as long as the local host is communicating with the external host - then the external IP address reclaimed for use by another local host - after a suitable time-out limit of non-use 23

Overloading:» maps unregistered IP addresses to a single registered IP address by using different ports (also known as Port Address Translation (PAT)) example:» a local network host attempts to connect to an external host» router receives the packet from the local host» router replaces sending host s IP address with the router s external IP address» and also replaces the sending host s source port with a port number that can be used to index into its address translation table» router saves the host s local IP address and its internal port number in its address translation table - in the external port number position of the table - together with the external IP address of the router - and the destination host s IP address 24

NAT-assigned Port Number Source Host s Name Source Host s local IP address Source Host s Port Number Destination IP address 1 A 123.123.45.6 123 111.222.3.4 NAT-assigned IP address 129.215.58.109 2 B 123.123.45.7 456 222.111.4.3 129.215.58.109 3 C 123.123.45.8 789 111.111.2.3 129.215.58.109 4 D 123.123.45.9 1011 222.222.3.2 129.215.58.109» when a packet returns from the destination external host» router checks destination port on the packet» looks in its address translation table to see which local host it is for - and also checks that packet is from the valid external host for this connection» changes the destination address and port to the ones saved in the table» and sends the packet to the local host can be combined with a dynamic allocation system if required NAT automatically creates a firewall between the local network and outside» only allows connections which originate from within the local network - though static inbound mapping is also possible and may be allowed» the gateway can also provide filtering and traffic logging 25

Classless Interdomain Routing (CIDR) lifts the restriction on IP address classes A, B, C etc. an arbitrary prefix length indicates the network number» e.g. 129.123.0.1/22 indicates a prefix of 22 bits» i.e. a net mask of 255.255.252.0 CIDR routers route packets according to the higher-order bits of the IP address» CIDR routing table entries contain the 32-bit IP address and a 32-bit mask - and-ed together to produce an address to search for in its routing table» a single entry in the routing table covers a block of useful IP addresses - address aggregation for IP addresses which follow the same route - known as supernetting» requires that a longest prefix match search scheme be used IP addresses have to be allocated using policies to capitalise on this capability» e.g. reflecting the physical hierarchical topology of the network» continents use a short prefix, countries slightly longer etc. masks passed around routers by routing protocol messages e.g. RIP-2 can significantly reduce the growth of routing table size 26

27 IP version 6 to address shortcomings of IPv4 and emerging applications» designed to interoperate with IPv4 during transition period - since 1994 so far! Longer addresses 128 bits Simpler header format e.g. no header length or fragmentation fields Options provided by more flexible extension headers Flow label capability to identify a packet flow that needs certain QoS Security : supports authentication and confidentiality Large packets : jumbo packets longer than 64Kb Fragmentation at source only : intermediate routers not allowed to fragment No checksum field» physical layers perform checksum» higher layers also checksum» so not needed

IPv6 Header format: 0 4 12 16 24 31 Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address» version : 6 for IPv6» traffic class : priority of packet; zero means best-effort - intended to support differentiated services still experimental» flow label : source desires special handling of this flow of packets - assigned by the source pseudo-randomly - flow requirements specified by a control protocol or within the packets - also still experimental» payload length : length of data excluding the header 28

» next header : link to next extension header» hop limit : replaces TTL field in IPv4 - now means what it says!» source and destination addresses : 128 bits Address Types» Unicast : denote a single host the normal understanding of IP address» Multicast : a multicast enabled host can join a multicast address group - all IP datagrams to this address get delivered to all group members hosts - a group member informs its local router of its membership of a group using the Internet Group Management Protocol (IGMP) - datagrams sent along distribution tree branches to group members packets only need to be replicated at branches in the distribution tree - multicast routing protocols used for distribution initially flooding from the source followed by pruning unused branches and possible grafting re-used branches e.g. Distance Vector Multicast Routing Protocol (DVMRP) - potentially saves considerable bandwidth - was also available in IPv4 but much bigger address space for group Ids - IPv6 address range with prefix xff 29

» Anycast : like multicast with groups of hosts - but only one host gets the packet typically the closest host - used to enable redundant routers to the Internet - e.g. an organisation with more than one router connected to the Internet - assign the same anycast address to each of these routers - anycast traffic goes to just one of the routers and into the local network - if the router was to go down, the anycast system automatically redirects traffic via another router into the local network - the IP network is therefore much more robust - anycast addresses are unicast addresses assigned to more than one host but the hosts must be configured to know the address is a unicast address IPv6 must be backwards compatible with IPv4 to be interoperable» e.g. IPv4-compatible IPv6 addresses: - 96 bits of zeroes followed by 32 bits of IPv4 address - allows tunnelling of IPv6 traffic across an IPv4 network hierarchical provider-based i.e. ISP, unicast addresses : n bits m bits o bits p bits (125-m-n-o-p) bits 010 Registry ID Provider ID Subscriber ID Subnet ID Interface ID 30

31 Extension Headers» an arbitrary number of daisy-chained headers to provide extra options - the basic header has a type field potentially for an interposed extra header - each subsequent header likewise: Basic header Next header = routing Routing header Next header = fragment Fragment header Next header = authentication Authentication header Next header = TCP TCP segment - or just a single TCP segment: Basic header Next header = TCP TCP segment» header types include: - large jumbo packet sizes up to 32-bits worth: 0 8 16 24 31 Next Header 0 194 Opt Len = 4 Jumbo Payload Length - fragmentation header: 0 8 16 29 31 Next Header Reserved Fragment Offset Res M Identification

32 - source routing i.e. the sequence of routers to be visited by each packet 0 8 16 24 31 Next Header Header Length Routing Type = 0 Segment Left Reserved Strict/Loose Bit Mask Address 1 Address 2... Address 24 segment left : number of route hops remaining strict mask : whether route is strict for this hop or not