Network Layers. CSC358 - Introduction to Computer Networks



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

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?

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

CS101 Lecture 19: Internetworking. What You ll Learn Today

DNS Basics. DNS Basics

IP address format: Dotted decimal notation:

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.

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

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

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

BASIC ANALYSIS OF TCP/IP NETWORKS

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

MULTI WAN TECHNICAL OVERVIEW

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

What is VLAN Routing?

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

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

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

CONNECTING WINDOWS XP PROFESSIONAL TO A NETWORK

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

LAN TCP/IP and DHCP Setup

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

TCP/IP Networking An Example

NET0183 Networks and Communications

Computer Networks/DV2 Lab

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

Ethernet. Ethernet. Network Devices

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

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

Configuring DNS. Finding Feature Information

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

Web Browsing Examples. How Web Browsing and HTTP Works

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

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.

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

Network Models OSI vs. TCP/IP

Configuring Network Address Translation (NAT)

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

Session Hijacking Exploiting TCP, UDP and HTTP Sessions

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

HOST AUTO CONFIGURATION (BOOTP, DHCP)

CTS2134 Introduction to Networking. Module Network Security

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

Domain Name System (DNS)

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

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

Use Domain Name System and IP Version 6

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

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

Internetworking and IP Address

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

Unix System Administration

LUCOM GmbH * Ansbacher Str. 2a * Zirndorf * Tel / * Fax / *

EXPLORER. TFT Filter CONFIGURATION

H0/H2/H4 -ECOM100 DHCP & HTML Configuration. H0/H2/H4--ECOM100 DHCP Disabling DHCP and Assigning a Static IP Address Using HTML Configuration

AS/400e. TCP/IP routing and workload balancing

How To Manage Dns On An Elfiq Link Load Balancer (Link Balancer) On A Pcode (Networking) On Ipad Or Ipad (Netware) On Your Ipad On A Ipad At A Pc Or Ipa

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

Internet Packets. Forwarding Datagrams

Application Protocols for TCP/IP Administration

CS335 Sample Questions for Exam #2

NETWORK SETUP INSTRUCTIONS

LESSON Networking Fundamentals. Understand TCP/IP

Transcription:

Network Layers

Goal Understand how application processes set up a connection and exchange messages. Understand how addresses are determined

Data Exchange Between Application Processes

TCP Connection-Setup Between Application Processes

TCP Connection-Setup Between Application Processes: Client (1) Application Layer: Application process on client creates a socket, and specifies host IP address and the destination port number for the application process on the host. (2) Transport Layer: Chooses source port number and initial sequence number, and creates connection-request segment to be sent to the TCP on the server. (3) Network Layer: Creates datagram and consults routing table to find find IP-address of next interface. (4) Data Link Layer: Looks-up LAN address of next interface and creates frame.

Control Information Exchange between Layers: Client (1) Transport layer gets from application layer IP address of host and port number of process on the host. (2) Network layer gets from transport layer IP address of host. (3) Data link layer gets from network layer IP address of next interface.

TCP Connection-Setup Between Application Processes

TCP Connection-Setup Between Application Processes: Server (1) Transport Layer: Receives connection-request segment and allocates buffer space to connection.

TCP Connection-Setup Between Application Processes

TCP Connection-Setup Between Application Processes (cont.) Server: (1) Transport Layer: Chooses sequence number and sends connection-granted segment. Client: (1) Transport Layer: Allocates buffer space.

TCP Connection-Setup Between Application Processes

TCP Connection-Setup Between Application Processes (cont.) Client: (1) Transport Layer: Sends connection-granted segment. Server: (1) Transport Layer: Passes connection-request to application layer. (2) Application Layer: Creates socket.

Data Exchange Between Application Processes

Address Translation Applications (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.

Address Translation Applications 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 - Domain Name System 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.

DNS - Domain Name System Local name server 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 - Network -TCP/IP - DNS). 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). 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.

DNS - Domain Name Service

ARP - Address Resolution Protocol 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.

Data Exchange Between Application Processes

Data Exchange Between Application Processes