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



Similar documents
Network Layers. CSC358 - Introduction to Computer Networks

Application-layer protocols

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!!

Introduction to Network Operating Systems

Overview of Computer Networks

Transport and Network Layer

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

This Lecture. The Internet and Sockets. The Start If everyone just sends a small packet of data, they can all use the line at the same.

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

What communication protocols are used to discover Tesira servers on a network?

IP address format: Dotted decimal notation:

Computer Networks & Security 2014/2015

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

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

Data Communication Networks and Converged Networks

Network Configuration Settings

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Cape Girardeau Career Center CISCO Networking Academy Bill Link, Instructor. 2.,,,, and are key services that ISPs can provide to all customers.

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

DNS Basics. DNS Basics

CS101 Lecture 19: Internetworking. What You ll Learn Today

The OSI and TCP/IP Models. Lesson 2

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

TCP/IP Networking An Example

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Chapter 6. About This Chapter. Before You Begin. Windows 2000 Naming Schemes. [Previous] [Next]

BASIC ANALYSIS OF TCP/IP NETWORKS

How To Configure A Vyatta As A Ds Internet Connection Router/Gateway With A Web Server On A Dspv.Net (Dspv) On A Network With A D

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

MULTI WAN TECHNICAL OVERVIEW

What is VLAN Routing?

DEPLOYMENT GUIDE Version 1.1. DNS Traffic Management using the BIG-IP Local Traffic Manager

Ethernet. Ethernet. Network Devices

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Session Hijacking Exploiting TCP, UDP and HTTP Sessions

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

CONNECTING WINDOWS XP PROFESSIONAL TO A NETWORK

Overview of Network Security The need for network security Desirable security properties Common vulnerabilities Security policy designs

The IP Transmission Process. V1.4: Geoff Bennett

TCP/IP Basis. OSI Model

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

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

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

LAN TCP/IP and DHCP Setup

Wireshark DNS. Introduction. nslookup

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

UPPER LAYER SWITCHING

Introduction to Analyzer and the ARP protocol

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

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

How do I get to

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

NET0183 Networks and Communications

Chapter 8 Security Pt 2

Life of a Packet CS 640,

Computer Networks/DV2 Lab

Network Security TCP/IP Refresher

Load Balancing. Final Network Exam LSNAT. Sommaire. How works a "traditional" NAT? Un article de Le wiki des TPs RSM.

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

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

Configuring DNS. Finding Feature Information

Connecting with Computer Science, 2e. Chapter 5 The Internet

Web Browsing Examples. How Web Browsing and HTTP Works

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

The Transport Layer. Antonio Carzaniga. October 24, Faculty of Informatics University of Lugano Antonio Carzaniga

Module 15: Network Structures

Domain Name System (DNS)

Creating Web Farms with Linux (Linux High Availability and Scalability)

SSVP SIP School VoIP Professional Certification

20. Switched Local Area Networks

Hands On Activities: TCP/IP Network Monitoring and Management

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

Wireshark Lab: DNS. 1. nslookup

Network Models OSI vs. TCP/IP

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Configuring Network Address Translation (NAT)

Introduction to IP networking

NAT & IP Masquerade. Internet NETWORK ADDRESS TRANSLATION INTRODUCTION. NAT & IP Masquerade Page 1 of 5. Internal PC

HOST AUTO CONFIGURATION (BOOTP, DHCP)

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

CTS2134 Introduction to Networking. Module Network Security

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

Domain Name System (DNS)

Networking Test 4 Study Guide

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Use Domain Name System and IP Version 6

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

HW2 Grade. CS585: Applications. Traditional Applications SMTP SMTP HTTP 11/10/2009

Internetworking and IP Address

Transcription:

Layers Goal Understand how application processes set up a connection and exchange messages. Understand how addresses are determined 1 2 Data Exchange Between Processes TCP Connection-Setup Between Processes SYN, seq_no=x 3 4

TCP Connection-Setup Between Processes: Client Control Information Exchange between Layers: Client (1) Layer: process on client creates a socket, and specifies host IP address and the destination port number for the application process on the host. (2) Layer: Chooses source port number and initial sequence number, and creates connection-request segment to be sent to the TCP on the server. (1) layer gets from application layer IP address of host and port number of process on the host. (2) layer gets from transport layer IP address of host. (3) Data link layer gets from network layer IP address of next interface. (3) Layer: Creates datagram and consults routing table to find find IP-address of next interface. (4) Layer: Looks-up LAN address of next interface and creates frame. 5 6 TCP Connection-Setup Between Processes TCP Connection-Setup Between Processes: Server SYN, seq_no=x (1) Layer: Receives connection-request segment and allocates buffer space to connection. 7 8

TCP Connection-Setup Between Processes TCP Connection-Setup Between Processes (cont.) Server: SYN, seq_no= y,ack,ack_no=x+1 (1) Layer: Chooses sequence number and sends connection-granted segment. Client: (1) Layer: Allocates buffer space. 9 10 TCP Connection-Setup Between Processes TCP Connection-Setup Between Processes (cont.) Client: (1) Layer: Sends connection-granted segment. seq_no=x+1,ack,ack_no=y+1 Server: (1) Layer: Passes connection-request to application layer. (2) Layer: Creates socket. 11 12

Data Exchange Between Processes Address Translation s (processes) know hostnames (cs.toronto.edu) - but need to know IP address to request a (TCP) connection. Data link layer receives a destination IP address from network layer - but needs to use LAN address. 13 14 Address Translation DNS - Domain Name System s layer uses DNS (domain name system) to translate hostnames to IP addresses Data link layer uses ARP (address resolution protocol) to translate IP addresses into LAN addresses. Note: DNS needs to provide address translation for whole Internet. ARP only needs to provide address translation for LAN. DNS is a distributed database implemented in a hierarchy of name servers. application layer protocol that allows hosts and name servers to communicate in order to provide the translation service. 15 16

Local name server DNS - Domain Name System Each ISP (Internet Service Provider) - such as an university, a company, or a residential ISP - has a local name server. The IP address of the local name server is typically configured by hand (Control Panel - -TCP/IP - DNS). Authoritative name server When a root name server can not satisfy a query from a local name server, it queries itself an authoritative name server for the hostname of the query. Every host is registered with an authoritative name server. Typically, the authoritative name server for a host is a name server in the host s local ISP. Root name server When a local name server can not satisfy a query from a host, it queries itself a root name server (there are a dozen or so root name servers in the Internet). 17 18 DNS - Domain Name Service ARP - Address Resolution Protocol Local Name Server Root Name Server Authoritative Name Server In each node, an ARP module keeps a table in its RAM called an ARP table, which contains the mapping of IP addresses to LAN addresses. When an ARP module can not map an IP address, then it broadcasts a request. The adapter with the requested IP addresses then replies and provides the address mapping. Host A Host B 19 20

Data Exchange Between Processes Data Exchange Between Processes 21 22