Final Review CS1652 Jack Lange University of Pittsburgh.

Slides:



Advertisements
Similar presentations
Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Advertisements

CS 457 – Lecture 16 Global Internet - BGP Spring 2012.
4: Network Layer4a-1 IP Addressing: introduction r IP address: 32-bit identifier for host, router interface r interface: connection between host, router.
Introduction1-1 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application.
CSE551: Computer Network Review r Network Layers r TCP/UDP r IP.
Announcement r Recitation tomorrow on Project 2 r Midterm Survey at the end of this class.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
IP Addressing: introduction
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 15.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Chapter 4 Queuing, Datagrams, and Addressing
Network Layer Moving datagrams. How do it know? Tom-Tom.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 4 Network Layer.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
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.
1 Chapter 4: Network Layer r 4.4 IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP m IPv6 r 4.5 Routing algorithms m Hierarchical routing.
Network Layer 4-1 Chapter 4 Network Layer. Network Layer 4-2 Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
1 CSE3213 Computer Network I Network Layer (7.1, 7.3, ) Course page: Slides modified from Alberto Leon-Garcia.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m routing (path selection) m dealing with.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Lecture 3 Overview. Protocol An agreed upon convention for communication both endpoints need to understand the protocol. Protocols must be formally defined.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Final Review Focus- Chapter 4: Network layer Chapter 5: Data link layer Notes: Physical layer Understand previous chapters covered in class. Final exam.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r Understand principles behind network layer services: m Routing (path selection) m dealing with.
1 CSE 5346 Spring Network Simulator Project.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Introduction to Networks
Chapter 4: Network Layer
Computer Communication Networks
Chapter 4 Network Layer All material copyright
Chapter 4: Network Layer
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
CS 457 – Lecture 10 Internetworking and IP
Wide Area Networks and Internet CT1403
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Network Layer: Control/data plane, addressing, routers
Chapter 4: Network Layer
CS 381: Introduction to Computer Networks
EE469 Review 1.
Presentation transcript:

Final Review CS1652 Jack Lange University of Pittsburgh

Final r Friday 14th: 12-2PM m This room r Not Cumulative r One page of notes 2

3 Chapter 4: Network Layer r Network layer service model r Forwarding vs. Routing r IP addressing, NAT & DHCP r Router architecture r Routing algorithms r Handling scale - CIDR and BGP r ICMP, traceroute

4 Network layer service model r Unreliable, connectionless data delivery m Q: is UDP more reliable than IP? m Q: do TCP packets receive more special treatment than UDP packets? r Host-to-host packet delivery m Q: Difference from transport layer? r All systems implement network layer m End systems + routers m Q: Why not routers implement transport layer?

5 Forwarding vs. Routing r Definition? r Switch vs. router? r How routing affects forwarding? r Routing algorithms m Intradomain routing algorithms Distance vector, Link state m Interdomain routing algorithms BGP r Longest prefix match

6 IP addressing, DHCP and NAT r 32-bit IPv4 address m Subnet part + host part m Subnet part is used for forwarding decision r CIDR m Subnet portion can be an arbitrary size m Why CIDR? IP allocation efficiency & supernetting r DHCP m How it works? Where is it useful? r NAT m Pros. and Cons.

IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live 32 bit source IP address IP protocol version number header length (bytes) max number remaining hops (decremented at each router) for fragmentation/ reassembly total datagram length (bytes) upper layer protocol to deliver payload to head. len type of service “type” of data flgs fragment offset upper layer 32 bit destination IP address Options (if any) E.g. timestamp, record route taken, specify list of routers to visit. how much overhead with TCP? r 20 bytes of TCP r 20 bytes of IP r = 40 bytes + app layer overhead 7

4-8 Router Architecture Two key router functions: r Run routing algorithms/protocol (RIP, OSPF, BGP) r Forwarding datagrams from incoming to outgoing link

9 Routers r Input ports (line cards) m Forwarding table lookup – line speed m Queuing packets if switching fabric is busy Head-of-line blocking? r Switching fabric m Via memory, bus, special interconnection r Output ports m Buffering & scheduling

10 Link state algorithm r Broadcast local link info to all routers r Dijkstra’s algorithm m Greedy algorithm m Compute the least cost path to every node m Each loop finds at least one node whose least cost path is found m Algorithm complexity? O(nlogn) m Oscillation problem

11 Distance vector algorithm r Distribute one’s view of network to neighbors r Bellman-ford algorithm m Dynamic programming m Asynchronous update r Problem? m Count-to-infinity & routing loops m Possible solution?

12 Border Gateway Protocol (BGP) r Autonomous System (AS) m AS number – 16 bit id r BGP contains full path from src to dest AS m AS PATH – list of AS numbers r How to prevent routing loops? r Hot potato routing? m One reason for routing path asymmetry r How to deliver a packet from one AS to another? m Intradomain (Intra-AS) routing m Interdomain routing m Forwarding table (FIB)

13 Chapter 5: Link Layer r Delivering frames to a direct neighbor r Error detection and correction r Sharing a broadcast channel r Reliable data transfer & flow control m Hop-by-hop vs. end-to-end

14 Error detection & correction r Parity checking m Single bit vs. two-dimentional bit parity m Odd/even parity r Internet checksum – IP/TCP layer m Why is error checking needed in the upper layer? r Cyclic Redunancy Check (CRC) m CRC32 is widely used (e.g., Ethernet)

15 Multiple Access Protocol r How to share a broadcasting media m Medium Acccess Control (MAC) protocol r Channel Partitioning r Random Access r Taking turns

16 Random Access Protocol r Slotted ALOHA m Fixed time slot – synchronized m If collision, retransmit with a probability of p for each slot r ALOHA m No slot synchronization r CSMA, CSMA/CD, CSMA/CA m CSMA – sense carrier before sending m CD – detect collision while sending and cancel it m CA – avoid collision by getting the permission first r Ethernet and Wi-Fi?

17 MAC addresses r Ethernet: 48-bit MAC addresses m Burned into hardware m Globally uniquely assigned m Why not use MAC address instead of IP? r Address Resolution Protocol (ARP) m Determining MAC address with IP address m ARP table = m Broadcasting mechanism (make sure to know!)

18 Ethernet & Switch r Access protocol: CSMA/CD m Old Ethernet hub used to share the access m Understand the exponential back-off algorithm m Most current devices are switches m Connectionless, unreliable r Frame format m Preamble, 2 MAC address, type, data, CRC32 r Switch m Make sure you understand self-learning algorithm

19 Chapter 6: Wireless r Difference from wired environment m Signal attenuation m Hidden terminal problem m Interference from other sources (phone, microwave) r SNR (Signal-to-Noise ratio) m The larger, the better m BER (Bit error rate) r CDMA

20 Wi-Fi r Access protocol : CSMA/CA m Reserve the channel first before sending m No collision detection – why? m Understand the sending protocol r Access Point(AP) m Link layer device (may run DHCP) m Passive/Active scanning for association r frame format m Why we need three MAC addresses?

21 Chapter 7: Multimedia r Quality of service guarantee m Providing performance guarantee required by app m Current Internet does not directly support it r Delay sensitive, loss tolerant application m Video streaming vs. ? m What is jitter? r Multimedia application m Stored streaming m Live streaming m Real-time interactive

22 Internet Phone, CDN r Internet phone m Network loss vs. delay loss r Content distribution networks (CDNs) m Definition? m DNS redirection for finding the near server?