Review of Important Networking Concepts. Recall the Example from last lecture

Similar documents
Review of Important Networking Concepts

TCP/IP Networking Basics

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

Review of Important Networking Concepts TCP/IP

EE 610 Part 2: Encapsulation and network utilities

TCP/IP Networking An Example

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

ECE4110 Internetwork Programming. Introduction and Overview

Introduction to TCP/IP networking

TCP/IP THE TCP/IP ARCHITECTURE

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.

Need For Protocol Architecture

Need For Protocol Architecture

Interconnecting Networks with TCP/IP

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

TSIN02 - Internetworking

TSIN02 - Internetworking

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

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

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

TSIN02 - Internetworking

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

CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

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

Chapter 5 OSI Network Layer

Scribe Notes -- October 31st, 2017

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

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

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

CSCI-GA Operating Systems. Networking. Hubertus Franke

The Internet Protocol (IP)

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

Network Reference Models

TSIN02 - Internetworking

Introduction to Networks

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

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

Data & Computer Communication

The Internetworking Problem. Internetworking. A Translation-based Solution

Network Architecture Models

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

TCP/IP and the OSI Model

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

Chapter 2 Network Models 2.1

Communicating over the Network. Network Fundamentals. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

Network Model. Why a Layered Model? All People Seem To Need Data Processing

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

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

Chapter 09 Network Protocols

TCP /IP Fundamentals Mr. Cantu

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Computer Networks (Introduction to TCP/IP Protocols)

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

OSI Transport Layer. objectives

Packet Header Formats

IP - The Internet Protocol

System Programming. Introduction to computer networks

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Applied Networks & Security

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

IP Protocols. ALTTC/Oct

Lecture 3 Protocol Stacks and Layering

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

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

Common Protocols. The grand finale. Telephone network protocols. Traditional digital transmission

L6: OSI Reference Model

CSCI Networking Name:

CE3005: Computer Networks Laboratory 3 SNIFFING AND ANALYSING NETWORK PACKETS

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

IP : Internet Protocol

Network Security Fundamentals. Network Security Fundamentals. Roadmap. Security Training Course. Module 2 Network Fundamentals

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

Vorlesung Kommunikationsnetze

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Hands-On Network Security: Practical Tools & Methods

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

NETWORK PROGRAMMING. Instructor: Junaid Tariq, Lecturer, Department of Computer Science

CHAPTER-2 IP CONCEPTS

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

Hands-On Ethical Hacking and Network Defense

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Networking Technologies and Applications

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

Chapter 12 Network Protocols

Lecture-4. TCP/IP-Overview:

The TCP Protocol Stack

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

COMP750. Distributed Systems. Network Overview

Internet Networking recitation #2 IP Checksum, Fragmentation

TCP/IP protocol suite

Internet Control Message Protocol (ICMP)

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Elements of Networks

Transcription:

Review of Important ing Concepts Review: ed communication architecture The TCP/IP protocol suite Jörg Liebeherr, 1998,1999 1 Recall the Example from last lecture Ellington.cs.virginia.edu establishes an FTP connection to neon.cs.virginia: ftp neon.cs.virginia.edu ellington Local Campus neon We will use the example to illustrate some important networking concepts Jörg Liebeherr, 1998,1999 2 1

The example: Passing a simple packet from 128.143.71.21 is not on my local network. Therefore, I need to send the packet to my default 128.143.71.21 gateway with is address on my local 128.143.137.1 network. DNS: ARP: What What The is IP is the address the IP MAC address of Therefore, I can send the packet directly. of address ARP: neon.cs.virginia.edu? The of MAC 128.143.137.1? address isof 128.143.137.1 128.143.71.21 is 00:e0:f9:23:a8:20 ARP: What is the MAC ellington.cs. ARP: address The of MAC 128.143.71.21? address of neon.cs.virginia.edu virginia.edu 128.143.137.1 is 00:20:af:03:98:28 (128.143.71.21) (128.143.137.144) router137.cs. virginia.edu (128.143.137.1) router71.cs. virginia.edu (128.143.71.1) frame frame Jörg Liebeherr, 1998,1999 3 Communications Architecture The complexity of the communication task is reduced by using multiple protocol layers: Each protocol is implemented independently Each protocol is responsible for a specific subtask Protocols are grouped in a hierarchy A structured set of protocols is called a communications architecture or protocol suite Jörg Liebeherr, 1998,1999 4 2

TCP/IP Protocol Suite In this course, we will be mostly concerned with the TCP/IP protocol suite The TCP/IP protocol suite is the main characteristic for the networks that we call the Internet The TCP/IP suite has four layers: Application, Transport,, and (Data) Link Application Transport (Data) Link telnet, ftp, email TCP, UDP IP, ICMP, IGMP Device Drivers Computers (hosts) implement all four layers. Gateways (Routers ) only have the bottom two layers. Jörg Liebeherr, 1998,1999 5 Functions of the s Data Link : Service: Reliable transfer of frames over a link Functions: Synchronization, error control, flow control : Service: Moves packets inside the network Functions: Routing, addressing, congestion control Transport : Service: Controls delivery of data between hosts Functions: Connection establishment/termination, error control, flow control Application : Service: Handles details of application programs Functions: Everything is application specific Jörg Liebeherr, 1998,1999 6 3

TCP/IP Suite and OSI Reference Model You know about the OSI Reference protocol The TCP/IP protocol stack does not define the lower layers of a complete protocol stack Application Transport (Data) Link TCP/IP Suite Application Presentation Session Transport (Data) Link Physical OSI Reference Model Jörg Liebeherr, 1998,1999 7 More Information on s An entity of a particular layer can only communicate with: 1. a peer layer entity using a common protocol (Peer Protocol) 2. adjacent layers to provide services and to receive services N+1 N+1 N+1 Protocol N+1 layer N+1/N interface N N N Protocol N layer N/N-1 interface N-1 N-1 N-1 Protocol N-1 Jörg Liebeherr, 1998,1999 8 4

s in the Example FTP program TCP IP Frame is an Ethernet IP datagram Driver Open ftp session to neon FTP program Establish a connection to TCP 128.143.71.21 Open TCP connection to 128.143.71.21 IP datagram is a Send a datagram IP (which TCP Send segment IP contains datagram to 128.143.71.21 to a Send IP datagram to IP connection request) 128.143.71.21 128.143.71.21 Frame is an Send Ethernet datagram toethernet IP datagram Send Ethernet datagram 128.143.137.1 Driver Driver to 128.143.7.21 Driver ellington.cs. router71.cs. virginia.edu Send Ethernet virginia.edu 128.143.137.144 frame to 128.143.137.1 00:e0:f9:23:a8:20 00:e0:f9:23:a8:20 router137.cs. neon.cs. Send Ethernet virginia.edu virginia.edu 128.143.71.1 frame to 128.143.71.21 00:20:af:03:98:28 Jörg Liebeherr, 1998,1999 9 Encapsulation As data is moving down the protocol stack, each protocol is adding layer-specific control information Application User data TCP Application Header User data IP TCP segment Ethernet Driver Ethernet Header IP datagram Ethernet Trailer Jörg Liebeherr, 1998,1999 10 5

Encapsulation in our Example Let us look in detail at the first between ellington and router71.cs. This is the output of tcpdump -exn host 128.143.71.21 18:32:05.664412 0:a0:24:71:e4:44 0:e0:f9:23:a8:20 0800 60: 128.143.137.144.1627 > 128.143.71.21.21: S 607835:607835(0) win 8192 <mss 1460> (DF) 4500 002c 9d08 4000 8006 8bff 808f 8990 808f 4715 065b 0015 0009 465b 0000 0000 6002 2000 598e 0000 0204 05b4 b4b4 Jörg Liebeherr, 1998,1999 11 Encapsulation 6 bytes destination address source address type 4 bytes CRC Jörg Liebeherr, 1998,1999 12 6

Encapsulation: 6 bytes 00:e0:f9:23:a8:20 0:a0:24:71:e4:44 0x0800 4 bytes CRC Jörg Liebeherr, 1998,1999 13 Encapsulation: 32 bits version (4 bits) header length TTL Time-to-Live (8 bits) Identification (16 bits) Type of Service/TOS (8 bits) Protocol (8 bits) flags (3 bits) Total Length (in bytes) (16 bits) Fragment Offset (13 bits) Header Checksum (16 bits) Source IP address (32 bits) Destination IP address (32 bits) Jörg Liebeherr, 1998,1999 14 7

Encapsulation: 32 bits 0x4 0x5 0x00 44 10 9d08 010 2 0000000000000 2 128 10 0x06 8bff 128.143.137.144 128.143.71.21 Jörg Liebeherr, 1998,1999 15 Encapsulation: 32 bits Source Port Number Destination Port Number Sequence number (32 bits) header length Acknowledgement number (32 bits) 0 Flags TCP checksum kind=2 length window size urgent pointer Max. segment size Option: maximum segment size Jörg Liebeherr, 1998,1999 16 8

Encapsulation: 32 bits 1627 10 21 10 607835 10 0 10 819210 6 10 000000 2 000010 2 0x598e 0000 2 2 10 4 10 1460 10 Jörg Liebeherr, 1998,1999 17 Encapsulation: No Application Data in this frame Jörg Liebeherr, 1998,1999 18 9

Different Views of ing Different s of the protocol stack have a different view of the network. This is FTP s and TCP s view of the network. ellington.cs 128.143.137.144 FTP program neon.cs 128.143.71.21 FTP program TCP TCP IP Jörg Liebeherr, 1998,1999 19 View of IP Protocol 128.143.137.1 128.143.71.1 128.143.137.144 128.143.171.21 128.143.137.0 128.143.71.0 Jörg Liebeherr, 1998,1999 20 10

View of Hardware ellington Olsson Hall neon Gilmer Hall 100 Mbps Ethernet 10 Mbps router71 / router137 Ethernet 155 Mbps ATM 155 Mbps ATM 622 Mbps ATM Jörg Liebeherr, 1998,1999 21 11