Transport Layer Services Mul9plexing/Demul9plexing. Transport Layer Services

Similar documents
Data Communication & Networks G

Computer Networks. Examples of network applica3ons. Applica3on Layer

SIP: Session Initiation Protocol

LMS. OSI Layers and the Learning Management System. Over view

Lecture 2-ter. 2. A communication example Managing a HTTP v1.0 connection. G.Bianchi, G.Neglia, V.Mancuso

Protocols. Packets. What's in an IP packet

Network Models OSI vs. TCP/IP

CS101 Lecture 19: Internetworking. What You ll Learn Today

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

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

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

How To Understand The Internet Of S (Netware)

Limi Kalita / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 5 (3), 2014, Socket Programming

Network Programming TDC 561

Network Layers. CSC358 - Introduction to Computer Networks

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

Computer Networks CS321

The Transport Layer and Implica4ons for Network Monitoring. CS 410/510 Spring 2014

Internet Packets. Forwarding Datagrams

Distributed Systems Interconnec=ng Them Fundamentals of Distributed Systems Alvaro A A Fernandes School of Computer Science University of Manchester

An Introduction to VoIP Protocols

IP address format: Dotted decimal notation:

Load Balancing SIP Quick Reference Guide v1.3.1

Chapter 11. User Datagram Protocol (UDP)

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

FIREWALLS. Firewall: isolates organization s internal net from larger Internet, allowing some packets to pass, blocking others

CS335 Sample Questions for Exam #2

Improved Digital Media Delivery with Telestream HyperLaunch

Network Applications

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

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

Active Management Services

Unit 23. RTP, VoIP. Shyam Parekh

Single Pass Load Balancing with Session Persistence in IPv6 Network. C. J. (Charlie) Liu Network Operations Charter Communications

How do I get to

How To Design A Layered Network In A Computer Network

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

DHCP, ICMP, IPv6. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley DHCP. DHCP UDP IP Eth Phy

IP addressing and forwarding Network layer

Final for ECE374 05/06/13 Solution!!

CSIS CSIS 3230 Spring Networking, its all about the apps! Apps on the Edge. Application Architectures. Pure P2P Architecture

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Principles of Network Applications. Dr. Philip Cannata

Distributed Systems. 2. Application Layer

DNS: Domain Names. DNS: Domain Name System. DNS: Root name servers. DNS name servers

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

SSC - Communication and Networking Java Socket Programming (II)

First Semester Examinations 2011/12 INTERNET PRINCIPLES

The OSI and TCP/IP Models. Lesson 2

Access Control: Firewalls (1)

Architecture and Performance of the Internet

Java Programming Unit 10. Stock Price Quotes with URL, Sockets, and RMI

Overview - Using ADAMS With a Firewall

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

Overview - Using ADAMS With a Firewall

Computer Networks Homework 1

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

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

Security Protocols HTTPS/ DNSSEC TLS. Internet (IPSEC) Network (802.1x) Application (HTTP,DNS) Transport (TCP/UDP) Transport (TCP/UDP) Internet (IP)

Data Communication Networks and Converged Networks

CPS221 Lecture: Layered Network Architecture

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

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

Computer Networks. Chapter 5 Transport Protocols

How to Make the Client IP Address Available to the Back-end Server

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Компјутерски Мрежи NAT & ICMP

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

COMPSCI 111 / 111G An introduc)on to prac)cal compu)ng

UPPER LAYER SWITCHING

Industrial Communication Whitepaper. Principles of EtherNet/IP Communication

Application-layer protocols

Internetworking II: MPLS, Security, and Traffic Engineering

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

Chapter 8 Security Pt 2

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

IP - The Internet Protocol

Intranet, Extranet, Firewall

Why SSL is better than IPsec for Fully Transparent Mobile Network Access

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

Module 7 Internet And Internet Protocol Suite

Review: Lecture 1 - Internet History

Lecture 28: Internet Protocols

Transport Layer. Chapter 3.4. Think about

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

Objectives of Lecture. Network Architecture. Protocols. Contents

Ethernet. Ethernet. Network Devices

Managing Virtual Servers

Introduction to TCP/IP

OS/390 Firewall Technology Overview

VIDEOCONFERENCING. Video class

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

Wireless Networks: Network Protocols/Mobile IP

White paper. SIP An introduction

IP Ports and Protocols used by H.323 Devices

Special Note Ethernet Connection Problems and Handling Methods (CS203 / CS468 / CS469)

Design of a SIP Outbound Edge Proxy (EPSIP)

Introduction To Computer Networking

INTRODUCTION TO FIREWALL SECURITY

Transcription:

Computer Networks Mul9plexing/Demul9plexing Transport services and protocols provide logical communica+on between app processes running on different hosts protocols run in end systems send side: breaks app messages into segments, passes to layer rcv side: reassembles segments into messages, passes to app layer more than one protocol available to apps Internet: TCP and UDP 1

Transport vs. layer layer: logical communica9on between hosts layer: logical communica9on between processes relies on, enhances, layer services Household analogy: 12 kids sending le8ers to 12 kids processes = kids app messages = lejers in envelopes hosts = houses protocol = Ann and Bill - layer protocol = postal service Internet - layer protocols reliable, in- order delivery (TCP) conges9on control flow control connec9on setup unreliable, unordered delivery: UDP no- frills extension of best- effort IP services not available: delay guarantees bandwidth guarantees 2

Mul9plexing/demul9plexing Demul9plexing at rcv host: delivering received segments to correct socket = socket = process Mul9plexing at send host: gathering data from mul9ple sockets, enveloping data with header (later used for demul9plexing) P3 P1 P1 P2 P4 link link link host 1 host 2 host 3 How demul9plexing works host receives IP datagrams each datagram has source IP address, des9na9on IP address each datagram carries 1 - layer segment each segment has source, des9na9on port number host uses IP addresses & port numbers to direct segment to appropriate socket 32 bits source port # dest port # other header fields data (message) TCP/UDP segment format 3

Connec9onless demul9plexing Create sockets with port numbers: DatagramSocket mysocket1 = new DatagramSocket(12534); DatagramSocket mysocket2 = new DatagramSocket(12535); UDP socket iden9fied by two- tuple: (dest IP address, dest port number) When host receives UDP segment: checks des9na9on port number in segment directs UDP segment to socket with that port number IP datagrams with different source IP addresses and/or source port numbers directed to same socket Connec9onless demux (cont) DatagramSocket serversocket = new DatagramSocket(6428); P2 P3 P1 P1 SP: 6428 DP: 9157 SP: 6428 DP: 5775 SP: 5775 IP: A DP: 6428 server IP: C DP: 6428 Client IP:B SP provides return address 4

Connec9on- oriented demux TCP socket iden9fied by 4- tuple: source IP address source port number dest IP address dest port number receiving host uses all four values to direct segment to appropriate socket Server host may support many simultaneous TCP sockets: each socket iden9fied by its own 4- tuple Web servers have different sockets for each connec9ng non- persistent HTTP will have different socket for each request Connec9on- oriented demux (cont) P1 P4 P5 P6 P2 P1 P3 SP: 5775 IP: A S-IP: A server IP: C Client IP:B 5

Connec9on- oriented demux: Threaded Web Server P1 P4 P2 P1 P3 SP: 5775 IP: A S-IP: A server IP: C Client IP:B 6