Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

Similar documents
IPv6. (Internet Protocol version 6)

CSF645 Mobile Computing 行動計算. IPv6. (Internetworking With TCP/IP vol Part 31) 吳俊興國立高雄大學資訊工程學系

Planning for Information Network

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

Lecture 8. Network Layer (cont d) Network Layer 1-1

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

Internet Protocol, Version 6

CSC 401 Data and Computer Communications Networks

Chapter 4 Network Layer

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

OSI Data Link & Network Layer

INTRODUCTION OF IPV6. Ravikumar Naik 21/11/2011

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

TSIN02 - Internetworking

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

IPv6 : Internet Protocol Version 6

History. IPv6 : Internet Protocol Version 6. IPv4 Year-Wise Allocation (/8s)

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Review of Important Networking Concepts

Interconnecting Networks with TCP/IP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

OSI Data Link & Network Layer

CSCI-1680 Network Layer:

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

Chapter 4 Network Layer: The Data Plane

OSI Data Link & Network Layer

IPng (IPv6) Motivation. Currently: mainly servers, workstations, SLIP/PPP Address space exhaustion + new uses:

IPv6. IPv6, MPLS. IPv6. IPv6 Addresses. IPv4 Packet Format. IPv6. History

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

Cpsc527 - Lecture 3. IPv6 (RFC1883) Dr. Son Vuong UBC

ET4254 Communications and Networking 1

IPv6 Addressing. The IPv6 Address Space. Chapter 3. At the end of this chapter, you should be able to do the following:

LOGICAL ADDRESSING. Faisal Karim Shaikh.

internet technologies and standards

C14a: Internetworks and The Internet

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

TCP /IP Fundamentals Mr. Cantu

Network Layer/IP Protocols

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT

CSC 4900 Computer Networks: Network Layer

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

ECE4110 Internetwork Programming. Introduction and Overview

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

Module 13. IPv6 Addressing

TCP/IP Protocol Suite and IP Addressing

Chapter 5 OSI Network Layer

Computer Networks, Andrew Tannenbaum, Chapter 5.6. Computer Networking: A Top Down Approach Featuring the

Chapter 4 Network Layer: The Data Plane

Internet Routing Protocols Part II

EE 610 Part 2: Encapsulation and network utilities

Configuring IPv6. Information About IPv6. Send document comments to CHAPTER

Business Data Networks and Security 10th Edition by Panko Test Bank

Communication Systems IPv6

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

Chapter 20 Network Layer: Internet Protocol 20.1

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Configuring IPv6 for Gigabit Ethernet Interfaces

IPv6 Addressing and Basic Connectivity

SEN366 (SEN374) (Introduction to) Computer Networks

The Internet Protocol (IP)

The explosive growth of the Internet. IPv4 address space, 32-bit Real-time and interactive applications

Networking Fundamentals

Asst. Prof. Chaiporn Jaikaeo, Ph.D.

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

CMPE 80N: Introduction to Networking and the Internet

CS 3516: Computer Networks

Aeronautical Systems Center

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

7th Slide Set Computer Networks

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

IPv6: An Introduction

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

IPv6 Protocol Architecture

The Internet. The Internet is an interconnected collection of netw orks.

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

IPv6 Feature Facts

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

Network Layer: Control/data plane, addressing, routers

IPv6 Next generation IP

Communication Systems DHCP

CHAPTER-2 IP CONCEPTS

TSIN02 - Internetworking

Rocky Mountain IPv6 Summit April 9, 2008

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

IP - The Internet Protocol

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Transition to IPv6. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

Lecture Computer Networks

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Transcription:

Dr. John Keeney 3BA33 TCP/IP protocol architecture with IP OSI Model Layers TCP/IP Protocol Architecture Layers TCP/IP Protocol Suite Application Layer Application Layer Telnet FTP HTTP DNS RIPng SNMP Presentation Layer Session Layer Transport Layer Transport Layer TCP UDP ND MLD Network Layer Internet Layer IPv4 ICMPv6 Data Link Layer Physical Layer Network Interface Layer Ethernet IEEE 802.11 Frame Relay ATM 3BA33 - J.Keeney - 2007 3 Intro Addressing Header Recommended Texts: Computer Networks with Internet Technology, William Stallings, Chapter 8. Computer Networking: A Top Down Approach Featuring the Internet, Jim Kurose & Keith Ross, Chapter 4. Computer Networks, Andrew Tannenbaum, Chapter 5.6 3BA33 - J.Keeney - 2007 2 Problems with IPv4 Public address space becoming exhausted 32 bit addressing Large routing tables for Internet backbone routers Configuration could be simpler IP-layer security is not required Need better support for prioritized delivery 3BA33 - J.Keeney - 2007 4

features New header format Large address space Efficient and hierarchical addressing and routing infrastructure Built-in security Better support for prioritized delivery Extensibility 3BA33 - J.Keeney - 2007 5 The address space 128-bit address space 2 128 possible addresses 340,282,366,920,938,463,463,374,607,431,768,211, 456 addresses (3.4 x 10 38 ) 6.6 x 10 23 addresses for every square meter of the Earth s surface 128 bits were chosen to allow for flexibility in creating multilevel, hierarchical, routing infrastructure 3BA33 - J.Keeney - 2007 7 An packet Network Interface Header Header Payload Network Interface Trailer Packet Network Interface Layer Frame 3BA33 - J.Keeney - 2007 6 address syntax address in binary form 0010000000000001000011011011100000000000000000000010111100111011 0000001010101010000000001111111111111110001010001001110001011010 3BA33 - J.Keeney - 2007 8

address syntax (2) address in binary form 0010000000000001000011011011100000000000000000000010111100111011 0000001010101010000000001111111111111110001010001001110001011010 Divided along 16-bit boundaries 0010000000000001 0000110110111000 0000000000000000 0010111100111011 0000001010101010 0000000011111111 1111111000101000 1001110001011010 3BA33 - J.Keeney - 2007 9 address syntax (4) address in binary form 0010000000000001000011011011100000000000000000000010111100111011 0000001010101010000000001111111111111110001010001001110001011010 Divided along 16-bit boundaries 0010000000000001 0000110110111000 0000000000000000 0010111100111011 0000001010101010 0000000011111111 1111111000101000 1001110001011010 Each 16-bit block is converted to hexadecimal and delimited by using colons 2001:0DB8:0000:2F3B:02AA:00FF:FE28:9C5A Suppress leading zeros within each block 2001:DB8:0:2F3B:2AA:FF:FE28:9C5A 3BA33 - J.Keeney - 2007 11 address syntax (3) address in binary form 0010000000000001000011011011100000000000000000000010111100111011 0000001010101010000000001111111111111110001010001001110001011010 Divided along 16-bit boundaries 0010000000000001 0000110110111000 0000000000000000 0010111100111011 0000001010101010 0000000011111111 1111111000101000 1001110001011010 Each 16-bit block is converted to hexadecimal and delimited by using colons 2001:0DB8:0000:2F3B:02AA:00FF:FE28:9C5A 3BA33 - J.Keeney - 2007 10 Compressing zeros Typical addresses contain long sequences of zeros A single contiguous sequence of 16-bit blocks set to 0 can be compressed to :: 3BA33 - J.Keeney - 2007 12

Compressing zeros (2) Typical addresses contain long sequences of zeros A single contiguous sequence of 16-bit blocks set to 0 can be compressed to :: Examples FE80:0:0:0:2AA:FF:FE9A:4CA2 becomes FE80::2AA:FF:FE9A:4CA2 FF02:0:0:0:0:0:0:2 becomes FF02::2 3BA33 - J.Keeney - 2007 13 Types of addresses Unicast Address of a single interface Delivery to single interface Multicast Address of a set of interfaces Delivery to all interfaces in the set Anycast Address of a set of interfaces Delivery to a single interface in the set No more broadcast addresses 3BA33 - J.Keeney - 2007 15 Compressing zeros (3) Typical addresses contain long sequences of zeros A single contiguous sequence of 16-bit blocks set to 0 can be compressed to :: Examples FE80:0:0:0:2AA:FF:FE9A:4CA2 becomes FE80::2AA:FF:FE9A:4CA2 FF02:0:0:0:0:0:0:2 becomes FF02::2 You cannot use zero compression to include part of a 16-bit block FF02:30:0:0:0:0:0:5 does not become FF02:3::5, but FF02:30::5 3BA33 - J.Keeney - 2007 14 MAC address to address Host A has the MAC address of 00-AA-00-3F-2A-1C 1. Convert MAC address to EUI-64 format 00-AA-00-3F-2A-1C 00-AA-00-FF-FE-3F-2A-1C 2. Complement the U/L bit (seventh bit of first byte) The first byte in binary form is 00000000. When the seventh bit is complemented, it becomes 00000010 (0x02). 02-AA-00-FF-FE-3F-2A-1C 3. Convert to colon hexadecimal notation ::2AA:FF:FE3F:2A1C 4. Add FE80:: to the start The link-local address for a node with the MAC address of 00-AA- 00-3F-2A-1C is FE80::2AA:FF:FE3F:2A1C 3BA33 - J.Keeney - 2007 16

IPv4 Address to Address 192.31.20.46 ::192.31.20.46 3BA33 - J.Keeney - 2007 17 Headers Additional motivation: header format helps speed processing/forwarding header changes to facilitate QoS packet format: fixed-length 40 byte header no fragmentation allowed 3BA33 - J.Keeney - 2007 19 IPv4 addresses and equivalents IPv4 Address Address Internet address classes Not applicable Broadcast addresses Not applicable Unspecified address is 0.0.0.0 Unspecified address is :: Loopback address is 127.0.0.1 Loopback address is ::1 Syntax: Dotted decimal notation Colon hexadecimal notation 3BA33 - J.Keeney - 2007 18 Structure of an packet Header Extension Headers Upper Layer Protocol Data Unit Payload Packet 3BA33 - J.Keeney - 2007 20

IPv4 header Version Internet Header Length Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source Address Destination Address header Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address Options 3BA33 - J.Keeney - 2007... 21 3BA33 - J.Keeney - 2007 22 Header Priority: identify priority among datagrams in flow Flow Label: identify datagrams in same flow. (concept of flow not well defined). Next header: identify upper layer protocol for data 3BA33 - J.Keeney - 2007 23 Comparing the IPv4 and headers IPv4 Header Field Change in Version New value of 6 Internet Header Length Removed Type of Service Traffic Class field Total Length Payload Length field Identification Removed to Fragment extension header Fragmentation Flags Removed to Fragment extension header Fragment Offset Removed to Fragment extension header Time to Live Hop Limit field Protocol Next Header field Header Checksum Removed Source Address Same, new 128-bit length Destination Address Same, new 128-bit length Options Removed to extension headers 3BA33 - J.Keeney - 2007 24

Extension Headers 3BA33 - J.Keeney - 2007 25 Extension headers order 1.Hop-by-Hop Options header 2.Destination Options header (for intermediate destinations when the Routing header is present) 3.Routing header 4.Fragment header 5.Authentication header (AH) 6.Encapsulating Security Payload (ESP) header 7.Destination Options header (for the final destination) Intermediate destinations Final destination 3BA33 - J.Keeney - 2007 27 extension headers Header Next Header = 6 (TCP) TCP Segment Header Next Header = 43 (Routing) Routing Header Next Header = 6 (TCP) TCP Segment Header Next Header = 43 (Routing) Routing Header Next Header = 51 (AH) Authentication Header Next Header = 6 (TCP) TCP Segment 3BA33 - J.Keeney - 2007 26 Other Changes from IPv4 Checksum: removed entirely to reduce processing time at each hop Options: allowed, but outside of header, indicated by Next Header field Hop count: Max 255 hops (8 bit field) Max size: 64 KB ICMPv6: new version of ICMP additional message types, e.g. Packet Too Big multicast group management functions 3BA33 - J.Keeney - 2007 28

Transition From IPv4 To Not all routers can be upgraded simultaneous no flag days How will the network operate with mixed IPv4 and routers? Tunneling: carried as payload in IPv4 datagram among IPv4 routers 3BA33 - J.Keeney - 2007 29 Tunneling A B E F Logical view: tunnel Physical view: A B C D E F IPv4 IPv4 Flow: X Src: A Dest: F data Src:B Dest: E Flow: X Src: A Dest: F Src:B Dest: E Flow: X Src: A Dest: F Flow: X Src: A Dest: F data data data A-to-B: B-to-C: inside IPv4 B-to-C: inside IPv4 E-to-F: 3BA33 - J.Keeney - 2007 31 Logical view: Physical view: Tunneling A B E F tunnel A B E F IPv4 IPv4 3BA33 - J.Keeney - 2007 30