Re: Urgent!- How to find Hardware addr. of machine(IP Masquerading)

Glynn Clements (glynn@sensei.co.uk)
Sun, 27 Sep 1998 19:51:21 +0100 (BST)


fd95007@[202.54.26.116] wrote:

> I need to know the Hardware addr. of a machine A, which is having a
> connection to my machine, because of IP-masquerading at machine B, which
> is directly connected to my machine.

Do you mean:

A ------ B ------ Your Box

If so, then you can't find out A's hardware address, nor do you need
to. The hardware address can only be discovered by (and is only
required by) a host which is on the same physical segment.

> Because when i ping to that machine and then checks my /proc/net/arp
> it contains hardware address of Machine B only.

Yep. If your box uses B as the gateway to A, then it only needs to
know B's hardware address.

-- 
Glynn Clements <glynn@sensei.co.uk>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu