1 / 11

Review Session I

Review Session I. EE 122: Intro to Communication Networks Fall 2010 (Tuesday 7 th December) Sameer Agarwal http://inst.eecs.berkeley.edu/~ee122/. Announcements. 16 th December 8-11 AM @ 105 Stanley Closed book, with single 8.5x11 (both sides) crib sheet Exam covers entire semester

yul
Download Presentation

Review Session I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Review Session I EE 122: Intro to Communication Networks Fall 2010 (Tuesday 7th December) Sameer Agarwal http://inst.eecs.berkeley.edu/~ee122/

  2. Announcements • 16th December 8-11 AM @ 105 Stanley • Closed book, with single 8.5x11 (both sides) crib sheet • Exam covers entire semester • Roughly 30% before midterm, 70% after midterm • Following is not a part of Finals: • Socket Programming • Designing in 90 minutes • Advanced routing (except what’s in final review) • P2P (except what’s in final review) • The Future of Networking

  3. TCP & Congestion Control

  4. segment 1 SS:cwnd = 1 ACK 8 ACK 2 SS:cwnd = 2 SS:cwnd = 2 segment 3 ACK 9 ACK 3 ACK 10 ACK 4 AIMD:cwnd = 3 SS:cwnd = 4 segment 4 segment 5 segment 6 segment 7 ACK 4 Timeout! Set SSthresh ACK 4 segment 10 segment 12 segment 11 segment 8 segment 9 segment 4 SS:cwnd = 1 Vanilla TCP segment 2 ACK 4

  5. segment 1 SS:cwnd = 1 ACK 2 ACK 8 SS:cwnd = 2 SS:cwnd = 2 segment 3 ACK 9 ACK 3 ACK 10 ACK 4 AIMD:cwnd = 3 SS:cwnd = 4 segment 4 segment 5 segment 6 3 Dup ACKs! Set SSthresh SS:cwnd = 1 segment 7 ACK 4 ACK 4 segment 12 segment 10 segment 11 segment 8 segment 9 segment 4 TCP+ Fast Retransmission segment 2 ACK 4

  6. segment 1 SS:cwnd = 1 ACK 2 ACK 8 AIMD:cwnd = 3 SS:cwnd = 2 segment 3 ACK 9 ACK 3 ACK 10 ACK 11 ACK 4 AIMD:cwnd = 4 SS:cwnd = 4 segment 4 segment 5 segment 6 3 Dup ACKs! Set SSthresh AIMD:cwnd = 2 segment 7 ACK 4 ACK 4 segment 11 segment 10 segment 12 segment 8 segment 9 segment 4 TCP+ Fast Retransmission & Fast Recovery segment 2 ACK 4

  7. Question 1a (‘Vanilla’ TCP) Note: Slightly modified from review session Set SSthresh = 5; Enter Slow Start SSthresh = 5 crossed. Enter AIMD Set SSthresh = 1; Enter directly into AIMD since SSthresh is already crossed.

  8. Question 1b (TCP Retransmission + Fast Recovery) Set SSthresh = 5; However, enter AIMD direclty! Set SSthresh = 1; Enter directly into AIMD since SSthresh is already crossed.

  9. Interdomain Routing

  10. 3 2 2 4 9 6 3 1 Border router Internal router IGP, eBGP, iBGP,…. • Provide internal reachability (IGP) • Learn routes to external destinations (eBGP) • Distribute externally learned routes internally (iBGP) • Select closest egress (IGP)

  11. Routing Follows the Money! • Peers provide transit between their customers • Peers do not provide transit to each other traffic not allowed traffic allowed

More Related