Networking Forums

Networking Forums > Computer Networking > Linux Networking > Host name and dhcp question

Reply
Thread Tools Display Modes

Host name and dhcp question

 
 
c186282
Guest
Posts: n/a

 
      03-11-2006, 02:30 PM
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
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.

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

 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      03-11-2006, 05:46 PM
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
> 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.
>
> 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.

Robert
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      03-11-2006, 05:57 PM
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

 
Reply With Quote
 
c186282
Guest
Posts: n/a

 
      03-11-2006, 06:21 PM
On Sat, 11 Mar 2006 18:46:02 +0000, Robert Harris wrote:
Thank you Robert. I can now get to NE by using NE name.


 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      03-11-2006, 08:02 PM
Unruh wrote:
> Robert Harris <(E-Mail Removed)> writes:
>
> [snip]
>
> Your firewall may, but is it acting as a DNS server as well? That is not
> usually the role of firewalls.


Yes, it does. It's a GNU/Linux distribution that sets up PCs as secure
firewalls. See: <http://www.ipcop.org>

Robert
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for software that adds dhcp pcs to a host file Chris F Clark Wireless Internet 7 05-21-2007 06:21 AM
Virtual host question Ron Abramson Linux Networking 5 11-22-2004 01:43 PM
HOST and DHCP Geoff Lane Linux Networking 2 10-02-2003 10:31 PM
HOST and DHCP Geoff Lane Home Networking 2 10-02-2003 10:31 PM
Q: where to find a hint why DHCP isn't registering a certain host with DNS Thomas Jachmann Linux Networking 0 07-25-2003 07:26 PM



1 2 3 4 5 6 7 8 9 10 11