Docsity

Answers Key Exam 1 - Internetwork Programming | ECE 4110, Exams of Electrical and Electronics Engineering

Partial preview of the text

Download Answers Key Exam 1 - Internetwork Programming | ECE 4110 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE4110 Fall 2005 October 4, 2005 This exam is open book, open labs, 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 and in some cases may not get any credit at all, If 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 6 pages. If you do not show your work, then you will not get any credit. 1) (10 points) The ‘C’ function htons() is used to prepare 4 port number for sending. What does this function do (why is it needed)? Convert$ [G BIT VatveS Freem Hest Bute Sane TO NeTweak @uTe oepee, THIS 19 THE LUTTLe enSiens / Pie ENDIAN [S85UE, 2) (10 points) In class a student pointed out something about the following lecture slide as being not very realistic, What was it the student pointing out? Was the student correct or incorrect? Insiog sre_138.201. 148 .32:1257 dst 1923.46.94, 115;00 OUTS ADE sre 195.112.12.161: 6345} dst 193,46,.94,116:00 NAT-Router 3 rece 195,112.22.16 gcc _134.201.160.201:4192_ | ast 63.12.1968. 18:23 < sre 195. 112.12. 161: 63452 dst 63.12.198. 15:23 Masquerading Table Internal 2P / Forlfiocal NAT-Fors| 136.201.148.32 125 €345- 238.201.160.201 412: 43052 Private nopaesses wolD BG sep So THE use 4 ~ = Pam, eee Meme OF PRIVATE INSIOE DPD NETwoRk US L ’ aG@ NAT 28. 20t. 1¢@.32 4 29.201, 1ee.ret 1S Net Udey POCRES ES RE! 10. 6.0.0- jo, g¢e¢, 266,266 VW2.1G.0.0—~ 192, a), aes 285 V9V~ BL oo 192. 68 aes 265