Koozali.org: home of the SME Server

importing hostnames and IP's into dhcpd.conf

David Trask

importing hostnames and IP's into dhcpd.conf
« on: July 04, 2002, 08:21:37 AM »
I've asked this question before, but I haven't gotten the answer I'm looking for so I figured I'd try again.  I have several machine that need to have static IP addresses.  Entering them using the hostnames panel is too time consuming.  I'd like to know how I could simply import them into dhcpd.conf using the templates or fragments and cutting and pasting from a text file.  Can someone give me specific instructions as to which fragment to edit or whatever....I'm stumped....I know how to do it using PuTTY on a stock RH 7.3 install, but not in E-smith....can someone help me?

Craig Foster

Re: importing hostnames and IP's into dhcpd.conf
« Reply #1 on: July 05, 2002, 04:47:07 AM »
Try hand editing /home/e-smith/hosts like such :-

reception.xxx.xxx=host|ExternalIP||HostType|Local|InternalIP|192.168.1.36|MACAddress|00:20:18:a1:33:85|Visibility|Local
...
...
...

And then run /sbin/e-smith/signal-event console-save

Note that all that differs is the name, ip, and MAC.

Please post your results here for posterity :)

Craig F.