On Sun, 16 Dec 2001, Gordon Messmer wrote:

> On Sun, 16 Dec 2001, BobH wrote:
>
> >   I am thinking of setting up a dhcpd server [for the heck of it and to
> > gain some experience]  on my home network.  I am just starting to read the
> > docs, but the question I have not seen answered is how I can address to a
> > certain machine on the network via telenet etc. if its' ip address changes
> > each time it boots up.
>
> You can assign static addresses to machines with a section like this:
>         host stampede {
>                 hardware ethernet 00:05:5A:30:74:EC;
>                 fixed-address 192.168.2.3;
>         }
> Place it in your "subnet" section.
>
> >  I can't beleive that I would have to run my own DNS
> > server and for a small network this would be tremendous overkill.

No you don't need to run a DNS server. Just so it's clear, for the example
above, you would put stampede in your hosts file and dhcp will use the IP
address defined there. You can make the same host file entries on any
other machines that want to talk to that machine by name. BTW, you can
also add a line to the host block to tell the DHCP client it's hostname as
well.

hth
charles



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

Reply via email to