> On Jul 27, 2014, at 1:01 PM, Mahmood Naderan <[email protected]> wrote:
> 
> Hello,
> I want to setup a diskless node and it should boot from a server. The guide 
> in http://wiki.centos.org/HowTos/PXE/PXE_Setup explains DHCP setup. However I 
> want to assign static IP to the node. As a result, I have to add the node's 
> MAC address somewhere in the server's configuration file.
> 
> Where should I do that?
>  
>  

Try googling "static dhcp lease linux".

For example on a RH/CentOS/Fedora platform acting as your DHCP server, in 
/etc/dhcpd.conf:

#
# assign a static lease to our printer
#
host lj4100 {
        hardware 08:00:2b:4c:a3:82;
        fixed-address 192.168.1.125;
}

Patrick


Coming to you from deep inside Fortress Mahan

Reply via email to