next up previous contents
Next: Configuring the power and Up: Manually setting a hostname Previous: Manually setting a hostname   Contents


MAC_ADDR syntax

MAC_ADDR $<$hostname$>$ $<$mac_address$>$
This directive can be used for nodes that do not retrieve their hostname from DHCP in an initrd. If a node boots without a hostname set, the MAC address of every network interface is scanned. If the MAC address of any interface matches the mac_address of a directive, the node's hostname is set from the directive's corresponding hostname parameter.

For this directive to work, any referenced network interface's drivers must have already been loaded. This means the drivers need to be directly compiled into the kernel or loaded from an initrd.


root 2005-06-19