> Is there a way if given an IP address to get the MAC address. The problem I
> am having is that there are two nic's that are using the same IP address on
> my network, but the error message my FBSD box gives me is only the MAC
> address for the offending card. I belive that the offending card does have
> another ligit IP address. I do have a map of all IP that respond on my
> network, but do not have a way of knowing which IP goes with which MAC address.

display all entries in current arp cache:

% arp -a

get the MAC for a specific IP:

% arp IP

from % man arp:

DESCRIPTION
     The arp program displays and modifies the Internet-to-Ethernet address
     translation tables used by the address resolution protocol (arp(4)).
     With no flags, the program displays the current ARP entry for hostname.
     The host may be specified by name or by number, using Internet dot nota-
     tion.

--
        :// randall s. ehren         :// voice 805.893.5632
        :// systems administrator    :// isber|survey|avss.ucsb.edu
        :// institute for social, behavioral, and economic research


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to