Skip site navigation (1)Skip section navigation (2)
Date:      20 Jul 2001 12:10:39 +0100
From:      Wayne Pascoe <wayne.pascoe@realtime.co.uk>
To:        "usha" <ushaa@in.ceeyes.com>
Cc:        <questions@freebsd.org>
Subject:   Re: NIC address?
Message-ID:  <86ofqfn9e8.fsf@pan.ehsrealtime.com>
In-Reply-To: <3B580E0F.000005.81843@ushaa.in.ceeyes.com>
References:  <3B580E0F.000005.81843@ushaa.in.ceeyes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"usha" <ushaa@in.ceeyes.com> writes:

>  can you tell me the function for finding the address of the NIC
>  cards connected to a system in free BSD.

If you want the IP or MAC address of a device, use
ifconfig devicename (eg ifconfig fxp0)

If you want a list of MAC addresses of machines connected to the
machine that it knows about, use
arp -a

-- 
- Wayne Pascoe 
E-mail: wayne.pascoe@realtime.co.uk
Phone : +44 (0) 20 7544 4668
Mobile: +44 (0) 788 431 1675

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ofqfn9e8.fsf>