Lab-0: Basic Networking Concepts
Due: February 5 2002

Since the lab setup has got little delayed, here are some questions to review basic networking concepts that you will need to know for future assignments. For those of you who have done a course in TCP/IP this should be trivial, but for those who saw TCP/IP for the first time in this course, this should certainly be useful. Answer all questions and drop it in the Digital Drop Box at MyPoly no later than midnight February 5 2002.

Here are some references for learning TCP/IP:
1. http://www.ralphb.net/IPSubnet/
2. http://www.cisco.com/univercd/cc/td/doc/cisintwk/idg4/nd20a.htm
3. http://support.microsoft.com/support/kb/articles/Q164/0/15.asp
4. http://www.internexis.com/mcp/article_10-06-98.htm
5. http://www.freesoft.org/CIE/RFC/950/index.htm
6. Also see MyPoly Web site for CS393 for more resources

Basic Network Concepts

  1. Describe the OSI Model and explain the purpose of layered design?
  2. In the class we went through a simple HTTP request/reply example. Please list type of addresses used in each layer and protocols used to resolve these addresses for layers below/above?

Internet Protocol (IP)

  1. Find the address class and range of hosts supported to each IP address below:
    1. 128.238.35.5
    2. 199.219.155.9
    3. 192.168.1.1
    4. 131.107.2.89
    5. 3.3.57.0
    6. 224.1.25.2

  2. Find which of the following IP addresses are valid:
    1. 128.238.5.260
    2. 24.0.0.0
    3. 199.1.1.0
    4. 199.25.10.255
    5. 127.0.0.1

  3. Identify which of the following IP address cannot be assigned to a host and explain why it is invalid or cannot be assigned:
    1. 131.107.256.80
    2. 222.222.255.222
    3. 231.200.1.1
    4. 126.1.0.0
    5. 0.127.4.100
    6. 190.7.2.0
    7. 127.1.1.1

  4. From subnet masks below find the number of hosts and subnet supported and explain your answer:
    1. 255.255.255.0
    2. 255.0.0.0
    3. 255.255.224.0
    4. 255.254.0.0
    5. 255.192.0.0
    6. 255.255.255.252
    7. 255.255.255.240
    8. 255.248.0.0

  5. Assume host A with IP 128.238.35.20 and subnet mask 255.255.224.0 wants to send a packet to host B with IP 128.238.160.10 using the same subnet mask. Find if host B is in the same subnet as host A and explain how host A determines if the destination is in its own subnet or not?

  6. What is the range of hosts and subnets supported by a class B network using subnet mask 255.255.224.0 List IP range (for example: x.y.32.1 to x.y.63.2) and the network ID for each subnet supported?

Transmission Control Protocol (TCP)

  1. What are the differences between services provided by IP and TCP?
  2. What is the purpose of checksum field in the TCP header?
  3. Why are the source and destination port numbers at the begining of the TCP header?
  4. What is Maximum Segment Size (MSS)?



2002-01-28