530 likes | 677 Views
Networking. A few questions on the course A few questions about the course. 27 of 70. The Chancellor of the University is. Alistair Darling Lord Patten Glynis Breakwell Prince Philip Lord Tugendhat Lord Hinton of Bankside. That was the “warmup”: E.
E N D
Networking • A few questions on the course • A few questions about the course
27 of 70 The Chancellor of the University is • Alistair Darling • Lord Patten • Glynis Breakwell • Prince Philip • Lord Tugendhat • Lord Hinton of Bankside
That was the “warmup”: E • Darling is Chancellor of the Exchequer • Lord Patten is Chancellor of Oxford • Glynis Breakwell is the Vice-Chancellor • Prince Philip is Chancellor of Cambridge • Lord Tugendhat is the Chancellor • 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? • Variable length • 16 bytes • 4 bytes • 6 bytes
The answer is D (6 bytes) If you didn’t get that, you’re 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 • Your IP address • A router’s IP address • A nameserver’s IP address • A nameserver’s name • The subnet mask
D — the nameserver’s name • It’s 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 • True • 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 • Negotiated • The minimum of what the two said • The average of what the two said • 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: • P→Q: SYN (with MSS) • Q→P: SYN (with MSS, and ACK) • P→lost: ACK What happens next?
P’s ACKof Q’s SYN is lost, and • The connection hangs • P eventually times out • P starts sending data • P resends its SYN • Q resends its SYN • P sends a RST
C (or possibly E) • Hanging would be a failure of TCP • P thinks the connection’s open, so why time out? • Therefore can send data (which will acknowledge the SYN as well) • Why should P send SYN: it’s been acked • Q hasn’t has SYN acked, so will resend if C doesn’t happen (e.g. SMTP, where the server first sends a 220) • Why should it send RST?
Which of these is not in the TCP header • Sequence Number • Options • Receiver Window • Congestion Window • Urgent Pointer
D — Congestion Window • Sequence number is always there • Options, if presentare in the header • Receiver Window is always there • Congestion Window is purely maintained by the sender, and is not passed to the other end (its effects may be felt, but that’s another matter) • Urgent pointer is always there
A receiver drops packets to indicate that its window is full • True • 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 • Time out • Window =0 • 2 duplicate ACKs • 4 ACKs of the same number • A and D • A,B and C • B and C
E (A and D) is right • Timeout is a good indicator of congestion (but the other end might have crashed …) • Not network congestion • Not 2 Duplicate ACKs • 4, with the same number, means 3 are duplicates, so this is congestion
The persist timer deals with which problem? • Hosts that go down • Hosts that have no space for more data • Lost SYN packets • Lost window adverts • Lost FIN packets
D: lost window adverts Hosts that go down: TCP times out sending Hosts with no space — there’s no cure for this! Lost SYN packets, retransmission deals with this The response to the persist timer will give us a new window size (which may still be same, if there is still no space) Lost FIN packets, retransmission deals with this
“slow start” is somewhat of a misnomer • True • False
Possibly It does indicate that we start slow (so far, so good), but we get exponentially faster, so most people probably wouldn’t call it slow
Sending `window scale’ means • I will send scaled windows • I will understand scaled windows • I will send scaled windows if you will • You can send scaled windows if you want • B and C • B and D
E is the best answer • You can’t scale unless the other end says it understands scaling • If you can send them, you must be able to understand them • Certainly correct • Some TCPs send window scale automatically even if the other end didn’t (of course, they can’t use it)
In FTP, the control channel • Starts in ASCII or binary depending on the options • Starts in ASCII, but can be switched to binary • Is always in ASCII • Uses XDR
C – always ASCII • The other end doesn’t know what the options are, so this can’t be right (a general point about protocols!) • The IMAGE command changes the data channel only • Right • XDR is connected with NFS, not FTP
One of these statements is true • SMTP constructs the header from the envelope • The envelope determines who gets the mail • The header determines who gets the mail • The header MUST agree with the envelope on this • The header should agree with the envelope on this
B: envelope→sender • If anything, the sending agent (not SMTP) constructs the envelope from the header • Correct • False • Not an RFC requirement: The header might well not agree • It is impossible for C’s machine to check whether C occurs on a mailing list administered by B, or even whether it is a mailing list
MIME is • A feature of e-mail only • A feature of the Web only • What Marcel Marceau did • 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 • True • 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 • True • False
False • It’s 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 • True • 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 • True • False
False • RIP and BOOTP/DHCP both rely on broadcast (or multicast for some RIP v2 installations) and therefore can’t 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 • True • 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 it’s possible (which doesn’t mean it’s desirable)
Web hosting firms need HTTP 1.0 (or later) because • It allows binary • It allows MIME • It allows the complete URL in GET • It can send the length of the data file
C — complete URL • All HTTP allow binary (in the data) • MIME was in 0.9, and anyway isn’t very relevant • Without the complete URL, we wouldn’t know what page we were called on • Size is useful, but not necessary
Which of these is not part of the NFS complete suite • XDR • Portmapper • TLS • Remote procedure call
C — TLS • eXternal Data Representation is vital: times, lengths etc. • Portmapper to find RPC programs • TLS — Transport Layer Security. Not an intrinsic part. • Remote Procedure Call — the underlying paradigm
Recall the ISO 7-layer model • Physical • Link • Network • Transport • Session • Presentation • Application
Which layer is MIME? • Physical • Link • Network • Transport • Session • Presentation • Application
6 — Presentation • Describes how the data is meant ot be interpreted at the other end.