Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm setting a new cluster (all FC4) with the head-node handing out IP's dynamically to all 5 nodes when they boot up. Works great...
I need to be able to SSH into any node by it's HOSTNAME. Since each node has a different IP each time it boots, I first have to find it's IP then SSH into it Via IP.
What's an easy way to "Connect" the computer's hostname to it's IP regardless of what it is for that session so I can just PING or SSH into the node like this:
ssh node1.myshop.com
(I have the head-node in a Domain. eg.
schroedinger.myshop.com - schroedinger is the HOSTNAME of the head-node... )
I'm running the leases, the DHCP server is the head-node. I configured DHCP from the examples I found on the net and used the default lease settings for now. I control everything. I can hard-code whatever I need because this system will never be connected to a network or the Internet. It's a cluster running scientific mod/sim applications.
I'll look into your recomendation. If anyone has a down-and-dirty way to get this done, just tell me what files I have to modify on the head-node and/or each node ;-)
While I have not used this software myself yet, from what I have gathered about it in the past, it combines a small DHCP server and DNS server into one program, which will allow you to revolve DHCP client's hostnames though DNS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.