Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-14-2005, 08:01 PM   #1
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
Networking via HOSTNAME over DHCP network

What I would like is to be able to do is to use another computer's hostname as an IP address. So that when I ping for example: "ping exodia", it'll return as pinging instead of stating it was an unknown host. On my network are six computers, including myself. There are four windows computers. They can ping any computer on the network with the host name and it'll work. From what I've seen, this can be done on Linux using the DNS server configurations. Yet, on this network, we're all connected to the very same DNS server and the Linux computers cannot ping via a hostname. When I restart my computer to Windows, I'm able to ping the other host computers.

So I'm wondering if the ability on Windows is simply because of the NetBIOS settings, or something is faulty with my DNS configurations.
Old 12-14-2005, 09:24 PM   #2
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
if you had a nameserver on your network ... it would be work as is.
Old 12-14-2005, 11:56 PM   #3
Registered: Jan 2005
Location: Clackamas, Oregon, US
Distribution: Slackware 10.2
Posts: 154

Original Poster
Rep: Reputation: 30
the problem is that the DNS IS running and i'm connected to it, but it's not registering on my computer.
Old 12-15-2005, 12:56 AM   #4
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
create forword reverse lookup zone and enable SMB service

Last edited by abakali; 12-15-2005 at 12:58 AM.
Old 12-15-2005, 08:42 AM   #5
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I had the same problem in an AD-domain, I had to add wins servers to my samba-configuration.
I believe that if Windows-computers uses WINS then you can't find them by FQDN only NetBios-name - pretty strange?
But that's what I did, added
wins server =
in /etc/samba/smb.conf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DHCP client redhat 8.0 does not register hostname in network harmen Linux - Networking 6 03-23-2009 07:01 PM
dhcp hostname ahz10 Linux - Networking 1 05-06-2005 04:40 PM
DHCP Hostname Celestial Linux - Newbie 1 06-30-2004 07:50 PM
dhcp hostname .... phoeniXflame Linux - Networking 6 12-07-2003 12:12 PM
PB with DHCP and HostName jp515 *BSD 1 11-21-2003 05:57 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 PM.

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