changing network card MAC address

M. L. Dodson bdodson at scms.utmb.edu
Mon Jun 13 02:39:18 GMT 2005


On Sunday 12 June 2005 17:32, Christopher Black wrote:
> Check out /etc/dhclient.conf.  The options are described in 'man 5
> dhclient.conf'
>
> On Sun, 2005-06-12 at 17:26 -0500, M. L. Dodson wrote:
> > Just set up a new box (5.4-RELEASE) as a home gateway and had to
> > change the network card MAC address that does DHCP through the
> > cable modem.  I put the following in /etc/rc.early, but this seems
> > inelegant and possibly deprecated.  What is the proper way to do
> > this on a DHCP interface?
> >
> > ifconfig rl1 ether 'aa:bb:cc:dd:ee:ff'
> >
> > Thanks

Renaming /etc/rc.early to /etc/dhclient-enter-hooks works (as
I am sure renaming it to /etc/start_if.rl1 would have done).  Thanks
for the responses!

-- 
M. L. Dodson                                bdodson at scms.utmb.edu
409-772-2178                                FAX: 409-772-1790



More information about the freebsd-questions mailing list