set of ethernet adress on boot
Sondre Rønjom
s1465 at lstud.ii.uib.no
Sat Jun 7 11:39:47 PDT 2003
On Saturday 07 June 2003 20:30, Dan Nelson wrote:
> 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
The LAN-Address is stored in EEPROM(ElectronicalErasableProgrammableReadOnlyMemmory) which can be
flashed realatively easy. But mark that this is ordinarily not a nice
thing to do. I think KingPin from L0pht-group wrote a paper on how to do
this some years ago.
Sondre
More information about the freebsd-questions
mailing list