ACN QB final
ACN QB final
ACN QB final
4] For the block of IPv4 address given below built a subnet Mask, broadcast
address and number of host possible.
(i)10.0.199.237/22
(ii)192.168.14.87/22
Ans: To determine the subnet mask, broadcast address, and number of possible hosts for
the given IPv4 addresses and subnet masks, you need to understand how subnetting works.
(i) 10.0.199.237/22:
First, let's calculate the subnet mask:
A /22 subnet mask means that the first 22 bits of the IPv4 address are network bits, and the
remaining bits are host bits. In binary form, it looks like this:
11111111.11111111.11111100.00000000
1. Simplicity: RIP is relatively easy to configure and manage, making it suitable for small networks and
those without dedicated network administrators.
2. Low Resource Usage: RIP uses minimal network resources in terms of bandwidth and processing
power, which can be beneficial in low-capacity environments.
3. Automatic Route Updates: RIP routers automatically exchange routing updates at regular intervals,
making it convenient for maintaining routing tables.
Disadvantages:
1. Limited Scalability: RIP's effectiveness diminishes in larger networks due to its slow
convergence and inability to handle complex topologies effectively.
2. Slow Convergence: In larger networks or networks with frequent changes, RIP's slow
convergence can lead to longer periods of network instability.
3. Hop Count Limitation: RIP uses hop count as a metric, which can lead to suboptimal routing
decisions. It cannot differentiate between paths with the same hop count but varying speeds
or capacities.
6] Use Bellman fort algorithm to find the shortest distance for all the notes in
the graph ?
7] Explain the process of transition from IPv4 to IPv 6 for a network?
8] With a suitable example explain distance vector routing algorithm. What is
the serious drawback of distance algorithm?
9] State why IPv4 is called connectionless protocol?
IPv4 is called a connectionless protocol because it does not establish a
dedicated, continuous connection between sender and receiver before sending
data.
Instead, each packet of data (or datagram) in IPv4 is treated as an independent
unit, containing its own source and destination addresses.
This means that each packet can take a different route to reach its destination,
and there is no guarantee of delivery or order.
The connectionless nature of IPv4 allows for more flexibility and efficiency in
routing and handling network traffic, but it also means that the application
layer needs to manage reliability, error handling, and ordering if those
features are required.
10] Describe different classes of IPv4 address ?
Class A:
IP address belonging to class A are assigned to the networks that contain a large
number of hosts.
• The network ID is 8 bits long.
• The host ID is 24 bits long.
The higher order bit of the first octet in class A is always set to 0.
The remaining 7 bits in first octet are used to determine network ID.
The 24 bits of host ID are used to determine the host in any network. The default
subnet mask for class A is 255.x.x.x. Therefore, class A has a total of:
• 2^7= 128 network ID
• 2^24 – 2 = 16,777,214 host ID
IP addresses belonging to class A ranges from 0.x.x.x – 127.x.x.x
Class B:
IP address belonging to class B are assigned to the networks that ranges from
medium-sized to large-sized networks.
• The network ID is 16 bits long.
• The host ID is 16 bits long.
The higher order bits of the first octet of IP addresses of class B are always set to
10. The remaining 14 bits are used to determine network ID. The 16 bits of host
ID is used to determine the host in any network. The default sub-net mask for
class B is 255.255.x.x. Class B has a total of:
• 2^14 = 16384 network address
• 2^16 – 2 = 65534 host address
IP addresses belonging to class B ranges from 128.0.x.x – 191.255.x.x.
Class C:
IP address belonging to class C are assigned to small-sized networks.
• The network ID is 24 bits long.
• The host ID is 8 bits long.
The higher order bits of the first octet of IP addresses of class C are always set to
110. The remaining 21 bits are used to determine network ID. The 8 bits of host
ID is used to determine the host in any network. The default sub-net mask for
class C is 255.255.255.x. Class C has a total of:
• 2^21 = 2097152 network address
• 2^8 – 2 = 254 host address
IP addresses belonging to class C ranges from 192.0.0.x – 223.255.255.x.
Class D:
IP address belonging to class D are reserved for multi-casting. The higher order
bits of the first octet of IP addresses belonging to class D are always set to 1110.
The remaining bits are for the address that interested hosts recognize.
Class D does not posses any sub-net mask. IP addresses belonging to class D
ranges from 224.0.0.0 – 239.255.255.255.
Class E:
IP addresses belonging to class E are reserved for experimental and research
purposes. IP addresses of class E ranges from 240.0.0.0 – 255.255.255.254.
This class doesn’t have any sub-net mask. The higher order bits of first octet of
class E are always set to 1111.
11] Describe the features of IPv6?
Ans: To find the subnet mask, broadcast address, and the range of IP addresses
for the given IP address 172.16.10.22 with a subnet mask of 255.255.255.240
(also expressed as a /28 subnet), follow these steps:
1. Subnet Mask:
11111111.11111111.11111111.11110000
2. Broadcast Address:
To calculate the broadcast address, set all host bits in the subnet to 1:
Now, perform a bitwise OR operation between the subnet mask and the IP
address to find the broadcast address:
IP Address: 10101100.00010000.00001010.00010110
----------------------------------------------------
172.16.10.31
3. Range of IP Addresses:
To find the range of IP addresses within this subnet, you'll start from the
network address (which is the first address in the subnet) and end at the
broadcast address (which is the last address in the subnet). In this case:
- 172.16.10.17 … 172.16.10.30
Ans:
22] With neat diagram explain network addressing translation?
Ans:
The IP header can have a variable-length field called the "Options" field. It
follows the standard 20-byte fixed-length header if present. The Options field is
typically used to carry one or more IP options. The structure of the Options
field is as follows: