You are on page 1of 4

IST260 - Networking I Quiz 2 Name: KEY

November 24, 2009 TCP/IP Section: ____________

Marks: ________ / 42

Mark
s

2 1. List the address ranges of all the standard classes of networks supported by the Internet
Protocol (first octet only):

Class A Class B Class C Class D Class E


0 - 127 128 - 191 192 - 223 224 - 239 240 - 255

4 2. Complete the following table (all are classful addresses):

Clas
IP Address Network ID Standard Subnet mask
s
191.255.101.11
B 191.255.0.0 255.255.0.0
1
223.222.221.22
C 223.222.221.0 255.255.255.0
0
122.209.2.91 A 122.0.0.0 255.0.0.0
166.15.117.120 B 166.15.0.0 255.255.0.0

8 3. Convert the following binary IP addresses to their equivalents in Hexadecimal notation


and Dotted Decimal notation:

Binary Hex Dotted Decimal


01111101.11011111.11001011.1010111
7D:DF:CB:AF 125.223.203.175
1
11000001.10101010.00000001.0000001
C1:AA:01:02 193.170.1.2
0
10101111.00111111.11111111.1111111
AF:3F:FF:FE 175.63.255.254
0
11000111.01010101.01100110.0001111
C7:55:66:1F 199.85.102.31
1

8 4. For the IP addresses in the following tables, specify whether they are valid public host
addresses; and if valid, specify their Class; if not valid, specify why not.

IP address Valid Public IP Class or:


Host?(Y/N) Reason not valid
111.111.111.111 Y Class A
0.123.123.254 N Invalid first octet
172.17.17.17 N Reserved (in range 172.16 - 172.31)

47177192.doc 1
172.255.17.255 Y Class B
224.001.001.001 N Multicast address
100.100.0.0 Y Class A
1.0.255.0 Y Class A
192.192.254.255 N Broadcast address

Mark
s
8 5. Fill in the table below for the IP address 126.255.129.33 with subnet mask
255.255.240.0.

Question Answer
Binary subnet ID (example: binary subnet 001) 1111 1111 1000
What is the broadcast address of the subnet this
126.255.143.255
address is part of?
How many subnets are there?
212 = 4096
How many host addresses are there in each?
212 - 2 = 4096 -2 = 4094
What is the IP address of the 4th usable host ID in the
126.0.32.4
3rd subnet?
What is the binary subnet ID of the last subnet? 1111 1111 1111
What is the broadcast address of the 2nd subnet? 126.0.31.255
What is the network address of the 3rd subnet? 126.0.32.0

1 6. What is the Network ID for the IP address 133.155.197.115 /19?

133.155.192.0

1 7. What is the subnet mask for a Class A license that has 64 subnets?

255.252.0.0

1 8. What is the subnet mask for a Class B license that has 32 subnets?

255.255.248.0

1 9. What is the main purpose of a DHCP server?

To dynamically assign IP numbers to computers

47177192.doc 2
2 10 List the four steps (packets sent) in the DHCP process in the correct order:
.
Discovery
Offer
Request
Acknowledgement

Mark
s
1 11 What is the purpose of the ping utility?
.
To test the connectivity to a remote host.

1 12 Describe the method used by ping to accomplish its task:


.
In Windows, the ping utility sends four ICMP Echo Request packets to the remote
host expecting to receive four ICMP Echo Reply packets back. If it does, it will
calculate and display average round trip times (plus some other statistics)

1 13 What is the Command Prompt command that would provide you with the IP address of
. the symbolic address www.nait.ca?

nslookup www.nait.ca

1 14 What is the fundamental difference between the TCP and UDP protocols?
.
TCP is connection based, UDP is connectionless.

1 15 List one advantage and one disadvantage of using TCP instead of UDP:
.
Advantage: TCP is more reliable (because it requires acknowledgements)

Disadvantage: TCP is slower (due to the error checking)

1 16 What is a Recursive DNS query?


.
A Recursive query is client-side query that a client directs to its designated server
and that expects to get the definitive answer.

47177192.doc 3
47177192.doc 4

You might also like