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 have a redhat 5 server on a campus network. I registered the hostname with the DNS.
My problem is the DHCP server is assigning the server a different IP then is assigned to the hostname. If I set the IP statically to that given by the DNS, I can access the machine, but it cannot connect outside of the firewall.
So I have to choose between being able to access the machine via hostname (static IP) or allow it to connect to the internet (DHCP).
Does this sound like a configuration issue in the server, or something that needs to be changed in the DNS/DHCP?
Are you the server administrator? If so, then we can help you to configure the server to allow static IP, but if not, you will have to accept the fact that you have a dinamic IP address!
To avoid this kind of problem you can use a service like DynDNS (http://www.dyndns.com/). You register there and everything, then you install a client in your machine and every time your IP address change, the client will update the hostname for you.
thanks for the help, I got it sorted out now. When I first registered the name in the DNS, it was on a different machine. When I moved everything over to a different machine, I apparently forgot to have them update the hardware address on file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.