SCIENTIFIC-LINUX-USERS Archives

July 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Maidment <[log in to unmask]>
Reply To:
Bill Maidment <[log in to unmask]>
Date:
Mon, 28 Jul 2014 17:55:09 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
 
That should be:

       hardware ethernet 08:00:2b:4c:a3:82;

 
-----Original message-----
> From:Patrick Mahan <[log in to unmask]>
> Sent: Monday 28th July 2014 15:00
> To: Mahmood Naderan <[log in to unmask]>
> Cc: [log in to unmask]
> Subject: Re: TFTP boot
> 
> 
> 
> On Jul 27, 2014, at 1:01 PM, Mahmood Naderan <[log in to unmask] <mailto:[log in to unmask]>> 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
> 
> 

ATOM RSS1 RSS2