1834156 Members
2879 Online
110064 Solutions
New Discussion

Re: Traceroute Problem

 
Nicky_5
Regular Advisor

Traceroute Problem

Hi,

I have an HP machine (hp 11.11) and a linux machine, both are in the same network with no firewall in between.
When i do traceroute Linux from the HP box it keeps timing out but the other way around (linux to hp) works fine.

I tried traceroute form HP box to another machine in same network (and subnet) and it works fine, its just this linux box that it keeps timing out..

Please advice...

8 REPLIES 8
RAC_1
Honored Contributor

Re: Traceroute Problem

iptables on linux??
traceroute -d "linux"

Anil
There is no substitute to HARDWORK
Nicky_5
Regular Advisor

Re: Traceroute Problem

hi,
traceroute -d linux also gives the same output:

traceroute -d persephone
traceroute to persephone.sbsint.com (12.20.194.27), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *


RAC_1
Honored Contributor

Re: Traceroute Problem

How many nics on linux box??
Can you try another nic?? Also did you check if iptables in in play or not?? If yes, disable it for tests and do it. Also is there a firewall in between??

Anil
There is no substitute to HARDWORK
Nicky_5
Regular Advisor

Re: Traceroute Problem

hi,

there are 2 NIC's i tried both, with same result.

iptables is not enabled on the linux machine.

i can traceroute from other machines to this linux box and also i can traceroute to other machines form HP.

Please advice
RAC_1
Honored Contributor

Re: Traceroute Problem

How many nics on hp-ux??
traceroute - check options -i, -s

traceroute -v also. Is firewall in between?? Does linklookup work??

Anil
There is no substitute to HARDWORK
Nicky_5
Regular Advisor

Re: Traceroute Problem

hi,

there is only one nic on the hp machines, i have tried the -d,w, v etc options with trace route but there is no difference in the output.
The strange part is that the hp machine and linux box can talk to each other.
When i do a ping on either of the 2 machines i get a response.

I dont understand this coz, both ping and traceroute sends ICMP packets, so why is one working and the other not??
Ron Kinner
Honored Contributor

Re: Traceroute Problem

Traceroute has been broken on HPUX since about 11.0. The current version ignores the route table and just grabs the first NIC (usually the builtin lan0). You can make it work by telling it which interface to use with the -i option. (assuming you can figure out how to specify the interface - expect it will use the same nomencalture as in netstat -rn) A better method is to use ping -o.

Ron
Nicky_5
Regular Advisor

Re: Traceroute Problem

hi,

Thankyou for your reply.

I tried using traceroute -i lan0 but that did not work either.
The funny part is that if traceroute was broken of somehting it should not work for other machines either, but it does, when i do a traceroute to any other machine it goes throught perfectly..

is this something to do with linux machines?