Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.

Slides:



Advertisements
Similar presentations
EECS122 - UCB 1 CS 194: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of.
Advertisements

CSE551: Computer Network Review r Network Layers r TCP/UDP r IP.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
 This Class  Chapter 9  Next Class  Wrap up this semester  Demo/discuss programming assignments  Review what we have learned  Questionnaire/Feedback.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Term B10.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
Chapter Extension 7 How the Internet Works © 2008 Prentice Hall, Experiencing MIS, David Kroenke.
2: Application Layer1 FTP, SMTP and DNS. 2: Application Layer2 FTP: separate control, data connections r FTP client contacts FTP server at port 21, specifying.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
Computer Networks : TCP Congestion Control1 TCP Congestion Control.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
Network Architectures Week 3 Part 2. Comparing The Internet & OSI.
Application Layer session 1 TELE3118: Network Technologies Week 12: DNS Some slides have been taken from: r Computer Networking: A Top Down Approach.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
Gursharan Singh Tatla Transport Layer 16-May
Electronic Mail Three major components: SMTP user agents mail servers
Process-to-Process Delivery:
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
1 Chapter06 Mobile IP. 2 Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution?
1 Transport Layer Computer Networks. 2 Where are we?
Domain Name System (DNS)
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Presentation on Osi & TCP/IP MODEL
DNS: Domain Name System
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
University of the Western Cape Chapter 12: The Transport Layer.
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Lecture 14-1 Computer Science 425 Distributed Systems CS 425 / ECE 428 Fall 2013 Indranil Gupta (Indy) October 10, 2013 Lecture 14 Networking Reading:
EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)
1 TCP - Part II Relates to Lab 5. This is an extended module that covers TCP data transport, and flow control, congestion control, and error control in.
CS470 Computer Networking Protocols
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
COMP 431 Internet Services & Protocols
Lecture 14-1 Computer Science 425 Distributed Systems CS 425 / CSE 424 / ECE 428 Fall 2010 Indranil Gupta (Indy) October 7, 2010 Lecture 14 Networking.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Ch 2. Application Layer Myungchul Kim
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
Distributed Systems Lecture 10 Networking and routing 1.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
The Transport Layer Implementation Services Functions Protocols
Instructor Materials Chapter 9: Transport Layer
Lecture 11 Networking and routing
Internet Networking recitation #9
Magda El Zarki Professor, ICS UC, Irvine
Subject Name: Computer Communication Networks Subject Code: 10EC71
EE 122: Domain Name Server (DNS)
TCP/IP Networking An Example
Process-to-Process Delivery:
Internet Networking recitation #10
DNS: Domain Name System
FTP, SMTP and DNS 2: Application Layer.
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Presentation transcript:

Networking (Cont’d)

Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet transmission rate. l Congestion information can be supplied by explicit transmission of special messages (called choked packets). implementation of a specific transmission control protocol (e.g., TCP takes packet loss as an indication of congestion and will hence reduce its congestion window – the number of packets allowed to be transmitted before receipt of a positive acknowledgement).

Mobile IP Sender Home Mobile host MH Foreign agent FA Internet agent First IP packet addressed to MH Address of FA returned to sender First IP packet tunnelled to FA Subsequent IP packets tunnelled to FA

Transport Layer l Function 1 (Message decomposition and reassembly): Breaks messages into packets at the transmitting end and reassembles packets into messages at the receiving end. l Function 2 (Multiplexing and demultiplexing): Multiplexes several lower-rate sessions, all from the same source and all going to the same destination, into one session at the network layer. l Function 3 (Reliable communication): Performs message retransmission if the underlying network layer is not reliable. l Function 4 (End-to-end congestion/flow control): Avoids sending data faster than the destination can absorb it and cooperates with network layer entities (e.g., routers) for congestion control.

TCP Header

TCP Window Mechanism

TCP Congestion Control Slow start Congestion avoidance

TCP Congestion Control -- AIMD l Slow start phase During slow start, a TCP increments cwnd by at most one TCP segment for each ACK received. Slow start ends when cwnd exceed ssthresh, or when congestion is observed. l Congestion avoidance phase During congestion avoidance, cwnd is incremented by 1 segment per round-trip time. In practice, TCP does not wait for an entire window's worth of ACKs to add one segment to the congestion window, but instead increments cwnd by a little for each ACK that arrives, i.e., cwnd  cwnd + 1/ cwnd. l Upon arrival of 3 duplicate ACKs (i.e., 4 identical ACKs), cwnd  cwnd/2. l Upon timeout cwnd  1. l Why does TCP not perform well in wireless environments? Uses packet losses as indication of congestion.

TCP Error Control – Packet Retransmission l A TCP receiver sends an immediate duplicate ACK when an l out-of-order packet arrives, informing the sender of the SN expected. l Upon arrival of 3 duplicate ACKs (i.e., 4 identical ACKs) or timeout, The sender performs a retransmission of the missing packet.

TCP Flow Control l From time to time the receiver may include a receiver advertisement window RcvWin telling the sender its maximum allowable buffer for this connection. l The sender makes sure LastByteSent – LastByteAcked <= min(CongWin, RcvWin)

Session/Presentation/Application Layers l The session layer deals with access rights in setting up sessions and other interactions between the two end points in setting up sessions. l The presentation layer deals with data encryption, data compression, and code conversion. l The application layer actually does the work required by the users, e.g., FTP, telnet, WWW. l The application/presentation/session layers are not clearly distinguished in the Internet protocol stack.

DNS: Domain Name System People: many identifiers: SSN, name, Passport # Internet hosts, routers: IP address (32 bit) - used for addressing datagrams “name”, e.g., sal.cs.uiuc.edu - used by humans Q: map between IP addresses and name ? Domain Name System: l distributed database implemented in the hierarchy of many name servers l application-layer protocol that is responsible for resolving names (address/name translation)

DNS Name Servers l no server has all name-to-IP address mappings local name servers: each ISP, company has local (default) name server host DNS query first goes to local name server authoritative name server: for a host: stores that host’s IP address, name can perform name/address translation for that host’s name Why not centralize DNS? l single point of failure l traffic volume l distant centralized database l maintenance doesn’t scale!

DNS: Root Name Servers l contacted by local name server that can not resolve name l root name server: contacts authoritative name server if name mapping not known gets mapping returns mapping to local name server l ~ dozen root name servers worldwide

Simple DNS Example host surf.eurecom.fr wants IP address of dragon.cs.uiuc.ed u 1. Contacts its local DNS server, dns.eurecom.fr 2. dns.eurecom.fr contacts root name server, if necessary 3. root name server contacts authoritative name server, dns.cs.uiuc.edu, if necessary requesting host surf.eurecom.fr dragon.cs.uiuc.edu root name server authorititive name server dns.cs.uiuc.edu local name server dns.eurecom.fr

DNS Example Root name server: l may not know the authoritiative name server l may know intermediate name server: who to contact to find authoritative name server requesting host surf.eurecom.fr dragon.cs.uiuc.edu root name server local name server dns.eurecom.fr authoritative name server dns.cs.uiuc.edu intermediate name server dns.uiuc.edu 7 8

DNS: Iterated Queries recursive query: l puts burden of name resolution on contacted name server l heavy load? iterated query: l contacted server replies with name of server to contact l “I don’t know this name, but ask this server” requesting host surf.eurecom.fr dragon.cs.uiuc.edu root name server local name server dns.eurecom.fr authoritative name server dns.cs.uiuc.edu intermediate name server dns.uiuc.edu 7 8 iterated query

DNS: Caching and Updating Records l once (any) name server learns mapping, it caches mapping cache entries timeout (disappear) after some time l update/notify mechanisms under design by IETF RFC

Firewalls  A set of processes that monitor & control all comm. Into and out of an interanet, for:  Service control  Behavior control  User control  Firewall filtering can be done at diff. Levels  IP packet filtering  TCP gateway filtering  Application gateway filtering

Firewall Configurations