Thanks. It seems that DNSmsq is better than DHCP configuration. Regards, Mahmood
On Monday, July 28, 2014 12:25 PM, Bill Maidment <[email protected]> wrote: That should be: hardware ethernet 08:00:2b:4c:a3:82; -----Original message----- > From:Patrick Mahan <[email protected]> > Sent: Monday 28th July 2014 15:00 > To: Mahmood Naderan <[email protected]> > Cc: [email protected] > Subject: Re: TFTP boot > > > > On Jul 27, 2014, at 1:01 PM, Mahmood Naderan <[email protected] > <mailto:[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 > <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 > >
