set of ethernet adress on boot
Dan Nelson
dnelson at allantgroup.com
Sat Jun 7 11:31:11 PDT 2003
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 at allantgroup.com
More information about the freebsd-questions
mailing list