Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2003 13:30:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Adam Maas <mykroft@explosive.mail.net>
Cc:        mfromwald@gmx.at
Subject:   Re: set of ethernet adress on boot
Message-ID:  <20030607183010.GA25585@dan.emsphone.com>
In-Reply-To: <052301c32d09$3b485ea0$7419cdcd@mykroft.com>
References:  <15347.1054924369@www66.gmx.net> <3EE21EB4.9465.152854A@localhost> <052301c32d09$3b485ea0$7419cdcd@mykroft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 07), Adam Maas said:
> > > +-- Moritz Fromwald [freebsd] [06-06-03 20:32 +0200]:
> > > | Is it possible to set the ethernet adress automatically at boot time
> > > before | dhclient attempts to contact a DHCP? | thx & regards | |
> > > moritz fromwald
> > >  yes. btw, why r u running dhclient if u r using static
> > >  ip?
> >
> > Hello,
> > Well, I need to set the MAC adress before I contact
> > the DHCP!
> > regards
> > moe
>
> You can't set the MAC address, that's hard coded into the card. MAC
> Addresses are unique 48 bit ID's, no 2 cards have the same MAC, and it is
> assigned at the factory.

Lots of NICs do allow you to change the MAC address on the fly:

ifconfig fxp0 ether 01:02:03:04:05:06

-- 
	Dan Nelson
	dnelson@allantgroup.com



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