UNIVERSITY OF DODOMA

College of Informatics and Virtual Education
CN 121 – INTRODUCTION TO NETWORKING
TEST 2: Monday 5th June, 2023
Time: 08:00 – 09:00

This test consists of TWO questions
Answer all questions


Question One

(a) Given an IP address and subnet mask as 10.1.0.0/22, use this address to determine the subnet mask in decimal notation, the network ID of first subnetwork, the first host address in this subnetwork, the last host address in this subnetwork, the broadcast address in this subnetwork and the number of hosts.

ANSWER :

SNQuestionWrite Your Answers in corresponding spaces below
1Subnet Mask255.255.252.0
2Network ID10.1.0.0
3First Host10.1.0.1
4Last Host10.1.3.254
5Broadcast IP10.1.3.255
6Number of Hosts1022

(b) Provide the maximum number of valid subnets and usable hosts per subnet that you can get from the network 192.168.155.0/29.

SNQuestionWrite Your Answers in corresponding spaces below
1Subnets32
2Hosts per Subnet6

(c) What subnet mask would you use for the 172.21.0.0 network, such that you can get 320 subnets and 120 hosts per subnet? What is the maximum number of hosts per such subnet?

SNQuestionWrite Your Answers in corresponding spaces below
1Subnet Mask255.255.255.128
2Maximum hosts126

Question Two

Write down windows IP commands that will do the following:

SNDescriptionWindows IP Command
1Deletes the local DNS resolver cache of the computeripconfig /flushdns
2Find the IP address of www.udom.ac.tznslookup www.udom.ac.tz
3By default send 4 ICMP packets to 192.168.1.1ping 192.168.1.1
4Shows information of the path that a TCP/IP packet takes towards a destination targettracert
5Show the established network TCP/IP connections of the local computer with remote hosts, open ports on the machine, the process ID (PID) of each connection etcnetstat -ano
6Displays the current routing table of the computerroute print
7Displays all cache mappings (IP address to MAC address)arp -a
8Delete the arp entry for 10.10.0.2 addressarp -d 10.10.0.2
9Release the current IPv4 addresses which were assigned dynamically from a DHCP serveripconfig /release
10Refreshes all DHCP addresses and also communicates again with the external DNS server to make sure its reachable etc.ipconfig /renew

Short Answer Questions

1. The three security goals are ______, ______ and ______.

2. The size of IP address in IPv6 is ______ bits.

3. With Ethernet there is either straight through or crossover connections; between the two which connection type is used when directly connecting computer to computer?

4. Given 11111001 10011011 11111011 00001111; its dotted-decimal notation will be ______.

5. With Ethernet there is either straight through or crossover connections; what connection between the two is used when connecting two switches using their normal ports?

6. What is the subnetwork address if the destination address is 200.45.34.56 and the subnet mask is 255.255.240.0?

7. The length of Physical address also known as MAC Address is ______ bits.

8. When it comes to Port Address, HTTP use port number ______.

9. This IP address 11110011 10011011 11001100 00000001 belongs to class ______.

10. You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which subnet mask would you use?


END OF TEST