Jim, it wouldn't surprise me if there was a better way, but here is what I
do.

Pick IP address you want your machines to have and put entries for them in
/etc/hosts. Then in your dhcpd.con put blocks liek this

  host piglet {
    hardware ethernet 00:e0:98:03:9d:7b;
    fixed-address piglet.yourdom.com;
    option host-name "piglet";
  }


when they ask for an ip, dhcp will look in /etc/hosts and assign them that
ip.

hth
charles
On Fri, 27 Oct 2000, James C. Bevier wrote:

> Hi all,
> 
> Having had such a good response from the list about "dhcpcd vs pump"
> question, here is another one.  I have installed dhcp to serve several
> local computers on the 192.168.1.0 network.  I can assign ip numbers
> to the requesting systems, but I don't know how to tell named what
> system has what IP.  All systems are in my local domain and I need to
> ftp, ping, etc from one system to another.  Do I scan the
> /var/state.dhcp.leases file and add names to the host file so I
> can find them?  Or can I change named on the fly to reload the zone
> information for my domain so systems can be found.  How does all
> this work.  If I assign dedicated addresses to the systems, all
> works fine, but if I dynamically assign them, nothing works.  I know
> I am missing something here.  BTW, it is RH6.2 with all the updates.
> 
> Jim Bevier



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to