Computer Networks » Ipv4 Ipv6 Comparison
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?

A. Flags
B. Offset
C. Tos
D. Identifier

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?

A. 11
B. 5
C. 10
D. 1

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.

Which field helps to check rearrangement of the fragments?

A. Offset
B. Flag
C. Ttl
D. Identifier

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).

If the value in protocol field is 17, the transport layer protocol used is _________

A. Tcp
B. Udp
C. Icmp
D. Igmp

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.

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.

A. Broadcast
B. Multicast
C. Any cast
D. Unicast

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.