IP-Header
Question 1 |
The maximum number of IPv4 router addresses that can be listed in the record route (RR) option field of an IPv4 header is _________.
9 | |
10 | |
11 | |
12 |
Question 1 Explanation:
A record route option is used to record the internet router that handles the datagram. It can be used for debugging and management purpose.
In IPv4 header, 40 bytes are reserved for OPTIONS.
For Record Route to stores, 1 byte is used to store type of option, 1 byte for length and 1 byte for pointer. Out of 40 bytes, 37 bytes are left.
Each IP4 address takes 32 bits or 4 bytes.
Therefore, it can store at most floor (37/4) = 9 router addresses.
Hence correct answer is 9 router address.
In IPv4 header, 40 bytes are reserved for OPTIONS.
For Record Route to stores, 1 byte is used to store type of option, 1 byte for length and 1 byte for pointer. Out of 40 bytes, 37 bytes are left.
Each IP4 address takes 32 bits or 4 bytes.
Therefore, it can store at most floor (37/4) = 9 router addresses.
Hence correct answer is 9 router address.
Question 2 |
Which one of the following fields of an IP header is NOT modified by a typical IP router?
Checksum | |
Source address | |
Time to Live (TTL) | |
Length |
Question 2 Explanation:
Option C (TTL) is decremented by each visited router. When it reaches to Zero, then Packet will be discarded.
Option A (Checksum) needs to be updated by each visited Router since TTL Value is modified.
Option D (Length) also modified whenever there is a need of performing the fragmentation process.
Option B (Source Address) can’t be modified by an IP router. Only NAT can modify it.
Option A (Checksum) needs to be updated by each visited Router since TTL Value is modified.
Option D (Length) also modified whenever there is a need of performing the fragmentation process.
Option B (Source Address) can’t be modified by an IP router. Only NAT can modify it.
Question 3 |
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?
256 | |
257 | |
258 | |
259 |
Question 3 Explanation:
Given that each host has a globally unique IPv4 Address and we have to design 50 bit unique Id. So, 50 bit in the sense (32 + 18). So, It is clearly showing that IP Address (32 bit) followed by 18 bits.
1000 unique Ids ⇒ 1Sec
218 unique Ids ⇒ 218/1000 = 28 = 256
1000 unique Ids ⇒ 1Sec
218 unique Ids ⇒ 218/1000 = 28 = 256
There are 3 questions to complete.
