IPv4 questions

Q25

GATE CS 2014 CS-2IPv4NAT1 mark
In the diagram shown below, L1 is an Ethernet LAN and L2 is a Token-Ring LAN. An IP packet originates from sender S and traverses to R, as shown. The links within each ISP and across the two ISPs, are all point-to-point optical links. The initial value of the TTL field is 32. The maximum possible value of the TTL field when R receives the datagram is ____________.
Question figure
Show answer without attempting

Answer: 26

Q25

GATE CS 2014 CS-3IPv4MCQ1 mark−1/3 if wrong
Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

(i) TTL (ii) Checksum (iii) Fragment Offset
Show answer without attempting

Answer: D

Q26

GATE CS 2014 CS-3IPv4NAT2 marks
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address 131.23.151.76. The router’s routing table has the following entries:
PrefixOutput Interface Identifier
131.16.0.0/123
131.28.0.0/145
131.19.0.0/162
131.22.0.0/151
The identifier of the output interface on which this packet will be forwarded is ______.
Show answer without attempting

Answer: 1

Q27

GATE CS 2014 CS-3IPv4NAT2 marks
Every host in an IPv4 network has a 1-second resolution real-time clock with battery backup. Each host needs to generate up to 1000 unique identifiers per second. Assume that each host has a globally unique IPv4 address. Design a 50-bit globally unique ID for this purpose. After what period (in seconds) will the identifiers generated by a host wrap around?
Show answer without attempting

Answer: 256

Q28

GATE CS 2014 CS-3IPv4MCQ2 marks−2/3 if wrong
An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are
Show answer without attempting

Answer: A

0/50 correct0 marks

Related topics in Computer Networks