"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

Jim-

AFAIK you are not missing anything.  The tie is not there.  I looked into
this a while back and found a perl script on freshmeat that did exactly
what you describe, scan dchpd.leases and add them to named zonefiles.  I
did not have a box to test it on at the time but it looked like it would
work.

Another alternative is to add the machines to the zone files manually
(This is what I did using linuxconf).  To ensure you don't get out of
whack you should probably  set up dhcp to always give the machines the
same ipaddress.  I did this with my servers but not the few workstations
I have.  As you probably know this is done using the MAC addres of the
network card.

BTW I have not had any trouble getting the same address everytime on all
my machines.


hth

bret



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

Reply via email to