82
Reminders • Course final review with Q&A on Dec 15 th • Final exam on Dec 22 th 10:30AM ~ 12:30PM • Final score available before Dec 29 th

Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Embed Size (px)

Citation preview

Page 1: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Reminders

• Course final review with Q&A on Dec 15th

• Final exam on Dec 22th 10:30AM ~ 12:30PM

• Final score available before Dec 29th

Page 2: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

HW1, HW2, HW3, Mid-term: accumulative percentage

20% A, 20% A-, 34% B , 13% C, 10% less than C

Work HarderGoodJob

Page 3: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

More on Final Exam “Comprehensive”, emphasis on

material covered after mid-term Everything in lecture notes Section 1.1 – 1.7 (1.8 excluded) Section 2.1 – 2.8 (2.9 excluded) Section 3.1 – 3.7.1 (3.7.2 excluded) Section 4.1 – 4.8 Section 5.1~5.7 (section 5.8 excluded) Section 6.1 ~ 6.8

Page 4: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Hints for last-minute preparation

• Jeopardy Game Question (20%)

• Sample Final Exam (20%)

• Lecture notes (20%)

• Homework (20%)

• Textbook (20%)

Page 5: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

CSCI 4211Introduction to Computer Networks

Jeopardy Review

Page 6: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Rules • Three/Four students form a group.

• After the questions show up, the team raises the # card first to get called on and MUST start to answer the question when TA calls on them with in 10 seconds (otherwise lost points)

• Each team gets one AND ONLY ONE answer per question

Page 7: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Difference from normal Jeopardy! game• Questions are given, you provide the answer.

(not vise versa)

• The group that answers correctly has the exclusive right to answer the next question.

• At most answer two questions in a row for a group. After that, all groups are allowed to compete for the next question.

• Only The Jeopardy Round and Final Jeopardy round

Page 8: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Other logistics

• Pengkui is charge of book keeping on white board (one score per group)

• To ensure the smoothness of the game, lecturer makes the FINAL decision whether an answer is correct or not, we can resolve disagreement later.

• Some questions would be related to the final

Page 9: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Trophies at stake

– The winning team wins 5$ star-buck card per member. You can enjoy together after class.

Page 10: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Click to begin.

Page 11: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Click here for Final Jeopardy

Page 12: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Category AApplication

Category BTransport

Category DNetwork II

Category EDL/Wireless

Level

100 $

200 $

300 $

400 $

500 $

100 $ 100 $ 100 $ 100 $Easy

200 $ 200 $ 200 $ 200 $Medium

300 $

400 $

500 $

300 $ 300 $ 300 $Hard

400 $ 400 $ 400 $Daunting

500 $ 500 $ 500 $ Impossible

Category CNetwork I

Page 13: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Category AApplication

Category BTransport

Category DReliableProtocols

Category ETCP

CongestionControl

Level

100 $

200 $

300 $

400 $

500 $

100 $ 100 $ 100 $ 100 $Easy

200 $ 200 $ 200 $ 200 $Medium

300 $

400 $

500 $

300 $ 300 $ 300 $Hard

400 $ 400 $ 400 $Daunting

500 $ 500 $ 500 $ Impossible

Category CTCP Connection

Management

Page 14: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1aThe name of an internet application that listens to the port number 80.

Page 15: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1a

HTTP

Page 16: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2aA special application layer protocol that is essential to the operation of the Internet.

Page 17: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2aDNS

Domain Name System

Page 18: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3a

Name three protocols commonly used for sending and receiving

emails

Page 19: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3a

SMTP

IMAP

POP3

Page 20: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4aSuppose a user at m.a.com types in www.b.com, if no DNS information is cached at any level of DNS hierarchy. How many DNS requests will be issued by m.a.com?

Page 21: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4a1

Page 22: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5aHow many DNS requests are needed to resolve the domain name www.b.com iteratively

Page 23: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5a4

m.a.com

www.b.com

root DNS server

local DNS serverDns.a.com

1

23

4

5

6

authoritative DNS serverdns.b.com

78

TLD DNS server.com

Page 24: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1bHow many sockets are created totally at both client and server sides, when 11 users query a DNS server at the same time?

Page 25: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1b1 socket at the server side, 11

sockets at the client side, totally 12.

Page 26: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2bName at least four key techniques needed for reliable data transfer

Page 27: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2bError Detection

ACK/NACK/Retransmission

Sequence Number

Timer

Page 28: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3bName at least four key functions provided by TCP

Page 29: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3bReliable transfer, flow control, congestion control and multiplexing.

Page 30: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4bWhy the TCP header has a header

length field, while UDP doesn’t

Page 31: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4bUDP has a fixed header of 8 bytes

The length of a TCP header is 20 bytes + Options

Length is needed to indicate how long the options are

Page 32: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5bWhy TCP avoids measuring the Sample-RTT for retransmitted

segments?

Page 33: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5bThe source will mistakenly take an old (delayed) acknowledgment as the acknowledgment for retransmitted packet and calculate an incorrect (smaller) value of Sample-RTT.

Page 34: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1c In a CIDR format 192.168.2.0/12

What is the meaning of 12?

Page 35: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1cThe length of network prefix

Page 36: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2c How many subnets are below?

Page 37: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2c8

Page 38: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3c

A widely used technique for alleviating the IPv4 address shortage

Page 39: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3cNAT

Network Address Translation

mapping mulitple intranet IP addresses to a single internet IP address using

different port numbers

Page 40: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4c How many Class C Internet addresses

would an organization need in order to number 2000 hosts ( classful addressing)?

Page 41: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4c2^8-2 = 254 hosts each Class C address.

2000/254 = 7.87 8.

Page 42: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5c How many packets are needed for RPF

A

B

D

E

c

F

Page 43: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5cTotally 11

A

B

D

E

c

F

3

2

2

1

2

1

Page 44: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1dHow long An IPv6 address is

(in number of bits)

Page 45: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1d128 bits

Page 46: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2dHow many packets is needed for Spanning Tree based Flooding

A

B

D

E

c

F

Page 47: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2d5

Page 48: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3d

Name A Link-State Protocol

Page 49: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3d

OSPF

Open Shortest Path First

Page 50: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4dThe name of the technique that

encapsulates a Multicast IP packet into a Unicast IP packet

(IP-in-IP)

Page 51: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4dMulticast Tunneling

Page 52: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5d

How the BGP Protocol detects routing loops?

Page 53: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5dBGP use Path Vector: A sequence of

AS numbers

If the same AS number appears more than once, there is a loop.

Page 54: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1eWhat is the name of the layer-1 device that repeats the signal

Page 55: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1eNetwork Hub/Repeater

Page 56: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2e

Name the media access control protocol that can guarantee no collision and with

low management overhead

Page 57: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2eChannel Partition Protocols

Such as

TDMA, FDMA and CDMA

Page 58: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3eSuppose switch tables are all empty (assume ARP is up-to-date). If Host A sends a packet to Host B. How many frames are sent in the network?

Host AHost B

Page 59: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3e8

Host AHost B

Page 60: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4eIf Host B replies to Host A right away,

how many frames are sent?

Host AHost B

Page 61: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4e3

Self Learning

Page 62: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5eIn mobile IP indirect routing scenario, who assigns a care-of address (COA)?

(1) Mobile device, (2) Correspondent, (3) Home agent, (4) Foreign agent, or (5) DNS server?

Page 63: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5eA care-of-address is the one its gets when it is visiting a foreign network. The COA is assigned by the foreign agent (which can be the edge router in the foreign network or the mobile node itself).

Page 64: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

TCP-Related Questions

Page 65: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 1fWhat is the main problem using the Stop-&-Wait protocol on a 1Gbps link with a propagation delay of 15 ms (and maximum packet size of 1 KB)?

Page 66: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 1f

Page 67: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 2fIn the Go-Back-N protocol, if 4 bits are used for the sequence numbers, what is the maximum number of packets that can be transmitted in one-round without acknowledgment?

Page 68: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2f

Page 69: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3fIn the Selective Repeat protocol, if 4 bits are used for the sequence numbers, what is the maximum number of packets that can be transmitted in one-round without acknowledgment?

Page 70: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4fSuppose a TCP sender is currently in the slow-start phase. It transmits 4 segments (each 1500 bytes) in the current round, and the sequence no. carried in the last segment is 6000. When it receives an acknowledgement with ack. no =7501, what value will it set its Congestion Window to?

Page 71: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5fSuppose a TCP sender is currently in the congestion avoidance phase, and its CongWin is set = 10000 bytes. After it has transmitted 8 segments (each 1500 bytes), a time-out event happens. What will it set its “threshold” variable to?

What value will it set its CongWin to?

Page 72: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 2f

Page 73: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 3f

Page 74: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 3f

Page 75: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 4f

Page 76: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 4f

Page 77: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Question 5f

Page 78: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Answer 5f

Page 79: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Make your wager up to what you have

Write down the wager along with the answer on the back of the index card.

Finish in 3 minutes!!!

Page 80: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Final Question

Suppose initially all ARP tables and switching tables are empty. Suppose now host A sends an IP data packet to host C. How many Ethernet frames are sent?

A

D

S3

B C

S2 S1

Switch Host

Page 81: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Formal Class Evaluation Lecturer: Tian HeTA: Pengkui LuoTA: Jaehoon Paul JeongTerm: Fall Current Year: 2009Course ID: 24513  Section: 001

Your positive feedback is very important to me and TAs! Thank you

Page 82: Reminders Course final review with Q&A on Dec 15 th Final exam on Dec 22 th 10:30AM ~ 12:30PM Final score available before Dec 29 th

Final Answer

14 frames

6 frames for the ARP request4 frames for the ARP reply

4 frames for data