Download presentation
Presentation is loading. Please wait.
1
4: Network Layer4a-1 Miscellaneous Last Modified: 6/28/2015 7:54:21 PM
2
4: Network Layer4a-2 Grades r Resubmit graded HW2 so that we can note who graded each assignment m Will compute means for each grader and adjust accordingly m If you are not satisfied with that can submit written request for regrade r Midterm – one person graded all instances of a given question so should be fair m If you have a question, may submit written request for regrade
3
4: Network Layer4a-3 Programming Assignment 2 Resources r Standard Assignment m Linux home directories (coming today) m All: keiko, splash, stella, namu, nova (.csuglab.cornell.edu) m Meng Additional: cfs01 - cfs20 (.cs.cornell.edu) m 20 GB for everyone (~40 MB per team; if run out of disk space let Dora Abdullah know) r Optional Assignment m 7 machines in 330 Upson Linux Installation (marked with red dots) m 7 machines in 315 Upson Linux Installation (marked with red dots) m Get more information (including passwords) from Ranveer m You must officially sign up!! ASAP please
4
4: Network Layer4a-4 Note on homeworks r Details in homework; High level information in class – why? m Any particular gory detail is not essential; a feel for reality is m Homeworks are the place for gory details in this class (too many details to cover in lectures) m Confront “inconsistencies” of reality when have all references available to you m Test what you are learning against the real world r Would people like to see us cover homework solutions in class?
5
4: Network Layer4a-5 Clarifications r Path MTU Discovery r Count to Infinity
6
4: Network Layer4a-6 Path MTU Discovery:TCP r If doing Path MTU Discovery, start with minimum of receiver’s specified MSS or local MTU and set the Don’t Fragment Bit r If ICMP message received indicating that fragmentation was required, then segment size will be reduced r Periodically (every 10 min or so), TCP will try a higher segment size up to the receiver’s MSS to see if new route is being used that would allow larger segments r Not all implementations support this
7
4: Network Layer4a-7 Path MTU Discovery: UDP r Not like TCP where sender sends stream in chunks as they see fit and receiver reads in chunks as they see fit r With UDP, the size of the UDP packet is much more visible to the application r May send with DF bit off r May send with DF bit on and if get ICMP messages then IP on host may fragment before sent but not exposed to application layer to encourage smaller amounts of data sent r Again not all implementations support
8
4: Network Layer4a-8 Path MTU Discovery r Look in Ethereal at TCP segments, will see Do Not Fragment Bit is set m If on Ethernet, don’t usually see adjustment m Ethernet has one of the smaller MTUs so never get an ICMP error saying needs to be smaller m If sent from local network with larger MTU might see this activity
9
4: Network Layer4a-9 Distance Vector: link cost changes Link cost changes: r node detects local link cost change r updates distance table (line 15) r if cost change in least cost path, notify neighbors (lines 23,24) X Z 1 4 50 Y 1 algorithm terminates “good news travels fast”
10
4: Network Layer4a-10 Distance Vector: link cost changes Link cost changes: r good news travels fast r bad news travels slow - “count to infinity” problem! X Z 1 4 50 Y 60 algorithm continues on!
11
4: Network Layer4a-11 Distance Vector: poisoned reverse If Z routes through Y to get to X : r Z tells Y its (Z’s) distance to X is infinite (so Y won’t route to X via Z) r will this completely solve count to infinity problem? X Z 1 4 50 Y 60 algorithm terminates
12
4: Network Layer4a-12 Bigger Loops and Poison Reverse A E D CB 7 8 1 2 1 2 D (A,D) E c(E,D) + min {D (A,w)} D w = = 2+3 = 5 D (A,B) E c(E,B) + min {D (A,w)} B w = = 8+6 = 14 Loop back through E! Poison reverse will fix this Loop back through E! Poison reverse will not fix this E will try to send through B B’s route is through C so no poison reverse A E D CB 50 8 2 1 2
13
4: Network Layer4a-13 Count to Infinity Example with Bigger Loop B will learn bad news C will have told B infinity because its route is through B, so B won’t reroute through C E however will have told B about a good route through D (cost 6) B will choose that route instead and advertise it as the new best to C (cost 6+8 = 14); it will be worse than the old one it advertised to C (old cost = 1) C will propagate this updated “best” route to D (cost 15) D will propagate this new “best” route to E (cost 17) E will update the “best” route to B (cost 19) Last time it advertised cost 6 to B It will loop around adding 13 each time (cost of loop) Will continue until cost E advertises to B is bigger than 500 A E D CB 500 8 2 1 2 A E D CB 1 8 2 1 2
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.