Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

Similar documents
Chapter 2 Network Models 2.1

Types of Transfer. Connection-oriented Transfer. Connectionless Transfer. Networks generally provide two types of communication. Connection-oriented

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

TCP/IP Protocol Suite and IP Addressing

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

Network Layer/IP Protocols

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

IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa

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

Business Data Communications and Networking

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

Interconnecting Networks with TCP/IP

Chapter 7. Local Area Network Communications Protocols

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

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

TCP /IP Fundamentals Mr. Cantu

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

The Internet Protocol (IP)

Network Layer: Control/data plane, addressing, routers

Network Architecture Models

TCP/IP THE TCP/IP ARCHITECTURE

TCP/IP and the OSI Model

INTERNET ARCHITECTURE & PROTOCOLS

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

The Interconnection Structure of. The Internet. EECC694 - Shaaban

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

Cisco Interconnecting Cisco Networking Devices Part 1.

Data and Computer Communications

CS 455 Internet Architecture, Page 3 ffl By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated the NSFN

TCP/IP protocol suite

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

System Programming. Introduction to computer networks

TCP/IP Network Essentials

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 28 IP Version 4

Institute of Science and Technology 2067

CHAPTER-2 IP CONCEPTS

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

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

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

Chapter 2 Network Models 2.1

The Internet. Overview. Network building blocks

Introduction to Networking

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

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

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING B.E. ECE UNIT I DATA COMMUNICATION PART A

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

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

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.

CIS 551 / TCOM 401 Computer and Network Security

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

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

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

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

ECE 4450:427/527 - Computer Networks Spring 2017

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

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

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

Networking Fundamentals

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Chapter 5 OSI Network Layer

Networking and Internetworking 1

Introduction to TCP/IP

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

DATA COMMUNICATION AND NETWORKS

EE 610 Part 2: Encapsulation and network utilities

Operating Systems CS 571

Copyleft 2005, Binnur Kurt. Objectives

Chapter 5 Network Layer

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

Network+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols

NETWORK LAYER: IP Addressing

0 TCP/IP overview. 0.1 The Internet

Internet, HTTP and DNS Examples. Networks: HTTP and DNS 1

CSC 401 Data and Computer Communications Networks

Subnetting and addresses revisited

Review of Important Networking Concepts

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

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

ICS 351: Networking Protocols

LOGICAL ADDRESSING. Faisal Karim Shaikh.

Internet Addresses (You should read Chapter 4 in Forouzan)

Lecture-4. TCP/IP-Overview:

Faculty of Science and IT Course title. Pre-requisite/corequisite

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Where we are in the Course

CS3600 SYSTEMS AND NETWORKS

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

Network Reference Models

Session 2. Background. Lecture Objectives

Chapter 6: Network Communications and Protocols

OSI Network Layer. Chapter 5

ECE 158A: Lecture 7. Fall 2015

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

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Chapter 5 TCP/IP SUITE

Review of Important Networking Concepts TCP/IP

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

Transcription:

Networking Basics EC512 Spring 2015 2/15/2015 EC512 - Prof. Thomas Skinner 1

Protocols Protocols are required in order to allow information to be extracted from the stream of bits flowing from one point in a data communication link to another. 10110111000101000101000111000 2/15/2015 EC512 - Prof. Thomas Skinner 2

Encapsulation Protocols encapsulate data inside a frame. A frame consists of a header, data, and an optional trailer. Frame Header Data Trailer 2/15/2015 EC512 - Prof. Thomas Skinner 3

Encapsulation - contd. The header contains a variety of information which may include: Source and destination addresses. Size of the data. Protocol used by the data. Error checking such as a checksum/crc A trailer is sometimes used to hold error checking information if it is not included in the header. 2/15/2015 EC512 - Prof. Thomas Skinner 4

Maximum Transmission Unit - MTU Every protocol has an associated MTU. This is the maximum size of the data that may be encapsulated in the frame. The MTU size is set by a variety of factors. The MTU for Ethernet is typically 1500 bytes. Serial connections normally use smaller MTUs. 2/15/2015 EC512 - Prof. Thomas Skinner 5

Layering It is not practical to have just one protocol that does everything. Different protocols are used at different layers. The OSI model has seven layers. The TCP/IP protocol suite has four layers. 2/15/2015 EC512 - Prof. Thomas Skinner 6

The TCP/IP Layers Application Transport Network Link HTTP, FTP, e-mail etc. TCP, UDP IP, ICMP Device driver 2/15/2015 EC512 - Prof. Thomas Skinner 7

How Hosts Communicate Host A HTTP HTTP Protocol Host B HTTP TCP TCP Protocol TCP IP IP Protocol IP Ethernet Ethernet Protocol Ethernet Ethernet 2/15/2015 EC512 - Prof. Thomas Skinner 8

Encapsulation - contd. A complete frame at one protocol layer becomes the data for the next lower layer. Layer N+1 Header Data Layer N Header Data 2/15/2015 EC512 - Prof. Thomas Skinner 9

Peer Layer Communication Layer N has an interface to layer N-1 and to layer N+1 on each host. Layer N on one host communicates with the corresponding layer N on the other host. Different protocols can be used at the same layer, but they must be the same at both ends for a specific application. 2/15/2015 EC512 - Prof. Thomas Skinner 10

Peer Layer Communication - contd. The single exception to this rule for the TCP/IP protocol suite is that IP must be used at layer two. The IP protocol is the glue that holds the Internet together. All hosts. gateways. and routers must be able to communicate using IP. 2/15/2015 EC512 - Prof. Thomas Skinner 11

Demultiplexing When an IP datagram is received by a host computer, the datagram is passed to the next higher protocol layer. This process is called demultiplexing. TCP UDP IP 2/15/2015 EC512 - Prof. Thomas Skinner 12

Addressing on the Internet An IP address is a 32-bit number. (for IPV4 which dominates the Internet) It represents a specific host computer on a specific network. (Actually an interface on a host computer) IP addresses are unique over the entire Internet. (Except for hidden and inaccessible local networks, e.g. NAT) An IP address consists of a network field and a host field. 2/15/2015 EC512 - Prof. Thomas Skinner 13

Dotted Decimal Notation It is much easier to specify an IP address as four decimal numbers ranging from 0 to 255 rather than a 32-bit binary number. However, the break between netid and hostid is not necessarily on a byte boundary. A Net Mask is used to specify this division. The Net Mask determines the number of hosts on the specific subnet) 2/15/2015 EC512 - Prof. Thomas Skinner 14

Ports The IP protocol does not have the ability to specify the particular user or program at the destination computer. This is similar to delivering a piece of mail to the post office without the box number. Ports provide the ability to send and receive data between applications. Port numbers are 16-bits 2/15/2015 EC512 - Prof. Thomas Skinner 15

User Datagram Protocol - UDP UDP provides a simple extension to IP to provide ports. UDP is used by a variety of Internet applications: Domain name service TFTP file transfer SNMP management protocol etc.. UDP is connectionless and not reliable. 2/15/2015 EC512 - Prof. Thomas Skinner 16

Reserved Ports Network services are accessed by the use of reserved ports. Reserved ports are port numbers dedicated to specific services. For example, HTTP (web browsers) uses TCP port 80. SMTP uses port 25. Non-standard ports can be used, but must be advertised as such. Ports below 1024 are reserved but ports outside this range may also be reserved on specific operating systems. 2/15/2015 EC512 - Prof. Thomas Skinner 17

Transmission Control Protocol - TCP provides: TCP Reliable stream transport. Connection oriented services. Data is divided into segments. Each segment is sent as an IP datagram. Sliding windows are used to optimize data throughput. TCP ports are distinct from UDP ports. 2/15/2015 EC512 - Prof. Thomas Skinner 18

The Domain Name System In the early days of networking prior to the Internet (ARPANET days) hosts were assigned unique names. As the number of hosts grew it became more and more difficult to provide unique names. In addition, each host needed to update its host table periodically in order to locate hosts on the network. This became a monumental task. The domain name system was developed to provide a solution to this problem. 2/15/2015 EC512 - Prof. Thomas Skinner 19

DNS - contd. DNS is a distributed database. No single site on the Internet knows all the information. DNS is organized hierarchically as a tree of domains. Individual organizations can have authority over their own domains. 2/15/2015 EC512 - Prof. Thomas Skinner 20

DNS - contd. Countries are assigned two letter top level domain names, e.g. UK for the United Kingdom. Domain names in the US are assigned by various authorized registrars (e.g., Network Solutions, Register.com). Domain names and IP addresses are not assigned together and a domain may have many different IP network addresses. 2/15/2015 EC512 - Prof. Thomas Skinner 21

DNS - contd. unnamed root ORG COM EDU NET MICROSOFT YAHOO BU 2/15/2015 EC512 - Prof. Thomas Skinner 22

DNS - contd. Domains may be broken into sub domains: alpha.accounting.xyzcompany.com is the host alpha in the accounting sub domain at xyzcompany.com. 2/15/2015 EC512 - Prof. Thomas Skinner 23

DNS - contd. Every domain must provide at least two domain name servers that can provide the mappings between domain names and IP addresses. One domain name server is the primary server for that domain. Secondary name servers get their information from the primary. (This is not strictly true for some systems that support replication such as Windows Server 2003) Updates are done periodically. 2/15/2015 EC512 - Prof. Thomas Skinner 24

DNS - contd. A series of root servers contain the addresses of at least two servers for each domain. To resolve a domain name to IP address mapping a host sends a query to a domain name server. This is normally one that is provided by an Internet Service Provider (ISP) or a server run by the local domain (for companies). 2/15/2015 EC512 - Prof. Thomas Skinner 25

DNS - contd. If the local server has the mapping then it returns the result. If the local server does not have the mapping then it queries a root server to get the address of a server for the particular domain requested. It then sends another request to that server for the final mapping. This process may continue at yet another level if sub domains are in use. 2/15/2015 EC512 - Prof. Thomas Skinner 26