WeekEndAssignment-04 + Questions Fully University Based
WeekEndAssignment-04 + Questions Fully University Based
WEEK-END ASSIGNMENT-04
Computer Networking Workshop (CSE 4541)
(B) 3 (E) 6
(C) 4 (F) 7
2. Compute the subnetwork address for a host with the IP address 200.10.5.68/28?
Answer Remark
(A) 200.10.5.56
q
(B) 200.10.5.32
Justification:
(C) 200.10.5.64
(D) 200.10.5.0
3. The network address of 172.16.0.0/19 provides how many subnets and hosts?
Answer Remark
(A) 7 subnets, 30 hosts each q
(B) 7 subnets, 2,046 hosts each Show the calculation:
(C) 7 subnets, 8,190 hosts each
4. Which mask should you use on point-to-point links in order to reduce the waste of IP addresses?
(A) /27 Answer Remark
(B) /28
q
Justification:
(C) /29
(D) /30
(E) /31
WEA04-1
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
5. The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP ad-
dresses could belong to this network? [GATE 2003]
Answer Remark
6. You have an interface on a router with the IP address of 192.168.192.10/29. Including the router
interface, how many hosts can have IP addresses on the LAN attached to the router interface?
Answer Remark
(A) 6
q
Show the computation:
(B) 8
(C) 30
(D) 62
7. Using the following illustration, what would be the IP address of E0 if you were using the eighth
subnet? The network ID is 192.168.10.0/28 and you need to use the last available IP address in the
range. The zero subnet should not be considered valid for this question.
Answer Remark
q
Show the detailed computation of all subnets:
(A) 192.168.10.142
(B) 192.168.10.66
(C) 192.168.100.254
(D) 192.168.10.143
(E) 192.168.10.126
WEA04-2
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
8. You have a network in your data center that needs 310 hosts. Which mask should you use so you
waste the least amount of addresses?
Answer Remark
(A) 255.255.255.0
q
Justification:
(B) 255.255.254.0
(C) 255.255.252.0
(D) 255.255.248.0
9. Your router has the following IP address on Ethernet0: 172.16.2.1/23. Which of the following can be
valid host IDs on the LAN interface attached to the router? (Choose two.)
(A) 172.16.0.5 Answer Remark
(B) 172.16.1.100 q
(C) 172.16.1.198 Justification:
(D) 172.16.2.255
(E) 172.16.3.0
(F) 172.16.3.255
10. Given an IP address 172.16.28.252 with a subnet mask of 255.255.240.0, find the correct network
address.
(A) 172.16.16.0 Answer Remark
q
(B) 172.16.0.0
Justification:
(C) 172.16.24.0
(D) 172.16.28.0
11. Which two statements describe the IP address 10.16.3.65/23? (Choose two.)
WEA04-3
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
12. You need to configure a server that is on the subnet 192.168.19.24/29. The router has the first avail-
able host address. Which of the following should you assign to the server?
Answer Remark
(A) 192.168.19.0 255.255.255.0
q
(B) 192.168.19.33 255.255.255.240
Show calculation:
(C) 192.168.19.26 255.255.255.248
13. You have an interface on a router with the IP address of 192.168.192.10/29. What is the broadcast
address the hosts will use on this LAN?
Answer Remark
(A) 192.168.192.15
q
(B) 192.168.192.31
Show calculation:
(C) 192.168.192.63
(D) 192.168.192.127
(E) 192.168.192.255
14. You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet
mask would you use?
Answer Remark
(A) 255.255.255.192
q
(B) 255.255.255.224
Justification:
(C) 255.255.255.240
(D) 255.255.255.248
15∗ . You configure a router interface with the IP address 192.168.10.62 255.255.255.192 and receive the
following error: Bad mask /26 for address 192.168.10.62
Why did you receive this error?
Answer Remark
(A) You typed this mask on a WAN link q
and that is not allowed.
Justification:
(B) This is not a valid host and subnet
mask combination.
16. If an Ethernet port on a router were assigned an IP address of 172.16.112.1/25, what would be the
valid subnet address of this interface?
WEA04-4
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
(B) 172.16.0.0
q
Justification:
(C) 172.16.96.0
(D) 172.16.255.0
(E) 172.16.128.0
17∗ . You have a network with a host address of 172.16.17.0/22. From the following options, which is
another valid host address in the same subnet?
(A) 172.16.17.1 255.255.255.252
Answer Remark
(B) 172.16.0.1 255.255.240.0 q
(C) 172.16.20.1 255.255.254.0 Justification:
(D) 172.16.16.1 255.255.255.240
18. To test the IP stack on your local host, which IP address would you ping
Answer Remark
(A) 172.0.0.1
q
(B) 1.0.0.127
Justification:
(C) 127.0.0.1
(D) 127.255.255.255
(E) 255.255.255.255
WEA04-5
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
WEA04-6
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
2. Write the subnet, broadcast address(DBA & LBA), and a valid host range for the given address
192.168.100.99/25.
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
3. Write the subnet, broadcast address (DBA & LBA), and a valid host range for the given address
192.168.100.66/27.
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
4. Write the subnet, broadcast address (DBA & LBA), and a valid host range for the given address
192.168.100.99/26.
WEA04-7
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Answer Remark
Subnet:
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
WEA04-8
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
WEA04-9
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
Subnetwork Configuration
Details of Each Subnet
Subnet: 0 64 128 192
First Host:
..
.
Last Host:
Broadcast(DBA):
Broadcast(LBA):
Subnetmask:
WEA04-10
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
IP address Configuration
Representation of Logical Views
Router Interface IP: 0 64 128 192
Simulation Testing
Status
• Send packet with in the same subnet •
• Send packet from one subnet to other •
subnet
•
• Local network Broadcast
•
• Distant network broadcast
WEA04-11
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
(b) Change one of the Router Interface IP and forward packet from one subnet to other using that inter-
face.
Observation
(c) Change the IP address of one of the host in subnet 0 to a different IP not belonging to that subnet.
Select an ARP packet and forward from any host of subnet 0.
Observation
WEA04-12