Robert Harris <(E-Mail Removed)> writes:
>c186282 wrote:
>> I have a network at home behind an IPcop firewall. Most of my
>> computers have static IP's. However I would like to move to dhcp. I
Why would you want to do that? It seems silly, not just for the reasons you
your self demonstrate below.
>> have set up my IPCop firewall to run a dhcp. I also have just
>> installed Ubuto Linux on one of my computers. The computer's name is
>> NE. I have this computer access the IPCop's dhcp to get it's IP
>> address. This works fine. But the host name of the computer NE does
>> not show up in IPCop. Also I can not ping this computer from my other
>> computers by just giving the host name. Ping does work if I use the
>> IP address of NE.
You need a DNS server-- is IPcop also a dns server? Or did you simply put
the names into /etc/hosts?
Ie, there needs to be some machine or the /etc/hosts file which translates
names to IP addresses.
>>
>> The question:
>> How do I use dhcp on my local network and still connect to the other
>> computers by just using the host names?
>>
>> What am I missing? What man pages do I need to read?
>>
>> Thank you for your time
>>
>You need to edit your file:
>/etc/dhcp3/dhclient.conf
>so that it contains the line:
>send host-name "NE";
>Then your firewall will know your computer by name.
Your firewall may, but is it acting as a DNS server as well? That is not
usually the role of firewalls.
>Robert
|