LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2007, 12:38 PM   #1
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Rep: Reputation: 17
DNS and DHCP issue


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?
 
Old 05-31-2007, 01:32 PM   #2
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
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.

[]´s, FMC!
 
Old 05-31-2007, 01:51 PM   #3
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Original Poster
Rep: Reputation: 17
I am the admin on the server, but I do not have access to the dns server.
 
Old 05-31-2007, 01:56 PM   #4
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Ok, you´re the adm on the server, but you have a firewall and a DHCP server between your server and the internet.

If you dont have a static IP you will need something like DynDNS anyway.

[]´s, FMC!
 
Old 05-31-2007, 06:13 PM   #5
vortmax
Member
 
Registered: Nov 2005
Posts: 91

Original Poster
Rep: Reputation: 17
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Host problem - DNS or DHCP issue? costrevs Linux - Software 16 03-23-2005 07:50 AM
DNS issue or caching issue? AZDAVE Linux - Networking 7 10-02-2004 12:28 AM
BIND9 and W2k dhcp clients DNS suffix issue. wasp4141 Linux - Networking 1 04-06-2004 10:56 PM
forward dns from dhcp to dhcp Fark Linux - Networking 3 03-31-2004 10:40 AM
Red Hat and DHCP/DNS issue. tel1jag Linux - Software 9 05-30-2003 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration