0% found this document useful (0 votes)
5 views7 pages

WeekEndAssignment-03

The document outlines a weekend assignment for a Computer Networking Workshop, detailing tasks related to classful IPV4 address configuration. It includes exercises on determining operating modes of ports, identifying IP address classes, finding network addresses, and configuring network devices. Additionally, it involves practical experiments using Cisco Packet Tracer for network design and packet transmission analysis.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views7 pages

WeekEndAssignment-03

The document outlines a weekend assignment for a Computer Networking Workshop, detailing tasks related to classful IPV4 address configuration. It includes exercises on determining operating modes of ports, identifying IP address classes, finding network addresses, and configuring network devices. Additionally, it involves practical experiments using Cisco Packet Tracer for network design and packet transmission analysis.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Department of Computer Science and Engineering

Institute of Technical Education & Research, SOA, Deemed to be University

WEEK-END ASSIGNMENT-03
Computer Networking Workshop (CSE 4541)

Publish on: 02-03-2024 Submission on: 09-03-2024


Course Outcome: CO1 Program Outcome: PO1 , PO3 Learning Level: L4

Working with classful IPV4 address configuration


1. Determine the operating mode of the ports, either half-duplex or
full-duplex, in the following situations; Answer Remark
(a) With a connection from a switch to a host (a) q
(b) With a connection from a switch to a switch (b) q
(c) With a connection from a host to a host (c) q
(d) With a connection from a switch to a router (d) q
(e) With a connection from a router to a router (e) q
(f) With a connection from a router to a host (f) q
(g) With a connection from a hub to a host (g) q
(h) With a connection from a switch to a hub (h) q
(i) With a connection from a router to a hub
(i) q
(j) q
(j) With a connection from a hub to a hub
Answer Remark
2. Find the class of each IP address.
(a) q
(a) 10000001 00001011 00001011 11101111
(b) q
(b) 0000001 10000011 00011011 11111111
(c) q
(c) 14.23.120.8
(d) q
(d) 252.5.15.111
Answer Remark
3. Find the network address of the given IP addresses.
(a) q
(a) 23.56.7.91
(b) q
(b) 132.6.17.85
(c) q
(c) 192.23.120.8
(d) q
(d) 200.5.15.111

WEA03-1
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

Answer Remark
4. Determine the class from the given network addresses
(a) q
(a) 10.0.0.0
(b) q
(b) 130.130.0.0
(c) q
(c) 200.200.200.0
(d) q
(d) 172.31.0.0

5. Find the netID and hostID of the following classful IP addresses. Answer Remark

(a) 114.34.2.8 (a) q


(b) 132.56.8.6 (b) q
(c) 208.34.54.12 (c) q
(d) 10.10.10.10 (d) q
6. Determine default mask for the given IP addresses Answer Remark

(a) 10.0.0.5 (a) q


(b) 130.130.0.5 (b) q
(c) 200.200.200.5 (c) q
(d) 172.31.0.5 (d) q
7. You are the Cisco administrator for your company. A new branch
office is opening and you are selecting the necessary hardware Answer Remark
to support the network. There will be two groups of comput- q
ers, each organized by department. The Sales group comput-
ers will be assigned IP addresses ranging from 192.168.1.2 to Justification:
192.168.1.50. The Accounting group will be assigned IP ad-
dresses ranging from 10.0.0.2 to 10.0.0.50. What type of device
should you select to connect the two groups of computers so that
data communication can occur?

(a) HUB (c) Router

(b) Switch (d) Bridge

8. Suppose computers A and B have IP addresses 10.105.1.113 and Answer Remark


10.105.1.91 respectively and they both use the same netmask N.
Which of the values of N given below should not be used if A q
and B should belong to the same network. [GATE 2010] Justification:
(a) 255.255.255.0 (c) 255.255.255.192

(b) 255.255.255.128 (d) 255.255.255.224

WEA03-2
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

9. In the IPv4 addressing format, the number of networks allowed Answer Remark
under Class C addresses is [GATE 2012] q
(a) 214 (c) 221 Justification:

(b) 27 (d) 224

10. An Internet Service Provider (ISP) has the following chunk of


CIDR-based IP addresses available with it: 245.248.128.0/20. Answer Remark
The ISP wants to give half of this chunk of addresses to Orga- q
nization A, and a quarter to Organization B, while retaining the
remaining with itself. Which of the following is a valid alloca- Justification:
tion of addresses to A and B? [GATE 2012]

(a) 245.248.136.0/21 and 245.248.128.0/22

(b) 245.248.128.0/21 and 245.248.128.0/22

(c) 245.248.132.0/22 and 245.248.132.0/21

(d) 245.248.136.0/24 and 245.248.132.0/21

11. Assume that source S and destination D are connected through


two intermediate routers labeled R. Determine how many times Answer Remark
each packet has to visit the network layer and the data link layer q
during a transmission from S to D. [GATE 2012]
Justification:
S R R D

(a) Network layer 4 times and Data link layer 4 times

(b) Network layer 4 times and Data link layer 3 times

(c) Network layer 4 times and Data link layer 6 times

(d) Network layer 2 times and Data link layer 6 times

12. Assume that source S and destination D are connected through


as shown in the figure with R as Router. Determine how many Answer Remark
times each packet has to visit the network layer and the data link q
layer during a transmission from S to D.
Justification:
S Switch R Switch D

(a) Network layer 4 times and Data link layer 4 times

(b) Network layer 4 times and Data link layer 3 times

(c) Network layer 3 times and Data link layer 6 times

(d) Network layer 2 times and Data link layer 6 times

WEA03-3
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

13. Suppose that instead of using 16 bits for the network part of a Answer Remark
class B address originally, 20 bits had been used. How many q
class B networks would there have been?
14. Let us consider a routing table is given below. Find the inter-
face on which the packet will move with the destination address
200.1.2.22
Answer Remark
Network address Subnet mask Interface q
200.1.2.0 255.255.255.192 a
200.1.2.64 255.255.255.192 b
200.1.2.128 255.255.255.192 c
200.1.2.192 255.255.255.192 d
0.0.0.0 0.0.0.0.0 e (default entry)

Experiment:

To study the implication of Subnet mask in network using Cisco Packet Tracer
(CPT)
1. Design the following network-1 using CPT and configure the IP and subnet mask of each node
(PCi,i=0..5 ). Send a simple PDU from source PC0 to the destination PC4 and observe how the
PDU is moving from source to destination in both the modes of the simulator (i.e. realtime as
well as simulation mode).

PC0 PC3
192.168.10.2 192.168.10.130

PC1 PC4
Switch
.3 .136
PC2 PC5
192.168.10.0
.4 255.255.255.0 .140

Figure 1: A Class C Switched Network

WEA03-4
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

Specify your Solution for the above design problem


Paste Network Topology here Remark
q

Mention the configuration at PCs

Node/PC Name IPv4 Address Subnet Mask

PC0 192.168.10.2 255.255.255.0


PC1
PC2
PC3
PC4
PC5

Generate packet and forward from source to destination


Status Remark
(a) ICMP packet from source PC0 to PC1 in realtime mode (a) q
(b) ICMP packet from source PC1 to PC4 in simulation mode (b) q
(c) State the command to display MAC table (c) q
(d) If PC0 broadcast a packet, determine how many responses (d) q
are returned to PC0

WEA03-5
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

2. To the above network shown in Figure-1, Change only the subnet mask from 255.255.255.0 to
255.255.255.128 without changing any IPV4 address of them. Again experiment the case; Gen-
erate packet and forward from source to destination. State the conclusion of your observation.

Status Remark
(a) ICMP packet from source PC0 to PC1 (a) q
(b) ICMP packet from source PC0 to PC2 (b) q
(c) ICMP packet from source PC0 to PC3 (c) q
(d) ICMP packet from source PC0 to PC4 (d) q
(e) ICMP packet from source PC0 to PC5 (e) q

Observartions:
State your answer
(a) Using default mask, 255.255.255.0, in Question-1.

(b) Using mask in 125.255.255.128 Question-2.

(c) Do you think that the class C network in Question-2 is broken into 2 parts? (Y/N) state your
answer

(d) Can a Switch interconnect two different networks? (Y/N) Justify your answer in favour of Y or
N. If N how to connect two different networks.

WEA03-6
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University

3. Modify the network shown in Figure-1 by adding a router in place of the switch. Configure
Default Gateway at PCs and assign IP address art router interface configure.

Configuration & Observartions:


Paste Network Topology here With Router Remark
q

Mention the configuration at PCs

Node/PC Name IPv4 Address Subnet Mask Default Gateway


PC0 192.168.10.2 255.255.255.128 192.168.10.1
PC1 192.168.10.1
PC2 192.168.10.1
PC3 192.168.10.129
PC4 192.168.10.129
PC5 192.168.10.129
Observation with Router
Status Remark
(a) ICMP packet from source PC0 to PC1
(a) q
(b) ICMP packet from source PC0 to PC2
(b) q
(c) ICMP packet from source PC0 to PC3
(c) q
(d) ICMP packet from source PC0 to PC4
(d) q
(e) ICMP packet from source PC0 to PC5
(e) q
What do you mean by Subnet mask?

What is the role of Subnet mask?


WEA03-7

You might also like