Download Internetwork Programming - Solved Test 1 - Fall 2000 | ECE 4110 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!
Test 1 Name: ken ECE4110 Fall 2000 September 26, 2000 This exam is open book and open notes. You may use a calculator. Explain your answer in the event partial credit is possible, Unexplained answers will definitely not get any partial credit. 1f you have a situation with a problem where you need additional info to work a given problem, state any assumption you must make and then make that assumption and continue to work the problem. (100 possible points) Check to make sure you have all pages of the exam, there are 5 pages total. If you do not show your work, then you will not get any partial credit. 1a) (10 points) What command lines including arguments would you type to run the TCP traffic generator and the sink (in debug mode) for: Source IP: 192.168.45.3 Destination Port: 4321 Destination IP: 192.168.89.5 Constant Data size: 1300 bytes Interarrival time average of 0.001 seconds -itep-smk -D —p 43218 of dep—gen -—O0 4 o-ce| —p 1300 —v #f ~P4324 -a 142, 108, 89.5 b) (10 points) What is the expected number of all of the ones and zeros measured in Megabits/sec (1 x 10° bits per second) that would actually be sent on an Ethernet wire that connected only these two computers? (1300 aures)( # arsleste)/ 00 Seconds = 10.4 MBrts/see Téncees ovegnend [O00 GUTES) + (20 BuTE TH) 4C 20 OTE a x8 @:rs/pure Jo.72 meées/sec Bur +80] SecenDs Tenomag ETeeRNer Eremk [i200 +20 + pe + 26 eTemner] x8 BiTs/ BYR Teel zm = [16.428 m@ics SEC] with Eve Tam Tatler Ep ¢) (10 points) For the data in part (a) and for the tep_gen, fill in the sockaddr_in{} data structure in the diagram below. Use decimal numbers where you know the numerical value, words where you do not. sockaddr_in{} L>H = I Re ODNET DEST Port 4321 Oest o1P 142.168 .84.5 UN USED