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 01-03-2010, 06:07 AM   #1
millig
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Rep: Reputation: 0
Ubuntu 9.10 networking hostname


I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

Can anyone suggest why this should be so.
 
Old 01-03-2010, 06:27 AM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
did you enter the XPs hostname in the DNS or hosts file of the tux box?
 
Old 01-03-2010, 07:29 AM   #3
millig
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I certainly haven't entered in the hosts file. As far as I understood each machine would be logged on the DHCP Allocation Table of the router and that ping would find the name there.
 
Old 01-03-2010, 11:57 AM   #4
AGazzaz
Member
 
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 393

Rep: Reputation: 31
maybe the firewall is blocking the ICMP protocol
 
Old 01-03-2010, 12:37 PM   #5
vastvet
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
domainname and hostname are two different things if am correct, look if they are set on the good place, domainname is mostly the isp name unless u are running one box as an server if am correct, am not sure how it works in linux, hostname is mostly used for internal networks so check if they are set the same name, i could be easily wrong because long time ago i made an network.

p.s. Agazzaz Egypt could be wright, u could try disconnect internet, putoff firewalls on all machines and test it,when works ok than put on each firewall one at a time to see wich box is blocking.

Last edited by vastvet; 01-03-2010 at 12:39 PM.
 
Old 01-03-2010, 01:00 PM   #6
millig
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your replies. They give me more research to do (eg ICMP protocol). I am puzzled why the firewall could interfere. Are not host names resolved by the DHCP Allocation Table on the router?
 
Old 01-03-2010, 02:08 PM   #7
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
millig,
each computer will either contact a DNS server or it will build it's own DNS internally. If it doesn't have something in it's own DNS then it tends to look for a DNS server to find it. This is a little weird in Linux. Yes your routers DHCP allocation Table should act as a DNS server, however if something is blocking the DNS communications between your router and your Linux box, then your Linux box is never getting a DNS reply back from your router. Check on your ICMP settings and see. That is a good place to start.
 
Old 01-04-2010, 04:50 AM   #8
millig
LQ Newbie
 
Registered: Dec 2009
Posts: 10

Original Poster
Rep: Reputation: 0
The suggestion to check my ICPM Settings is easier said than done. It is an area I know nothing about. My initial efforts to look at them have not been successful and I am wary of stepping in too deep.

I can live with the present arrangement and perhaps solve this little puzzle in due course.

Thanks for your advice.
 
  


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
How to setup hostname using dhcp on Ubuntu 8.10 rizwanrafique Ubuntu 3 02-28-2009 02:20 PM
changing hostname on Ubuntu 8.04 xKintaro Linux - Networking 1 11-18-2008 12:43 AM
Ubuntu -- Access by Hostname DeanS Linux - Networking 5 10-03-2007 10:59 AM
ubuntu hostname change drum2jc Linux - Software 1 07-07-2006 06:01 PM
Networking via HOSTNAME over DHCP network tsphan Linux - Networking 4 12-15-2005 07:42 AM

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

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