-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. Short answer: That's why dynamic addressing generally doesn't make sense for machines that are resource servers. DHCP is best for client machines that are just that -- clients -- and don't need to be reached by anyone. That said, there are legitimate reasons to occasionally need to connect to a dynamic client, such as maintenance, software updates, and so on. There are lots ways around the problem. Organizations that maintain large fleets of workstations usually have scripts that map addresses to hostnames based on the database of DHCP leases, and may post that information to an internal web page, for instance. I personally do this with a script that picks apart dhcpd.leases at regular intervals, and creates a database table from its contents. It's then easy to write a script which can deal with the messy querying business for you, and transparently connects you to a particular host. For this to work, you need to give your clients meaningful NetBIOS or DHCP_HOSTNAME values, and then identify them by those names in your scripts. If you only have a few such clients to worry about, you can also have them send email to some predetermined location at specified intervals, which will give you access to the source IP address when necessary. >I can't beleive that I would have to run my own DNS >server and for a small network this would be tremendous overkill. That has nothing to do with the problem at hand. DHCP addresses can, should, and frequently even do, resolve to registered DNS names. That doesn't help you map a particular address to a particular machine at a particular time. - -d - -- David Talkington http://www.spotnet.org PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.75-6 iQA/AwUBPB1JbL9BpdPKTBGtEQIsyACfZOFsIVwLvzj6SWpUvnyN5fi8F64AoJ43 7YfETiAKMSCXqwhhWPglGZWN =jTlM -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list