rosy Jovita wrote:hi Dittmer,
I've tried that but it gave me exception error.
Exception in thread "main" java.lang.NoClassDefFoundError: Traceroute/java
any idea?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
it gave me exception error.
rosy Jovita wrote:I have tried to run this program again using this : java Traceroute 0 10.87.224.78
Still,it gave me exception error.
please someone help me with this..
I have tried many times but it doesn't work.
rosy Jovita wrote:Hi tim and ulf,
I've fixed the problem, i didn't include the jpcap.dll in the jre library.
But now i'm having problem with getting the MAC address of the default gateway.
run the code and got this output:
C:\Documents and Settings\ros\Desktop>java Traceroute 0 216.239.61.104
devices: 3
cannot obtain MAC address of default gateway.
Anything else i missed out?
Thanks for help:D
rosy Jovita wrote:Tim,
will you mind to post the sample output that you get?
Thanks.
here is the result at work, including the listing of devices (this router is not reporting on what happens beyond and so my traceroute only shows the steps from my PC to the router).
I'll post what I get from my home network later if you'd like
rosy Jovita wrote:Hi all,
anybody can tell me what's the function of these two?
icmp.seq=100;
icmp.id=0;
i have no idea on how does it works, sorry..i'm still new to java networking.
thanks for help.
rosy Jovita wrote:i got 11 and 3
but what is that for?
rosy Jovita wrote:ulf,
thanks for that, have just realize of that. 11 is the Time exceed and 3 is icmp unreach port.
now i understand what is really going on.
The packet does not reach the destination.
Are you having the same problem too Tim?
rosy Jovita wrote:Hi Tim,
I've tried again on my friend's computer.
He's the admin of that pc but still i got arrayIndexOutOfBoundException.
Do you have any idea what is going on?