Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UNIX IP address info.

0 views
Skip to first unread message

sybas...@hotmail.com

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to
Hi,

I have two HP-UX servers. I want to ping from box A to box B and be
able to see, from box B, what IP address box A is pinging from. So if
IP address of box A is 100.10.10.10 and it pings box B I want to be
able to see, from box B, that box A with the IP adress 100.10.10.10 is
trying to ping.

Is there any command that can do this? Thanks for your help.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Kevin Miles

unread,
Jun 3, 1999, 3:00:00 AM6/3/99
to

With solaris you can run snoop, this checks what is being
sent across that particular interface.

Do a man on snoop - not sure if snoop is on hp-ux.

Kevin Miles
kdm...@lucent.com

brian_...@my-deja.com

unread,
Jun 3, 1999, 3:00:00 AM6/3/99
to
In article <7j3u7r$qms$1...@nnrp1.deja.com>,

sybas...@hotmail.com wrote:
> Hi,
>
> I have two HP-UX servers. I want to ping from box A to box B and be
> able to see, from box B, what IP address box A is pinging from. So if
> IP address of box A is 100.10.10.10 and it pings box B I want to be
> able to see, from box B, that box A with the IP adress 100.10.10.10 is
> trying to ping.
>
> Is there any command that can do this? Thanks for your help.
>
Does it have to be a ping packet? 'Cause if it doesn't, and you want "A"
to see the info, then you could set up a telnet port that just replies
with the incoming address and terminates.

Heck, you could even telnet in and ask "who am i", though that might
give you a hostname, not an IP. There's always netstat -an, too.

What precisely are you trying to accomplish?

Jim Trocki

unread,
Jun 3, 1999, 3:00:00 AM6/3/99
to
>sybas...@hotmail.com wrote:
>>
>> Hi,
>>
>> I have two HP-UX servers. I want to ping from box A to box B and be
>> able to see, from box B, what IP address box A is pinging from. So if
>> IP address of box A is 100.10.10.10 and it pings box B I want to be
>> able to see, from box B, that box A with the IP adress 100.10.10.10 is
>> trying to ping.
>>
>> Is there any command that can do this? Thanks for your help.

Get libpcap && tcpdump from ftp.ee.lbl.gov. It will do what you want.


Jim Trocki <tro...@transmeta.com>
Computer System and Network Engineer
Transmeta Corporation
Santa Clara, CA

robert.blatt

unread,
Jun 4, 1999, 3:00:00 AM6/4/99
to
Look at the nettl man page this will allow you to network trace on a hp
box
To trace
nettl -st
nettl -tn pduin pduout -e all -f <tracefile>
nettl -sp

To format the trace
netfmt -Nlf <tracefile> > <formatted trace file>

Robert
sybas...@hotmail.com wrote:

> Hi,
>
> I have two HP-UX servers. I want to ping from box A to box B and be
> able to see, from box B, what IP address box A is pinging from. So if
> IP address of box A is 100.10.10.10 and it pings box B I want to be
> able to see, from box B, that box A with the IP adress 100.10.10.10 is
> trying to ping.
>
> Is there any command that can do this? Thanks for your help.
>

0 new messages