Networks (CS438) Review! High Level Concepts *with suggestions for topics to study in detail.

Slides:



Advertisements
Similar presentations
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Advertisements

1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
6.033: Intro to Computer Networks Layering & Routing Dina Katabi & Sam Madden Some slides are contributed by N. McKewon, J. Rexford, I. Stoica.
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
CSE331: Introduction to Networks and Security Lecture 10 Fall 2002.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Exam Review. Basic Concepts  Packet switching versus circuit switching  Their advantages and disadvantages  Layered network architecture  Various.
Network Architectures Week 3 Part 2. Comparing The Internet & OSI.
1 A Course-End Conclusions and Future Studies Dr. Rocky K. C. Chang 28 November 2005.
Transmission Control Protocol (TCP) and Packet-Switching Hardware Devang Parekh EE290F 4/15/04.
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Exam Review Networking CS 3470, Section 1 Sarah Diesburg.
Figure 2-17 Relationship of layers and addresses in TCP/IP Example: web browser implementing HTTP Implemented in TCP and UDP software. HTTP uses TCP. Interface.
Gursharan Singh Tatla Transport Layer 16-May
Lecture 8 Modeling & Simulation of Communication Networks.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
The Transport Layer.
CIM 2465 Intro to TCP/IP1 Introduction to TCP/IP (Topic 5) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy Program,
CS 381 Final Exam Study Guide Final Exam Date: Tuesday, May 12 th Time: 10:30am -12:30pm Room: SB 105 Exam aid: 8 ½ x 11 page of notes front and back.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_b Transport Protocols - TCP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
ECE453 – Introduction to Computer Networks Lecture 14 – Transport Layer (I)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
ECE453 – Introduction to Computer Networks Lecture 17 – Top – Down Approach (A Review)
1 Mao W07 Midterm Review EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007 Acknowledgement: Some.
CS244A Midterm Review Ben Nham Some slides derived from: David Erickson (2007) Paul Tarjan (2007)
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Lecture Topics: 11/27 Networks Layered Model Ethernet IP.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
Review of key networking techniques: –Reliable communication over unreliable channels –Error detection and correction –Medium access control –routing –Congestion.
CS470 Computer Networking Protocols
Review. Layers Physical layer – sending bits from one place to another, ensuring an okay BER Data link layer – encapsulate information bits into frames,
Transport Protocols.
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
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.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Introduction to TCP/IP networking
Networking CS 3470, Section 1 Sarah Diesburg
Whirlwind Tour Of Lectures So Far
Chapter 3 outline 3.1 transport-layer services
Distributed Systems CS
Course Review 2015 Computer networks 赵振刚
Process-to-Process Delivery, TCP and UDP protocols
PART 5 Transport Layer Computer Networks.
TCP Transport layer Er. Vikram Dhiman LPU.
Networking CS 3470, Section 1 Sarah Diesburg
Advanced Computer Networks
Chapter 5 Transport Layer Introduction
Distributed Systems CS
Networking CS 3470, Section 1 Sarah Diesburg
Networking CS 3470, Section 1 Sarah Diesburg
Chapter 5 Transport Layer Introduction
CS4470 Computer Networking Protocols
Introduction to Computer Networks
Routing and the Network Layer (ref: Interconnections by Perlman
Chapter 1 Describe the layer of the protocol stack.
Transport Layer: Congestion Control
ITECH1102 Networking and Security
TCP flow and congestion control
Review of Internet Protocols Transport Layer
Distributed Systems CS
Presentation transcript:

Networks (CS438) Review! High Level Concepts *with suggestions for topics to study in detail

Layers Application Transport Network Link Physical Do things (web browsing, ssh, video chat, …) Clean abstraction for talking to partner Get packets anywhere in the world Deliver packets on local network Medium sharing Use physics to send data bits *How do the layers relate to headers?

application transport network link physical application transport network link physical network link physical link physical Router Switch Application data TCP Seg- ment IP Packet Ethernet Frame Source Destination

End-to-End Principle Keep high-performance parts that everyone uses (the internet) simple. If you want a job done right, do it yourself. *Circuit vs packet switching. Why does End-to-End Principle demand packet switching?

Application Layer: HTTP Just for simple, individual file transfers Fundamentally stateless – (Cookies add state, though) All complexity in HTML, JavaScript, etc. logic *We now optimize for multi-file sessions: exactly how much does parallel/persistent help? *Caching: local, proxy caching *CDNs! Help performance a lot! How exactly do they function?

Application Layer: DNS Maps “illinois.edu”  Distributed, hierarchical database – Root, com, example.com, … each’s nameserver knows about the next’s Resolving a query: old results are cached. We go all the way to root servers rarely. *Iterative vs. recursive resolvers

Transport Layer Multiplexing: the one thing transport must do Other characteristics: – Reliable or not? – Stream or packets? – Congestion control or not? UDP: unreliable packets, no congestion control – “Drops are ok, don’t waste time recovering”: video chat, games; all real-time things *Ports. And, why do we also need to look at IP addr for full multiplexing? *5-tuple, sockets

Transport Layer: TCP Reliable delivery Congestion control *Flow control *SYN and FIN handshakes *TCP states: e.g. waiting after shutdown with FIN/ACK

Reliable Transport Sequence numbers to identify segments ACKs: ACK 7 reaches sender  segment 7 safe. Cumulative ACKs: ACK 7  segments ≤ 7 safe. *Know Go-back-N and Selective Repeat in addition to real-world TCP *Byte- vs segment-based seq. #s *Exact sliding window mechanics. *Sequence numbers, wraparound.

Congestion Control “Slow start”: exponential growth, for rough estimate of channel capacity. “Congestion avoidance”: dynamics of hosts’ behavior automatically converge to fairness! – No coordination or central control needed – The mechanism: AIMD: additive increase, multiplicative decrease *What is “fair”? Max-min fair? Bonus: look up congestion pricing. *Understand how AIMD converges!! *Glance at that 3 state diagram (SS/CA/FR) in the textbook *Why does cwnd+=mss 2 /cwnd work for additive increase?

AIMD Linearly grow while everything is fine Cut in half at congestion event cwnd: TCP sender congestion window size time Real world alert: Linux has used Cubic, not Reno, for a long time. Not on the test, though.

Congestion Events Router gets too many packets; must drop some Dropped packets  duplicate ACKs 3dup ACK  dropped packet  congestion Timeout  everything dropped  broken Single dup ACK means out of order packet. This never happens; forget it can even happen! *How is the timeout timer set? *Explicit congestion notification (ECN), random early drop (RED) *Basic queuing theory: what happens when in rate = out rate?

Network Layer Deliver packets from anywhere, to anywhere. This is the internet!

Routing A distributed system solving all-pairs shortest path Link State: give everyone the same view of the network, run Dijkstra’s algorithm Distance/Path Vector: neighbor tells you it can handle delivery to some node X *DV’s count to infinity; how does PV solve it? *Work through Dijkstra and DV examples!

Autonomous Systems Companies that own groups of routers. – Network infrastructure (Level 3, AT&T) – Consumer ISP (AT&T, Comcast) – Group with big network (universities, companies) AS-level topology – Route at AS level: 1 AS = 1 hop – Border Gateway Protocol (BGP) – Economic routing policy: prefer customers over peers over providers (or: only use a path to or from a customer) The Tier 1 AS clique: global all-to-all connectivity *Why can’t inter-AS routing use link state?

IP Addresses Identify your current location in the internet Nearby addresses grouped into prefixes – Save internet routers from being overwhelmed – Your prefix = your subnet (next slide) IPv6: IPv4’s ~4billion addresses not enough *IPv4/6 tunneling, dual stack *NAT *DHCP *What is a default gateway? How does it relate to subnets and the link layer? *Contrast IP addresses with MAC addresses. Why can’t MAC addresses do the same job as IP?

Data Link Layer Deliver packets locally (within IP subnet) No fancy routing: learning switches *Do a learning switch example! *How exactly does a network interface know if a packet can be sent just as a link level frame? What has to happen if not? *ARP *Spanning Tree Protocol

Shared Medium Access Collision detection: exponential backoff Collision avoidance: RTS/CTS *Hidden terminal problem *Exposed terminal problem

Security Fundamentals Symmetric keys Asymmetric (public/private) keys – How do I know who’s on the other end? (MitM) Signatures  certificates  certificate chains  Certificate Authorities’ root certs