» »

Kako z ukazom ping dobiti # of hops?

Kako z ukazom ping dobiti # of hops?

c0dehunter ::

Tole je preprosto z traceroute, z ping pa nimam pojma kako bi to izvedel? P.s., gre za Linux.

S pomočjo ukaza ping ugotovite:
a) Koliko skokov je potrebno, da dosežemo gostitelja www.google.com.
I do not agree with what you have to say,
but I'll defend to the death your right to say it.

mastah ::

za linux nevem, za windows pa das -r se men zdi

pecorin ::

tako, da povecujes ttl dokler ga ne dosezes in ti vrne reply.

ping -t x www.google.com
x = ttl

imagodei ::

Zakaj pa bi sploh ping uporabljal v ta namen, če smem vprašat?

Kot bi lopato uporabljal za zabijanje žebljev. Sicer gre, ampak obstajajo boljša orodja (ki jih že tudi sam omenjaš). :)
- Hoc est qui sumus -

c0dehunter ::

pecorin, bom poskusil.
imagodei, ne vem, predvidevam da zato, da spoznamo ?fleksibilnost? programa ping.
I do not agree with what you have to say,
but I'll defend to the death your right to say it.

imagodei ::

"Spoznate"?
- Hoc est qui sumus -

c0dehunter ::

Ja, omenjen primer je iz vaj pri Sistemski administraciji.
I do not agree with what you have to say,
but I'll defend to the death your right to say it.

Monster ::

tracert
Ka zaboga...

StratOS ::

ping -r #hops www.google.com

Primer za 5 hopsov (Windows)

ping -r 5 www.google.com


Linux :

ping -s [-d] [-l] [-L] [-n] [-r] [-R] [-v] [ -i interface_address ] [-I interval] [-t ttl] host [packetsize] [count]


-t ttl Specify the IP time to live for unicast and multicast packets. The default time to live for unicast packets is set with ndd (using the icmp_def_ttl variable). The default time to live for multicast is one hop.

Lp
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"The one who is digging the hole for the other to fall in is allready in it."

imagodei ::

@c0dehunter,

kaj to delaš? Fax?
- Hoc est qui sumus -

c0dehunter ::

Fax, ja :) Pri tem predmetu so vaje precej čudne, ker je vedno zraven kaka naloga tipa zabijanje žeblja z lopato :))
I do not agree with what you have to say,
but I'll defend to the death your right to say it.

bMozart ::

Fax, ja Pri tem predmetu so vaje precej čudne, ker je vedno zraven kaka naloga tipa zabijanje žeblja z lopato :))

+1 ;((
I NEED The Point of View Gun effectible on girls too! And then...


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

Težave z Amisovim modemom

Oddelek: Pomoč in nasveti
245341 (4923) 111111111111
»

Visok ping ob določeni uri? (Amis)

Oddelek: Pomoč in nasveti
61403 (1248) čuhalev
»

Najboljši routi na optiki

Oddelek: Omrežja in internet
122450 (2009) Bakunin
»

IPv6 najbolj razširjen v Švici, Slovenija ni slaba

Oddelek: Novice / Omrežja / internet
3112223 (9453) Bakunin
»

Volja ADSL in Windows XP - problem

Oddelek: Omrežja in internet
91998 (1732) janez5

Več podobnih tem