LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2005, 02:41 PM   #1
kagatone
LQ Newbie
 
Registered: Jun 2005
Location: West Chester, PA
Posts: 7

Rep: Reputation: 0
Question can't see redhat machines from dns


Using Red Hat WS 4: I built two Redhat environments which are working appropriately on their network but which I can not ping from other machines (windows or other linux machines). By pinging I mean using their dns name - I can ping with an IP. I built a Mandriva machine which I can see from windows boxes and other linux boxes. Although to tell you the truth I used the Mandriva 10.1 configuration tool and it did it all for me.

So I've been trolling around various websites looking for some solutions and everything I've tried so far hasn't helped the situation. Could someone point me to the correct way to start evaluating this issue and where I can look for some more concise documentation on what I should be doing?

Thanks
- Kevin

Here's some things I've already done:
1.) corrected hostname
2.) corrected /etc/sysconfig/network
3.) corrected /etc/dhclient-eth0.conf
4.) corrected /etc/resolv.conf
 
Old 09-15-2005, 03:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well ... which machine is running the DNS? If you're using
a DHCP capable router you've probably configured a dhcp-
client file that's not being used ... check
ps -A | egrep "(dhc|pump)"
to find out which client the DeadRat machines are using.

They're probably not telling the dhcp-server their intended
dhcp names but are getting "random" names assigned.


Cheers,
Tink
 
Old 09-15-2005, 04:06 PM   #3
kagatone
LQ Newbie
 
Registered: Jun 2005
Location: West Chester, PA
Posts: 7

Original Poster
Rep: Reputation: 0
Technically what you are saying makes a whole lot of sense to me. And this is what I've been thinking but keep in mind that i'm a newbie and not sure how to get around in Linux...

I did this on one of my "deadrat" machines

ps -A | egrep "(dhc|pump)"

and found two process in this list

1990 ? 00:00:00 dhclient
2450 ? 00:00:00 dhclient

Is what you are saying, I should not be running these services? Or maybe the fact that there are two running is a problem?

- Kevin
 
Old 09-15-2005, 04:10 PM   #4
kagatone
LQ Newbie
 
Registered: Jun 2005
Location: West Chester, PA
Posts: 7

Original Poster
Rep: Reputation: 0
oh sorry ... one more thing

the dns server is actually managed by my company @ hq. I have no access. I'm in a newly formed remote office doing some porting work for this new company. All other machines seem to be working in this environment so I know the networking between the two offices is working. There's also another dns server in this office which is getting retired once the porting work is complete - I've tried to get my "deadrat" machines working with either dns without success.

Thanks
- Kevin
 
Old 09-15-2005, 04:16 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No, I wasn't suggesting you shouldn't be running those. I find it
odd that you're running two instances, and I haven't seen a
dhclient-eth0.conf before (the normal default name would be
dhclient.conf, God knows why deadrat changes things ;}).

The question, I guess, will be whether or not the dhclient.conf
has a statement like
send host-name "deadrat-1";
to tell the server what it wants to be known by ...


Cheers,
Tink
 
Old 09-15-2005, 04:26 PM   #6
kagatone
LQ Newbie
 
Registered: Jun 2005
Location: West Chester, PA
Posts: 7

Original Poster
Rep: Reputation: 0
yes - there's one line in dhclient-eth0.conf:

send host-name "agatonerh.bea.com"; # temporary RHL ifup addition


I'm not liking the word "temporary"... but this is the one items I did change. Maybe I should copy this file to dhclient.conf. I checked my mandriva and it doesn't look like the mechanism is the same because they don't have the dhclient.conf.

Thanks
 
Old 09-15-2005, 04:32 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Which client do they (Mandriva) use these days? My
personal preference is dhcpcd ... I seem to recall that
they were using pump back in the day...

[edit]
Btw, I wouldn't rename it, chances are that RH scripts
are looking for that.
[/edit]

Cheers,
Tink

Last edited by Tinkster; 09-15-2005 at 04:34 PM.
 
Old 09-15-2005, 04:46 PM   #8
kagatone
LQ Newbie
 
Registered: Jun 2005
Location: West Chester, PA
Posts: 7

Original Poster
Rep: Reputation: 0
not knowing to much about this it does look like Mandriva uses dhcpd. There's a dhcpd.conf file in /etc. Although that looks like it configures the dhcp client it doesn't look like the machine name is stored there. The /etc/sysconfig/network seems to be the only place my machine name is defined in Mandriva.

This is similar to my RH where the netork file also contains my machine name.
 
  


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
my DNS server doesn't remove don't existing machines cccc Linux - Networking 0 01-01-2005 03:30 PM
remote controll xp machines via redhat 9.0 redlinux04 Linux - Networking 9 09-08-2004 01:53 PM
Redhat WS3 updates on multiple machines seeone Red Hat 0 08-22-2004 10:04 PM
dns resolution on client machines phobox Linux - Networking 2 01-30-2004 06:48 PM
Setting up Redhat 9 to work with Windows Machines shwabob Linux - Networking 5 06-13-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 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