Change MAC address of LAN card in rc.conf. How?

Volodymyr Kostyrko arcade at
Sun Feb 27 18:42:36 GMT 2005

Rob wrote:
> I'm running 5.3 STABLE.
> I need to change the MAC address of my PC.
> I know it can be done like this:
>    ifconfig rl0 ether 11:22:33:44:55:66
> So I guessed I could make life a little easier by
> adding this in my /etc/rc.conf file as:
> ifconfig_rl0="inet netmask
> ether 11:22:33:44:55:66"
> However, this does not seem to work. No IP address
> is assigned to the LAN card after bootup.
> Apparently something is wrong here.
> Any idea how I can do this at bootup?

   ifconfig_rl0_alias0="ether 11:22:33:44:55:66"

[WBR], Arcade. [SAT Astronomy/Think to survive!]

More information about the freebsd-questions mailing list