RE: TFTP boot
That should be: hardware ethernet 08:00:2b:4c:a3:82; -Original message- From:Patrick Mahan ma...@mahan.org Sent: Monday 28th July 2014 15:00 To: Mahmood Naderan nt_mahm...@yahoo.com Cc: scientific-linux-users@fnal.gov Subject: Re: TFTP boot On Jul 27, 2014, at 1:01 PM, Mahmood Naderan nt_mahm...@yahoo.com mailto:nt_mahm...@yahoo.com 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
Re: TFTP boot
Thanks. It seems that DNSmsq is better than DHCP configuration. Regards, Mahmood On Monday, July 28, 2014 12:25 PM, Bill Maidment b...@maidment.com.au wrote: That should be: hardware ethernet 08:00:2b:4c:a3:82; -Original message- From:Patrick Mahan ma...@mahan.org Sent: Monday 28th July 2014 15:00 To: Mahmood Naderan nt_mahm...@yahoo.com Cc: scientific-linux-users@fnal.gov Subject: Re: TFTP boot On Jul 27, 2014, at 1:01 PM, Mahmood Naderan nt_mahm...@yahoo.com mailto:nt_mahm...@yahoo.com 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
Re: TFTP boot
On Sun, Jul 27, 2014 at 01:01:30PM -0700, Mahmood Naderan 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? Please look at the documentation here - provided are the snippets for dhcpd.conf, pxelinux config files, etc: http://www.triumf.info/wiki/DAQwiki/index.php/VME-CPU#Network_boot -- Konstantin Olchanski Data Acquisition Systems: The Bytes Must Flow! Email: olchansk-at-triumf-dot-ca Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Re: TFTP boot
On Jul 27, 2014, at 1:01 PM, Mahmood Naderan nt_mahm...@yahoo.com 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