LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-14-2005, 07:01 PM   #1
tsphan
Member
 
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 192.168.0.3 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, 08:24 PM   #2
winsnomore
Member
 
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, 10:56 PM   #3
tsphan
Member
 
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-14-2005, 11:56 PM   #4
abakali
Member
 
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-14-2005 at 11:58 PM.
 
Old 12-15-2005, 07:42 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,287

Rep: Reputation: 120Reputation: 120
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 = 192.168.0.1 192.168.0.2
in /etc/samba/smb.conf
 
  


Reply


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 06:01 PM
dhcp hostname ahz10 Linux - Networking 1 05-06-2005 03:40 PM
DHCP Hostname Celestial Linux - Newbie 1 06-30-2004 06:50 PM
dhcp hostname .... phoeniXflame Linux - Networking 6 12-07-2003 11:12 AM
PB with DHCP and HostName jp515 *BSD 1 11-21-2003 04:57 AM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration