Subject: Re: Testing presence of a device by MAC when configuring an
To: Chapman Flack <>
From: dieter roelants <>
List: tech-net
Date: 06/28/2006 10:47:32
On 06/28/06 02:53:53, Chapman Flack wrote:
> Hi,
> Is there some scriptable method, using binaries present in the base =20
> system,
> to check for the presence of some known other device by its MAC =20
> address
> on an ethernet before assigning an IP address to the local interface?
> I would like to automate the following check on detecting an =20
> interface:
>  IF   device-at-known-MAC-address is visible through interface
>  THEN this must be home, set my normal fixed IP on the interface.

Provided both machines are IPv6 enabled, you could ping6 the other =20
machine's link-local address.

Kind regards

> Thanks,
> -Chap
> (please cc: me on reply)