Presentation on theme: "Networking A few questions on the course A few questions about the course."— Presentation transcript:
Networking A few questions on the course A few questions about the course
The Chancellor of the University is A.Alistair Darling B.Lord Patten C.Glynis Breakwell D.Prince Philip E.Lord Tugendhat F.Lord Hinton of Bankside
That was the warmup: E A.Darling is Chancellor of the Exchequer B.Lord Patten is Chancellor of Oxford C.Glynis Breakwell is the Vice-Chancellor D.Prince Philip is Chancellor of Cambridge E.Lord Tugendhat is the Chancellor F.Lord Hinton was the first Chancellor: the mullets (stars) on the unicorn and wyvern supporting the coat of arms are a heraldic pun on his own arms
Questions on the course (mostly factual, but there is more to the course than facts)
How long is an Ethernet address? A.Variable length B.16 bytes C.4 bytes D.6 bytes
The answer is D (6 bytes) If you didnt get that, youre still pretty confused: After last time, and the previous one, all I can suggest is that you really re- read sections 2.2 and 3.2 of the book.
Which of the following will DHCP not tell you 1.Your IP address 2.A routers IP address 3.A nameservers IP address 4.A nameservers name 5.The subnet mask
D the nameservers name Its actually not useful And anyway you can find it out: how?
The reset (RST) bit is set in the last packet of a 4-way close 1.True 2.False
False RST is not a normal part of TCP operation: it is there to indicate some kind of error/ abnormal circumstance
After the 3-way open, MSS is A.Negotiated B.The minimum of what the two said C.The average of what the two said D.Possibly different in the two directions
D possibly different There is no negotiation, and it is perfectly possible for MSS to be different in both directions (e.g. one end is on a dial-up link)
Consider the following TCP Open scenario: PQ: SYN (with MSS) QP: SYN (with MSS, and ACK) Plost: ACK What happens next?
Ps ACKof Qs SYN is lost, and A.The connection hangs B.P eventually times out C.P starts sending data D.P resends its SYN E.Q resends its SYN F.P sends a RST
C (or possibly E) A.Hanging would be a failure of TCP B.P thinks the connections open, so why time out? C.Therefore can send data (which will acknowledge the SYN as well) D.Why should P send SYN: its been acked E.Q hasnt has SYN acked, so will resend if C doesnt happen (e.g. SMTP, where the server first sends a 220) F.Why should it send RST?
Which of these is not in the TCP header A.Sequence Number B.Options C.Receiver Window D.Congestion Window E.Urgent Pointer
D Congestion Window A.Sequence number is always there B.Options, if present are in the header C.Receiver Window is always there D.Congestion Window is purely maintained by the sender, and is not passed to the other end (its effects may be felt, but thats another matter) E.Urgent pointer is always there
A receiver drops packets to indicate that its window is full 1.True 2.False
False It may drop, and not acknowledge, the data (as in the persist timer examples), but it does always respond to the packet, even if the acknowledgement field is not incremented.
Network congestion can be indicated by A.Time out B.Window =0 C.2 duplicate ACKs D.4 ACKs of the same number E.A and D F.A,B and C G.B and C
E (A and D) is right A.Timeout is a good indicator of congestion (but the other end might have crashed …) B.Not network congestion C.Not 2 Duplicate ACKs D.4, with the same number, means 3 are duplicates, so this is congestion
The persist timer deals with which problem? A.Hosts that go down B.Hosts that have no space for more data C.Lost SYN packets D.Lost window adverts E.Lost FIN packets
D: lost window adverts A.Hosts that go down: TCP times out sending B.Hosts with no space theres no cure for this! C.Lost SYN packets, retransmission deals with this D.The response to the persist timer will give us a new window size (which may still be same, if there is still no space) E.Lost FIN packets, retransmission deals with this
slow start is somewhat of a misnomer 1.True 2.False
Possibly It does indicate that we start slow (so far, so good), but we get exponentially faster, so most people probably wouldnt call it slow
Sending `window scale means A.I will send scaled windows B.I will understand scaled windows C.I will send scaled windows if you will D.You can send scaled windows if you want E.B and C F.B and D
E is the best answer A.You cant scale unless the other end says it understands scaling B.If you can send them, you must be able to understand them C.Certainly correct D.Some TCPs send window scale automatically even if the other end didnt (of course, they cant use it)
In FTP, the control channel A.Starts in ASCII or binary depending on the options B.Starts in ASCII, but can be switched to binary C.Is always in ASCII D.Uses XDR
C – always ASCII A.The other end doesnt know what the options are, so this cant be right (a general point about protocols!) B.The IMAGE command changes the data channel only C.Right D.XDR is connected with NFS, not FTP
One of these statements is true A.SMTP constructs the header from the envelope B.The envelope determines who gets the mail C.The header determines who gets the mail D.The header MUST agree with the envelope on this E.The header should agree with the envelope on this
B: envelopesender A.If anything, the sending agent (not SMTP) constructs the envelope from the header B.Correct C.False D.Not an RFC requirement: The header might well not agree E.It is impossible for Cs machine to check whether C occurs on a mailing list administered by B, or even whether it is a mailing list
MIME is 1.A feature of only 2.A feature of the Web only 3.What Marcel Marceau did 4.A general-purpose encoding, first invented for mail
D general purpose It did start out in the mail community, but there is nothing really mail-specific about it (Marcel Marceau did Mime: different capitalisation!)
NFS can be told to handle both binary and ASCII files 1.True 2.False
False NFS files are fundamentally binary, and the application has to deal with any differences (e.g. extra CR/LF in ASCII from Windows)
Now that we have NFS and the Web, FTP is obsolete 1.True 2.False
False Its less common to type the ftp command, but we see (or at least use) ftp:// URLs. FTP is fundamentally different from NFS FTP creates copies, whereas NFS allows multiple computers to access the same file.
UDP is used in many circumstances when TCP could be used instead 1.True 2.False
True NFS often uses UDP, where TCP would be as good, possibly better DNS uses UDP (which is simpler), and TCP could be used, though probably less efficient.
Therefore the internet could be run without UDP 1.True 2.False
False RIP and BOOTP/DHCP both rely on broadcast (or multicast for some RIP v2 installations) and therefore cant use TCP Many uses of multicasting (internet radio etc.) would be impossible, which would cause bandwidth/load problems as well
It is impossible to build reliability on top of UDP 1.True 2.False
False TFTP manages to do it. TCP builds it on top of IP, and UDP is (by definition) no worse than IP, so clearly its possible (which doesnt mean its desirable)
Web hosting firms need HTTP 1.0 (or later) because A.It allows binary B.It allows MIME C.It allows the complete URL in GET D.It can send the length of the data file
C complete URL A.All HTTP allow binary (in the data) B.MIME was in 0.9, and anyway isnt very relevant C.Without the complete URL, we wouldnt know what page we were called on D.Size is useful, but not necessary
Which of these is not part of the NFS complete suite 1.XDR 2.Portmapper 3.TLS 4.Remote procedure call
C TLS A.eXternal Data Representation is vital: times, lengths etc. B.Portmapper to find RPC programs C.TLS Transport Layer Security. Not an intrinsic part. D.Remote Procedure Call the underlying paradigm
Recall the ISO 7-layer model 1.Physical 2.Link 3.Network 4.Transport 5.Session 6.Presentation 7.Application
Which layer is MIME? 1.Physical 2.Link 3.Network 4.Transport 5.Session 6.Presentation 7.Application
6 Presentation Describes how the data is meant ot be interpreted at the other end.
Networking A few questions on the course A few questions about the course and the subject
Theres too much on the basics and not enough on the applications 1.Strongly Agree 2.Agree 3.Neutral 4.Disagree 5.Strongly Disagree
I have bought/been given a copy of the book 1.Yes 2.No