ACN - Unit 1 (PIP)
ACN - Unit 1 (PIP)
2 2 For the IPV4 addresses given below, calculate subnet mask, broadcast address and number of hosts COI505.1
possible.
(i) 10.0.199.237/22 (ii) 192.168.14.87/26
Marking Scheme Each Numerical 2 mark each (4M)
Answer
3 2 For the IP address given below : (i) 132.34.45.133 (ii) 14.142.20.20 (iii) 191.0.200.45 (iv) 129.16.123.85 COI505.1
(A) Identify the classes to which
(B) the following IP numbers belong to? (C) Identify the network address section. (D)
Identify host address section. _________
Marking Scheme (4M)
Answer
header
identification available
6 2 Explain VPN
COI505.1
Marking Scheme 2 marks
Answer
VPN stands for the virtual private network. A virtual private network (VPN) is a technology that creates a safe
and encrypted connection over a less secure network, such as the internet. A Virtual Private Network is a way
to extend a private network using a public network such as the internet. The name only suggests that it is a
Virtual “private network” i.e. user can be part of a local network sitting at a remote location. It makes use of
tunneling protocols to establish a secure connection
Header Format:
An ICMP message has an 8-byte header and a variable-size data section. Although the
general format of the header is different for each message type, the first 4 bytes are
common to all. As Figure shows,
● The first field, ICMP type, defines the type of the message.
● The code field specifies the reason for the particular message type.
● The last common field is the checksum field for checking errors
● The rest of the header is specific for each message type.
● The data section in error messages carries information for finding the original packet
that had the error. In query messages, the data section carries extra information based
on the type of the query.
Answer
9 Explain the IPV4 header format? CO505.1
● Version: The first 4-bit header field informs about the current IP version in use, which, in this
case, is IPv4
● Internet Header Length (IHL): The IHL has four bits that specify the number of 32-bit words in the
header – the minimum header length is 20 data bytes and the minimum value of this field is five
● Service Type: This field provides the queuing of the IP packets in their transmission
● Total Length: This is the total size of the header and data in bytes, where the minimum size of the
Total Lenght field is 20 bytes and the maximum size is 65,535 bytes
● Identification: If the IP datagram is fragmented (broken into smaller pieces), the ID field helps
identify fragments and determine to which IP packet they belong to
● IP Flags: This is a 3-bit field that uses a few possible configuration combinations of control flags for
fragmentation:
● Bit 0 is reserved and always set to 0
● Bit 1 represents the Don’t Fragment (DF) flag, which indicates that this packet should not be
fragmented
● Bit 2 represents the More Fragments (MF) flag, which is set on all fragmented packets except the
last one
● Fragmentation Offset (Fragment Offset): The Fragment Offset field takes up 13 bits, and it
performs packet tracing by representing the data bytes ahead; i.e., it determines where in the
original packet theparticular fragment belongs
● Time to Live (TTL): TTL limits the datagram’s lifetime to prevent packets from an endless loop in
the internet system by causing undeliverable datagrams to be discarded automatically
● Protocol: This 8-bit field defines which protocol is used in the data portion of the packet
● Header Checksum: If there are any communication errors in the header, the Header Checksum
field detects them
● Source IP Address: The 32-bit IPv4 address of the sender of the packet
● Destination IP Address: The 32-bit IPv4 address of the receiver of the packet
Options: This optional feature is used when the value in the Internet Header Length is greater than
five, hence the header length field increases (it may contain TimeStamp, Record Route or another
optional field