Exam Review Networking CS 3470 Section 1 Sarah

  • Slides: 27
Download presentation
Exam Review Networking CS 3470, Section 1 Sarah Diesburg

Exam Review Networking CS 3470, Section 1 Sarah Diesburg

Coverage n Total: 80 raw points ¡ ¡ n n Based on lectures, assignments,

Coverage n Total: 80 raw points ¡ ¡ n n Based on lectures, assignments, and projects Based on your ability to apply various principles learned in the class Multiple choice, short answer, and problem solving questions Percentage of points earned will be multiplied to percentage of 250 points as stated on syllabus

Coverage n Two parts ¡ Chapters 5 -6 (last third of class) n ¡

Coverage n Two parts ¡ Chapters 5 -6 (last third of class) n ¡ Roughly 2/3 of test Cumulative (over first 2/3 of class, exams 1 -2) n Roughly 1/3 of test

Chapters 5 -6 Review

Chapters 5 -6 Review

Transport Layer n Definitions ¡ Transport layer n n ¡ Packet Encapsulation n ¡

Transport Layer n Definitions ¡ Transport layer n n ¡ Packet Encapsulation n ¡ What is the primary function? Why is it necessary (say on top of IP)? Layer headers are added or taken away Multiplexing/demultiplexing

Transport Layer n Definitions ¡ TCP socket n ¡ UDP socket n ¡ ¡

Transport Layer n Definitions ¡ TCP socket n ¡ UDP socket n ¡ ¡ ¡ Identified by 4 -tuple (IP src, IP dest, port src, port dest) Identified by 2 -tuple (IP dst, IP port) Pseudoheader Flow control Congestion control

Transport Layer ¡ Segments n ¡ Packets exchanged between TCP peers TCP flags n

Transport Layer ¡ Segments n ¡ Packets exchanged between TCP peers TCP flags n SYN, ACK, FIN, RST

Transport Layer n Short answer / problem solving ¡ ¡ UDP advantages over TCP

Transport Layer n Short answer / problem solving ¡ ¡ UDP advantages over TCP advantages over UDP Checksum with 1’s compliment Two-Army problem

DNS n Definitions ¡ ¡ What is DNS? Host aliasing n ¡ ¡ MX

DNS n Definitions ¡ ¡ What is DNS? Host aliasing n ¡ ¡ MX records Load balancing n ¡ Multiple names for one server Many IP addresses associated with a hostname Canonical name

DNS n Short answers / problem solving ¡ ¡ Role of a root DNS

DNS n Short answers / problem solving ¡ ¡ Role of a root DNS server Role of a top-level domain (TLD) server Be able to create and identify iterative and recursive DNS queries Role of DHCP and DNS

TCP Control Flow n Definitions ¡ ¡ Sequence number field (often called Sequence. Num)

TCP Control Flow n Definitions ¡ ¡ Sequence number field (often called Sequence. Num) Passive open Active open Maximum Segment Lifetime (TCP)

TCP Control Flow n Short answers / problem solving ¡ ¡ TCP 3 -way

TCP Control Flow n Short answers / problem solving ¡ ¡ TCP 3 -way handshake Goals of TCP sliding window Advertised. Window/Effective. Window (see next slide) TCP tear down sequence

Sliding Window Revisited Sender n Receiver Be able to look at a sliding window

Sliding Window Revisited Sender n Receiver Be able to look at a sliding window diagram and show me the Advertised. Window (on receiver) and Effective. Window (on sender)

TCP Transmission Control n Definitions ¡ ¡ ¡ Silly window syndrome Fast retransmit (3

TCP Transmission Control n Definitions ¡ ¡ ¡ Silly window syndrome Fast retransmit (3 duplicate ACKs) Nagle’s Algorithm n ¡ Generally, what does it do? (No need to memorize algorithm. ) Adaptive Retransmission n Generally, what does it do? (No need to memorize algorithm. )

TCP Transmission Control n Short answer / problem solving ¡ 3 ways TCP triggers

TCP Transmission Control n Short answer / problem solving ¡ 3 ways TCP triggers a transmission n ¡ MSS Explicit send Timer TCP cumulative ACKs

Queuing Disciplines n Definitions ¡ ¡ ¡ Flow FIFO queuing FIFO priority queuing Tail

Queuing Disciplines n Definitions ¡ ¡ ¡ Flow FIFO queuing FIFO priority queuing Tail drop Fair queuing

Queuing Disciplines n Short answers / problem solving ¡ ¡ ¡ How do queuing

Queuing Disciplines n Short answers / problem solving ¡ ¡ ¡ How do queuing disciplines relate to congestion control? What is Fi in fair queuing? Be prepared to answer queuing problems as seen in homework 10, question 3

TCP Congestion Control n Definitions ¡ ¡ Congestion window (or Cong. Win) TCP loss

TCP Congestion Control n Definitions ¡ ¡ Congestion window (or Cong. Win) TCP loss event n n ¡ ¡ ¡ Why do we care about losses? Timeout or 3 duplicate ACKs Additive Increase/Multiplicative Decrease (AIMD) Slow Start Fast Recovery

TCP Congestion Control n Short answers / problem solving ¡ ¡ ¡ Explain how

TCP Congestion Control n Short answers / problem solving ¡ ¡ ¡ Explain how AIMD and slow start work Explain how fast recovery works Explain how TCP is fair n ¡ Is all traffic fair? Homework 10, questions 1 -2

Summary: TCP Congestion Control � When Cong. Win is below Threshold, sender in slow-start

Summary: TCP Congestion Control � When Cong. Win is below Threshold, sender in slow-start phase, window grows exponentially. � When Cong. Win is above Threshold, sender is in congestion-avoidance phase, window grows linearly. � When a triple duplicate ACK occurs, Threshold set to Cong. Win/2 and Cong. Win set to Threshold. � When timeout occurs, Threshold set to Cong. Win/2 and Cong. Win is set to 1 MSS.

Congestion Avoidance n Definitions ¡ ¡ DECbit RED gateways

Congestion Avoidance n Definitions ¡ ¡ DECbit RED gateways

Programming Project n n Be familiar with valid and invalid TCP transitions What does

Programming Project n n Be familiar with valid and invalid TCP transitions What does a pipe (“|”) and redirection (“>” or “<“) do?

Putting it all together Review

Putting it all together Review

Putting it all together n Wireshark ¡ ¡ I may paste a screenshot of

Putting it all together n Wireshark ¡ ¡ I may paste a screenshot of a Wireshark trace and ask you a few questions about it Review project 5 to prepare

Putting it all together n Definitions ¡ Review definitions and general concepts from previous

Putting it all together n Definitions ¡ Review definitions and general concepts from previous reviews and old tests

Putting it all together n The following problem-solving questions may show up on the

Putting it all together n The following problem-solving questions may show up on the final from previous tests: ¡ ¡ Calculate the total time required to transfer a file (recall the definition of latency) NRZ, Manchester, and NRZI encodings SMTP protocol 2 -Dimensional Parity

Putting it all together ¡ ¡ ¡ ¡ Drawing windows in the sliding window

Putting it all together ¡ ¡ ¡ ¡ Drawing windows in the sliding window protocol ISO/OSI vs Internet Model Determining next hop for a CIDR network Dijkstra's algorithm TCP simple talk control flow Host vs network order Spanning tree