TSIN02 - Internetworking

Similar documents
TSIN02 - Internetworking

Module 7 Internet And Internet Protocol Suite

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

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

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

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Vorlesung Kommunikationsnetze

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

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Each ICMP message contains three fields that define its purpose and provide a checksum. They are TYPE, CODE, and CHECKSUM fields.

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

ICMP (Internet Control Message Protocol)

Internet Protocols (chapter 18)

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

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

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Chapter 4 Network Layer

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

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

ET4254 Communications and Networking 1

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

SEN366 (SEN374) (Introduction to) Computer Networks

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

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

Chapter 5 TCP/IP SUITE

Position of IP and other network-layer protocols in TCP/IP protocol suite

Internetworking Part 2

Network Layer/IP Protocols

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

Chapter 19 Network Layer: Logical Addressing

ICMP (Internet Control Message Protocol)

Internet Control Message Protocol (ICMP)

TCP/IP Protocol Suite

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

IP: Addressing, ARP, Routing

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Introduction to Internetworking

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis

Network layer: Overview. Network Layer Functions

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Network Layer (4): ICMP

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.

Network Layer: Internet Protocol

Chapter 20 Network Layer: Internet Protocol 20.1

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

Recap. Recap. Internetworking. First mile problem. Internet. End Users. Last mile problem. Direct link networks Packet switching.

Introduction to routing in the Internet

Lecture 2: Basic routing, ARP, and basic IP

Aside: Interaction with Link Layer Computer Networking. Caching ARP Entries. ARP Cache Example

The Internetworking Problem. Internetworking. A Translation-based Solution

Internet Protocol (IP)

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

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

Data Communication & Computer Networks Week # 13

IPv4. Christian Grothoff.

CHAPTER-2 IP CONCEPTS

ECE 4450:427/527 - Computer Networks Spring 2017

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

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Introduction to routing in the Internet

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Configuring Routes on the ACE

IP - The Internet Protocol

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

Internetworking Part 2

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

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

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

Internet Technology 3/23/2016

Contents. IP addressing configuration commands 1 display ip interface 1 display ip interface brief 3 ip address 5

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

ICS 451: Today's plan

Information Network Systems The network layer. Stephan Sigg

The IP and Related Protocols

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

CS 457 Lecture 11 More IP Networking. Fall 2011

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

CH. 3 IP FORWARDING AND ROUTING

ETSF10 Internet Protocols Network Layer Protocols

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

NETWORK LAYER: IP Addressing

This talk will cover the basics of IP addressing and subnetting. Topics covered will include:

Telecom Systems Chae Y. Lee. Contents. Overview. Issues. Addressing ARP. Adapting Datagram Size Notes

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

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

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Lecture 10: Addressing

LOGICAL ADDRESSING. Faisal Karim Shaikh.

Network Basic v0.1. Network Basic v0.1. Chapter 3 Internet Protocol. Chapter 3. Internet Protocol

Transcription:

Lecture 2: Internet Protocol Literature: Forouzan: ch (4-6), 7-9 and ch 31 2004 Image Coding Group, Linköpings Universitet

Lecture 2: IP Goals: Understand the benefits Understand the architecture IPv4 and IPv6, (IP addressing and basic routing) Support protocols: ARP RARP ICMP 2

Outline Tasks of the network layer Logical vs physical addresses Adressing Basic Routing ARP RARP IPv4 ICMP IPv6 3

Tasks of the network layer Source to destination delivery of packets (across multiple networks) Logical addressing - addresses valid over network borders Routing 4

Logical vs Physical Addresses Each network interface card (NIC) has a physical address, eg MAC addresses. They are enough within a LAN, but give no routing help outside the local area. Logical addresses created to help with communication between networks. Nodes within a LAN have neighbouring IP addresses. All traffic to the network can be routed using the common part of the addresses in the LAN, the network address. 5

Addressing 32 bit addresses in IPv4 - - >approx 4300 million addresses available. Dotted decimal notation, eg. 198.36.42.18 Sometimes hexadecimal notation is used, eg 0xC6242A12 6

Classful Addressing One reason that we are running out of available addresses! Addresses are assigned in blocks where the block size is defined by the chosen class. Classes A- E OBS! This is an obsolete addressing scheme! (They are still in use though...) Many organisations have been assigned more addresses than they need! 7

Classless Addressing Addresses are assigned in blocks of variable size. Only restriction is that the size of the block should be a power of 2. Network address - the first address in the block Broadcast address - the last address in the block Network mask - used for extracting the network address, Slash notation - short form of network mask Subnetting - divide a block into subnets Supernetting - not needed if classless addressing is used 8

Delivery and Routing Connection- oriented or connectionless service? Direct or indirect delivery? Routing tables - gets huge next- hop network specific static or dynamic? search algorithm? 9

ARP Maps logical addresses to physical addresses. ARP requests are broadcasts on the LAN. An ARP packet is encapsulated directly into a data link frame. 10

RARP Maps physical addresses to logical addresses. RARP requests are broadcast on the LAN A RARP packet is encapsulated directly into a data link frame. 11

The Internet Protocol (IP) Unreliable Connectionless A best effort delivery service 12

Datagrams Header (20-60 bytes): Version (VER) - 4 bits Header length (HLEN) - 4 bits Differentiated Services (DS) - 8 bits Total length - 16 bits Identification - 16 bits Flags - 3 bits Fragmentation offset - 13 bits Time to live (TTL) - 8 bits Protocol - 8 bits Checksum - 16 bits Source address - 32 bits Destination address - 32 bits 13

Fragmentation Maximum transfer unit (MTU) Each data link layer protocol use its own frame format. Fragmentation needed when passing to a network with a smaller MTU. 14

Options Used for network testing and debugging,eg record route strict source route timestamp 15

Checksum Redundant information added that is used for error detection The checksum is constructed as follows: 1. Divide the packet into k section, each of n bits 2. All sections are added together using one's complement arithmetic. (We will look at this during lesson 1) 3. The result is complemented to make the checksum 16

ICMP Messages are encapsulated in IP datagrams. Two types of messages: Error reporting Dest. unreachable Source quench Time exceeded Parameter problems Redirection Query Echo request and reply Timestamp request and reply Address- mask request and reply Router solicitation and advertisement 17

IPv6 Solves addressing problems Accomodates real- time traffic Accomodates encryption and authentication Better header format New options Extension possible Resource allocation supported 18