Engineering Questions with Answers - Multiple Choice Questions
MCQs on IPV4 and IPV6 Comparision
Which of the following is not applicable for IP?
a) Error reporting
b) Handle addressing conventions
c) Datagram format
d) Packet handling
Explanation: The Internet Protocol is the networking protocol that establishes the internet by relaying datagram across network boundaries. ICMP is a supporting protocol for IP which handles the Error Reporting functionality.
Which of the following field in IPv4 datagram is not related to fragmentation?
Explanation: TOS-type of service identifies the type of packets. It is not related to fragmentation but is used to request specific treatment such as high throughput, high reliability or low latency for the IP packet depending upon the type of service it belongs to.
The TTL field has value 10. How many routers (max) can process this datagram?
Explanation: TTL stands for Time to Live. This field specifies the life of the IP packet based on the number of hops it makes (Number of routers it goes through). TTL field is decremented by one each time the datagram is processed by a router. When the value is 0, the packet is automatically destroyed.
If the value in protocol field is 17, the transport layer protocol used is _________
Explanation: The protocol field enables the demultiplexing feature so that the IP protocol can be used to carry payloads of more than one protocol type. Its most used values are 17 and 6 for UDP and TCP respectively. ICMP and IGMP are network layer protocols.
Which field helps to check rearrangement of the fragments?
Explanation: The Fragment Offset field specifies where the fragment fits in the original datagram. The offset of the first fragment will always be 0. The size of the field (13 bits) is 3-bits shorter than the size of the total length field (16 bits).
The size of an IP address in IPv6 is _________
Explanation: An IPv6 address is 128 bits long. Therefore, 2128 i.e. 340 undecillion unique addresses are available in IPv6. IPv4 has only 4 billion possible addresses and IPv6 would be a brilliant alternative in case IPv4 runs out of possible new addresses.
The header length of an IPv6 datagram is ___________
Explanation: IPv6 datagram has fixed header length of 40bytes, which results in faster processing of the datagram. There is one fixed header and optional headers which may or may not exist. The fixed header contains the mandatory essential information about the packet while the optional headers contain the optional “not that necessary” information.
In an IPv6 header, the traffic class field is similar to which field in the IPv4 header?
a) Fragmentation field
b) Fast switching
c) TOS field
d) Option field
Explanation: The traffic class field is used to specify the priority of the IP packet which is a similar functionality to the Type of Service field in the IPv4 header. It’s an 8-bit field and its values are not defined in the RFC 2460.
IPv6 does not use ________ type of address.
c) Any cast
Explanation: There is no concept of broadcast address in IPv6. Instead, there is an anycast address in IPv6 which allows sending messages to a group of devices but not all devices in a network. Anycast address is not standardized in IPv4.
Which are the features present in IPv4 but not in IPv6?
b) Header checksum
d) Anycast address
Explanation: There is an anycast address in IPv6 which allows sending messages to a group of devices but not all devices in a network. Anycast address is not standardized in IPv4.