LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2014, 03:20 AM   #1
davistai
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
TTL value changed unpredictable


Dear All,

In VMware ESXi5.1 environment: :
CentOS 6.3 named 'host1', running with apache-tomcat-7.0.32.
And, there's 2nd ethernet interface assigned private subnet(ex. 172.x.x.x) named host2.

Normally, users can connect to http://host1:8011/Web from browser IE or Chrome,
and the ping status like:
64 bytes from host1: icmp_seq=1 ttl=64
64 bytes from host1: icmp_seq=2 ttl=64

But, when users report they failed to connect to http://host1:8011/Web, found the ping status:
64 bytes from host1: icmp_seq=1 ttl=30
64 bytes from host1: icmp_seq=2 ttl=30

After few minutes, the ping status will be back to 'ttl=64', then users can connect successfully again.

I can't figure out what's wrong with that. Since, the conidtion will be happened several times unexpectedly during the day.

But, if users connected to host2 via VPN, they said never failed to connect to http://host2:8011/Web

Should any comments or suggests will be much appreciated.

Thanks,Davis

Last edited by davistai; 02-13-2014 at 08:16 PM.
 
Old 02-13-2014, 08:22 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
The TTL value reported by ping is the value in the TTL field of the received ICMP Echo Reply packets.

These values are determined by two factors:
  1. The TTL value set by the operating system generating these packets
  2. The number of intermediate routers (each router decrements the TTL value by one)
A sudden change in the TTL value when pinging the same host indicates that packets are being routed differently. You should perform a traceroute (ideally from both sides) to determine the path the packets have to travel under these two different circumstances.
 
1 members found this post helpful.
Old 02-13-2014, 09:05 PM   #3
davistai
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks. I've been tried 'tracert host1' from my own laptop only, and since we are in the same subnet, so, the result response quickly and showed up the host1 is reached successfully . Maybe the 'wrong' packet condition remained a short period when it happened.
But, I don't understand 'traceroute (ideally from both sides)'? which are the sides?
 
Old 02-13-2014, 09:16 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
One side is the computer connecting to (or trying to connect to) "host1", the other is "host1".

From the client, perform a traceroute when the connection is working and save the results. From the server, do a traceroute to the client's IP address (or the nearest routable address if NAT is involved) and save that result as well.

If/when the problem reappears, repeat the procedure and compare the results. They will be different.
 
1 members found this post helpful.
Old 02-14-2014, 12:52 AM   #5
davistai
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks a lot.

At the beginning, I choosed a client running Windows7, however, when run 'traceroute -d Windows7' at 'host1', unable to reach after 30 hops until stopped the Windows7 firewall. I've no idea how to make Windows7 firewall to pass the 'traceroute' from 'host1'.

So, I choosed another CentOS machine(host3), better.
Currently, observed that the response by running 'traceroute' to any IP at 'host1' is a little lag than 'host3'.

Will keep watch on the result when the issue happened.
Thanks again.

Last edited by davistai; 02-14-2014 at 12:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows - unpredictable behaviour velvetbulldozer Linux - Server 1 02-20-2012 04:49 PM
Unpredictable and Arbitrary Crashes doctormt Linux - Newbie 3 07-13-2011 12:43 PM
LXer: Unpredictable... LXer Syndicated Linux News 0 10-22-2007 04:41 AM
Unpredictable error :( cosmosedat Linux - Software 6 07-30-2006 06:55 AM
persistent (but unpredictable!) cups problem darksmiley Linux - Hardware 7 06-17-2005 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration