2,278 views
0 votes
0 votes

Select the correct statement about TTL (Time to Live) field in IP:


I.  TTL value can never be increased while the packet is going from source machine to destination machine.

II. Whenever TTL value is decreased at each intermediate node, its value is alwyas decrmeented by 1 , not more than that.


a. I only

b. II only

c. Both I and II

d. Neither I nor II

3 Answers

3 votes
3 votes

I.  TTL value can never be increased while the packet is going from source machine to destination machine. False since TTL value set by source = 1 ans send in network to found route . max limit also known so loop not formed.

II. Whenever TTL value is decreased at each intermediate node, its value is always decrmented by 1 , not more than that. True. 

TTL Value is equal to number of hops since when we go from 1 hop we decrease 1 only .

http://www.cisco.com/c/en/us/support/docs/ip/ip-routed-protocols/22826-traceroute.html

edited by
1 votes
1 votes
Statement1: TRUE bcoz TTL will never be incremented. it will either decrease or remain same when it pass through a node
statement2:TRUE  bcoz when TTL is decremented it gets decremented by only 1 not more than that.
so i think it is option C
edited by
0 votes
0 votes

Amswer is C (Both statements are true)

You can verify this with your home router also.

setup:

Take n routers and connect them Lan.

Now ping one router from another router(in between say there is n-2 routers) , you will get TTl as XYX , and now move closer and now ping from another router(in between n-3 routers) , you will find the TTL is decresed by 1 , i.e (XYZ-1)

You can ping router by attaching to laptop and in command prompt type Ping followed by Ip address.

Related questions

1 votes
1 votes
1 answer
1
sh!va asked Nov 16, 2016
1,003 views
I. Cache memory can be placed in between main memory and secondary storageII. Cache memory can be used as secondary storage also.Select correct statementsA. I only B. II ...
0 votes
0 votes
1 answer
2
sh!va asked Jan 26, 2017
740 views
CIDR (Classless Inter Domain Routing)–1. It is used in class C Networks2. It is used in class B Networks3. It is used in class A Networks4. All of the above
0 votes
0 votes
2 answers
3
sh!va asked Feb 7, 2017
4,093 views
I. A heap is always nearly complete tree.II. Worst case complexity of heapify operation is O( log n)III. Worst case complexity of build heap operation is O( n log n)a. I ...
0 votes
0 votes
1 answer
4
Hardik Vagadia asked Jul 26, 2015
637 views
the number of bit strings of length 8 that will either start with 1 or end with 00 is?a) 32              b) 128              c) 160       ...