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



Similar documents
Chapter 11. User Datagram Protocol (UDP)

IP address format: Dotted decimal notation:

TCP/IP Basis. OSI Model

Network Models OSI vs. TCP/IP

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

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

Data Communication Networks and Converged Networks

Transport and Network Layer

Internetworking and IP Address

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

8.2 The Internet Protocol

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

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

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

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

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Ethernet. Ethernet. Network Devices

Transport Layer. Chapter 3.4. Think about

Lecture 28: Internet Protocols

Introduction to IP networking

Lecture Computer Networks

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

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

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

Networking Test 4 Study Guide

CONNECTING WINDOWS XP PROFESSIONAL TO A NETWORK

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

IP Subnetting and Addressing

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Internet Protocols. Addressing & Services. Updated:

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Chapter 4 Network Layer

The TCP/IP Reference Model

How do I get to

UPPER LAYER SWITCHING

Overview of TCP/IP. TCP/IP and Internet

Unix System Administration

IP - The Internet Protocol

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

Raritan Valley Community College Academic Course Outline. CISY Advanced Computer Networking

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

Network Programming TDC 561

Computer Networks - Xarxes de Computadors

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

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

Communications and Computer Networks

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

Topics. Computer Networks. Let s Get Started! Computer Networks: Our Definition. How are Networks Used by Computers? Computer Network Components

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

Network Layers. CSC358 - Introduction to Computer Networks

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

The OSI and TCP/IP Models. Lesson 2

Internet Protocol Address

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

Virtual Server and DDNS. Virtual Server and DDNS. For BIPAC 741/743GE

Technical Support Information Belkin internal use only

IP Addressing A Simplified Tutorial

Computer Networks & Security 2014/2015

Lecture 8. IP Fundamentals

Protocol Specification & Design. The Internet and its Protocols. Course Outline (trivia) Introduction to the Subject Teaching Methods

DO NOT REPLICATE. Analyze IP. Given a Windows Server 2003 computer, you will use Network Monitor to view and analyze all the fields of IP.

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

Chapter 3. Internet Applications and Network Programming

Objectives of Lecture. Network Architecture. Protocols. Contents

VisuSniff: A Tool For The Visualization Of Network Traffic

Overview of Computer Networks

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Protocol Data Units and Encapsulation

2. IP Networks, IP Hosts and IP Ports

LESSON Networking Fundamentals. Understand TCP/IP

Understanding Layer 2, 3, and 4 Protocols

Introduction to IP v6

How To Design A Layered Network In A Computer Network

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

ICS 351: Today's plan

CPS221 Lecture: Layered Network Architecture

User Datagram Protocol - Wikipedia, the free encyclopedia

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

BASIC ANALYSIS OF TCP/IP NETWORKS

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

The OSI & Internet layering models

Introduction To Computer Networking

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

Computer Networks CS321

Socket = an interface connection between two (dissimilar) pipes. OS provides this API to connect applications to networks. home.comcast.

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

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

CHAPTER 0 INTRODUCTION TO TCP/IP

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Internet Protocol: IP packet headers. vendredi 18 octobre 13

SFWR 4C03: Computer Networks & Computer Security Jan 3-7, Lecturer: Kartik Krishnan Lecture 1-3

Chapter 9. IP Secure

CS335 Sample Questions for Exam #2

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

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

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

Transcription:

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

Topics Layering TCP/IP Layering Internet addresses and port numbers Encapsulation and demultiplexing Client-Server model Sockets API 2

Introduction TCP/IP allows communications between computers with different HW and SW Started in the 1960s Government funded project ARPANET Open System Definition of the protocol suite and many implementations are available 3

Layering Networking protocols usually developed in Layers Each layer handles a different facet of the communication TCP/IP is a four layer system Each layer has a different responsibility 4

Layering (Continued) 5

Layering (Continued) Link (data-link) Layer Part of the network card Deals with the physical interface to medium Handles appropriate Medium Access Protocol (MAC) (e.g., CSMA/CA 802.11) Network Layer Handles packet routing 6

Layering (Continued) Transport Layer Provides a flow of data between two hosts Two main protocols: Transmission Control Protocol and (TCP) and User Datagram Protocol (UDP) TCP: uses acknowledgements (ACKs), to ensure reliability; provides congestion control UDP: simpler than TCP; sends out datagrams; not reliable Application Layer Concerned with specifics of a particular application NOT with moving data across a network 7

Layering (Continued) Example: Two hosts on a LAN running FTP Each layer has one or more protocols to communicate with its peer at the same layer 8

Layering (Continued) What is the difference between an internet and the Internet? An internet is two or networks connected using a router. The Internet is a public interconnection of networks. Figure on next slide shows an internet consisting of two networks We can differentiate between an endsystem and an intermediate-system 9

Layering (Continued) Example: Two networks connected with a router 10

UDP and TCP are the predominant transport layer protocols Internet Protocol (IP) - main network layer protocol Internet Control Message Protocol (ICMP) control and error messages Internet Group Management Protocol (IGMP) used with multicasting TCP/IP Layering Address Resolution Protocol (ARP) - used to convert between IP layer address and link layer address 11

Internet Addresses Every device on the Internet must have an IP address IP Address: 32 bits (version 4) 128 bits (version 6) Written as four decimal numbers Ex. 140.252.13.33 (dotted-decimal notation) Three types of IP addresses: unicast, multicast, and broadcast 12

Internet Addresses (Continued) Five different classes of Internet addresses Can determine class by looking at first number of IP address Classes been replaced with Classless Interdomain Routing (CIDR) CIDR is more efficient 13

Encapsulation and The Domain Name System (DNS) As data is sent down the protocol stack, each layer adds its header and the upper layer s header and payload are encapsulated as the lower layers payload Protocol, application, etc. identifiers are stored in headers DNS resolves IP name www.gsu.edu with and IP address 131.96.5.88 14

Ethernet frames arrive at destination and go up the protocol stack Each header is read for routing and stripped off The data is passed to the next layer where the same occurs This repeats until the destination layer is reached Demultiplexing TCP uses source IP and source and destination ports to demultiplex 15

Client-Server Model Most networking applications are written using the client-server model The server usually provides some sort of service for the client Servers are categorized into two classes: iterative and concurrent Iterative I1. Wait for a client request to arrive I2. Process the client request I3. Send the response back to the client that sent request I4. Go back to step I1 Concurrent C1. Wait for a client request C2. Start a new server to handle client s request. Specifics of this process is OS dependent C4. Go back to step I1 Concurrent servers offer the advantage of servicing multiple clients simultaneously TCP servers are normally concurrent and UDP server are normally iterative 16

Port Numbers TCP and UDP user 16-bit port numbers Well-known services have reserved port numbers (e.g., telnet - TCP 23, FTP - TCP 21) Managed by Internet Assigned Numbers Authority (IANA) Reserved ports range from 1 to 1023 Clients usually use ephemeral ports 17

Application Program Interface (API) APIs allows applications to communicate with other applications or themselves Most common API that uses the TCP/IP protocols is called sockets Most popular sockets are UDP (datagram) sockets, TCP (stream) sockets, and RAW sockets 18

Summary Introduced TCP/IP protocol suite and terms and protocols and the concept of layering Distinguished between end-to-end (Transport and Application layers) and hop-by-hop (network and link layers), protocols Emphasized difference in reliable and unreliable communication Discussed the encapsulation and demultiplexing processes Discussed importance of IP addressing and port numbers in network communication 19