EECS122 Midterm Review Department of Electrical Engineering and Computer Sciences University of California Berkeley.

Slides:



Advertisements
Similar presentations
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Advertisements

Lecture 5: TCP/IP OSI layers 3 (IP) and 4 (TCP/UDP) IPv4 – addresses and routing, “best-effort” service Ethernet, Appletalk, etc wrap IP packets with their.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Introduction to Distributed Systems and Networking.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
EECS 122 Communications Networks Department of Electrical Engineering and Computer Sciences University of California Berkeley Slides: K. Fall, K. Lai,
Lecture 8 Congestion Control EECS 122 University of California Berkeley.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Computer Network Architecture and Programming
Network Architectures Week 3 Part 2. Comparing The Internet & OSI.
Networking and Internetworking: Standards and Protocols i206 Fall 2010 John Chuang Some slides adapted from Coulouris, Dollimore and Kindberg.
EECS122 – Lecture 2 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Transmission Control Protocol (TCP) and Packet-Switching Hardware Devang Parekh EE290F 4/15/04.
Intradomain Routing EECS 122: Lecture 10 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Review on Networking Technologies Linda Wu (CMPT )
CS335 Networking & Network Administration Tuesday, April 20, 2010.
EE228a - Fall 2001 Communication Networks Prof. Jean Walrand Department of EECS University of California Berkeley.
EECS122 - Spring 2001 Communication Networks Prof. Jean Walrand Department of EECS University of California Berkeley.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Gursharan Singh Tatla Transport Layer 16-May
Chapter 4 Queuing, Datagrams, and Addressing
Process-to-Process Delivery:
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
The Routing & the IP network data link physical network data link physical network data link physical network data link physical network data link physical.
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,
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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.
Our Last Class!!  summary  what does the future look like?
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
4: Network Layer4a-1 Hierarchical Routing r aggregate routers into regions, “autonomous systems” (AS) r routers in same AS run same routing protocol m.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
1 Mao W07 Midterm Review EECS 489 Computer Networks Z. Morley Mao Monday Feb 19, 2007 Acknowledgement: Some.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
4: Network Layer4b-1 OSPF (Open Shortest Path First) r “open”: publicly available r Uses Link State algorithm m LS packet dissemination m Topology map.
Communication Networks A Second Course Jean Walrand Department of EECS University of California at Berkeley.
Net 221D:Computer Networks Fundamentals
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
CS587x MidTerm Review Department of Computer Science Iowa State University.
Data Communication Network Models
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Network Layer Routing Networks: Routing.
Introduction to Networks
Computer Communication Networks
Networking CS 3470, Section 1 Sarah Diesburg
ICMP ICMP – Internet Control Message Protocol
COMP 3270 Computer Networks
CS 457 – Lecture 10 Internetworking and IP
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
Overview The Internet (IP) Protocol Datagram format IP fragmentation
TCP/IP Protocol Suite: Review
Network Layer Routing Networks: Routing.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Communication Networks: Technology & Protocols
EE 122: Intra-domain routing: Distance Vector
Process-to-Process Delivery: UDP, TCP
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

EECS122 Midterm Review Department of Electrical Engineering and Computer Sciences University of California Berkeley

EECS UCB2 TOCTOC: Midterm Review Network Web Browsing Layers & Protocols Inside a Router Check List

EECS UCB3 ReviewReview: Network WAN MAN

EECS UCB4 ReviewReview: Network WAN MAN LAN

EECS UCB5 WAN LAN ReviewReview: Network

EECS UCB6 ReviewReview: Web Browsing Example Locating Resource: DNS Connection End-to-end Packets Bits Points to remember

EECS UCB7 Click Link or URL  get content from local or remote computer URL: Specifies - Protocol: http - Computer: - String Computer (server) selects contents based on string WebWeb: Example

EECS UCB8 WebWeb: Locating Resource is the name of a computer Network uses IP addresses To find the IP address, the application uses a hierarchical directory service called the Domain Name System

EECS UCB9 WebWeb: Connection The protocol (http) sets up a connection between the host and cnn.com to transfer the page The connection transfers the page as a byte stream, without errors: pacing + error control

EECS UCB10 WebWeb: End-to-end The byte stream flows from end to end across many links and switches: routing (+ addressing) That stream is regulated and controlled by both ends: retransmission of erroneous or missing bytes; flow control

EECS UCB11 WebWeb: Packets The network transports bytes grouped into packets The packets are “self- contained” and routers handle them one by one The end hosts worry about errors and flow control: Destination checks packet for errors (using error detection code CKS) and sends ACKs with sequence number # Source retransmits packets that were not ACKed and adjusts rate of transmissions

EECS UCB12 WebWeb: Bits Equipment in each node sends the packets as a string of bits That equipment is not aware of the meaning of the bits

EECS UCB13 HTTP, FTP, … IP UDP - TCP ReviewReview: Layers & Protocols Physical Interface Synchronous unreliable bit pipe Data Link Control Data Link Control Asynchronous reliable bit pipe Physical Link Network Asynchronous routed path FHData Physical Interface Synchronous unreliable bit pipe Data Link Control Asynchronous reliable bit pipe Physical Link Network Asynchronous routed path FHData Transport PHDataPHData THData End NodeRouterEnd Node Application Data

EECS UCB14 Mapping Layers to Network Devices Two broad classes of devices Hosts Routers Both sets of devices run applications Hosts mainly run “user applications” Routers run “infrastructure applications”  E.g. Topology discovery, Network Management Protocols, BGP etc. Don’t be confused by thinking that routers don’t run application protocols because they are layer 3 devices

EECS UCB15 LayersLayers: Transport Services IP Transport ABC [A | B | p1 | p2 | …] p1p2p1p2p3p1p2 ports Application HTTP DNS RA UDP: Not reliable TCP: Ordered, reliable, well-paced

EECS UCB16 LayersLayers - TCP: MPX, Error, Flow and Congestion Control W 1 65KB X 0.5 TO 3DA X 0.5 3DA TO X 0.5 SSCA SS CA 3 3 window = min{RAW - OUT, W}

EECS UCB17 TCP AlgorithmTCP Algorithm: AIMD AB x C DE y Limit rates: x = y

EECS UCB18 Flow Control Objective: Avoid saturating destination Algorithm: Receiver avertizes window RAW RAW window = min{RAW – OUT, W} where OUT = Oustanding = Last sent – last ACKed W = Cong. Window from AIMD + refinements [ACK | RAW | …]

EECS UCB19 LayersLayers: IP – Internet Protocol Addressing Class-Based Fixed Prefix – M-tree Class-Based Classless: CIDR LPM-Patricia Trie Classless: CIDR Routing

EECS UCB20 Addressing reflects internet hierarchy 32 bits divided into 2 parts: Class A Class B Class C Class-base Addressing network host 0 0 network host network host ~2 million nets 256 hosts

EECS UCB21 Classless Internet Domain Routing Suppose fifty computers in a network are assigned IP addresses Range is to They share the first 26 bits of : Convention: /26 = prefix There are 32-27=6 bits for the 50 computers  2 6 = 64 addresses

EECS UCB22 IPIP: RoutingRouting B C OSPF RIP IGRP BGP IntraDomain Intradomain Formulate the routing problem as a Shortest Path Problem Link State v/s Distance Vector Both work reasonably well in a well engineered network Interdomain BGP Path Vector, Policies

EECS UCB23 Route Computation Dijkstra: Link State Use a flooding protocol to discover the entire topology Find the shortest paths in order of increasing path length from node i. Bellman Ford: Distance Vector D(i,d) = min jεN(i) {c(i,j) + D(j,d)} BGP: Path Vector Policy routing: Receive and advertise entire routes AS numbers describe the path to a CIDR address Import Policy Engine Decision process Routes used by router Routes received from neighbors Routes sent to neighbors BGP table Choose best route accept, deny, set preferences forward, not forward set MEDs Export Policy Engine IP Routing table

EECS UCB24 ReviewReview: Inside Router Input and output interfaces are connected through an interconnect A interconnect can be implemented by Shared memory  low capacity routers (e.g., PC-based routers) Shared bus  Medium capacity routers Point-to-point (switched) bus  High capacity routers input interfaceoutput interface Inter- connect Scheduling GPS WFQ

EECS UCB25 RouterRouter: GPS/WFQ Why service disciplines? Understand GPS and WFQ well GPS properties WFQ tracking result No later than one packet transmission

EECS UCB26 ReviewReview: Check List Big Picture Layers Network Structure (L2, L3) Where protocols are implemented Switching Techniques Applications DNS HTTP Transport TCP: Service; Go Back N; Flow Control; Congestion Control; AIMD; SS; 3DA; Phases UDP: Service Network Class-Based; Classless Addressing Dijkstra; Bellman-Ford Hierarchical routing Inside Router Architecture: Input, Output Scheduling: Fairness, GPS, WFQ