Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th May 2012, 02:34 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Exclamation Not resolving local ip's on f16

Hi,
My f16 machine will not resolve ip's to my local dhcp network. It will find outside ip's with no problems and i can add host names and ip's to the /etc/hosts file and it will work. But everything else is dhcp so that is not a soloution.
In the past i have found nsswitch to be the culprit in similar problems. I have tried many variations on the hosts section of that file but to no avail.

Thanks!






I started this as a samba problem in the general forum but it looks like a network problem at this point.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #2  
Old 29th May 2012, 07:18 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: Not resolving local ip's on f16

What do you mean by "resolving IP's"? IP addresses need no resolution. Resolution is the process of finding the IP address for a specific NAME, and requires either a hosts table, or a DNS server. A DHCP server does not provide DNS lookup.

nsswitch is not your problem. If you're adding host names and ip addresses to your hosts file and can subsequently look those up successfully, then nsswitch is correctly directing host lookups to the hosts file. If you are able to look up internet domain names, then nsswitch is also correctly directing host lookups to some DNS server.

What are you using as a DHCP server?
What are you using as a DNS server?
Reply With Quote
  #3  
Old 29th May 2012, 08:04 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: Not resolving local ip's on f16

Hi,

Thanks for the reply!

I cannot ping any machine on my local network via host name. Thus i feel that the process is failing to resolve the ip address. The ip's on the network are dynamically assigned so simply loading the hosts file seems counter productive.

Nsswitch has been critical in the past as the order in which the host section is populated determines who is first to resolve. As i am resolving ip's in the outside world it's unwise not to consider the possibility of an error there.


Thanks again.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #4  
Old 29th May 2012, 09:40 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: Not resolving local ip's on f16

Do you have a local DNS server ?
If not then how do you expect names to be resolved to these dynamically assigned IPs ?
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #5  
Old 29th May 2012, 10:18 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: Not resolving local ip's on f16

Thanks for the reply!

I don't know. how do the other 6 machines on my network know where to find each other.

Thanks!
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #6  
Old 7th June 2012, 01:21 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Not resolving local ip's on f16

Probably some broadcasting protocol. See http://www.samba.org/samba/docs/using_samba/ch07.html

What exactly are you trying to do?

What does your network look like?

Configuring seven machines with static ip addresses shouldn't be too difficult or just configure the DHCP server in your router to always assign the same ip address to a machine (identified by its mac hardware address).
Reply With Quote
  #7  
Old 7th June 2012, 04:00 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Arrow Re: Not resolving local ip's on f16

Thanks for the reply!

My network is as follows:

5 ip cams (fixed ip)
2 fc17 boxes (dhcp)
1 fc16 box (dhcp)
2 windows xp boxes (dhcp)
1 vista machine (dhcp)
2 NAS iomega (fixed ip)
2 wireless g/n routers (fixed ip)
3 direct tv boxes (dhcp)
2 routers 1 acts as a switch only (fixed ip)
1 samsung tv (dhcp)

All of these items, save one, get along happily with samba being the main file sharing mechanism.
This one fc17 machine is a fresh install plus SAMBA that will only ping local machines via ip. It knows nothing of host names unless they are outside of my network. The samba server, client, or whatever simply doesn't see this machine nor does this machine see them.

There is an exception. The fc16 machine occasionally appears on the network servers list. and when it does, it is perfectly workable. I cannot nail down the circumstance that recreates this anomaly.

I hesitate to simply go with fixed ip's as it breaks from the network standard i have set from the beginning. And will likely cause me problems in the future. Further this machine was also quite happy when i had it loaded with fc16 and It seems to indicate that i have missed something.

In the past, i have installed samba only to find, after a great deal of trouble, the nsswitch file caused just such a problem. This was because the hosts section of the file was not ordered correctly, causing the dns server to lookup ip's first. This current problems presents the exact behavior as that one did. which is why i mention it.

I really do not know how the computers mentioned above find one another. But all except this one are working properly, samba and all.


Thanks for your patience.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #8  
Old 8th June 2012, 01:56 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: Not resolving local ip's on f16

Quote:
Originally Posted by teraquad View Post
Thanks for the reply!

My network is as follows:

5 ip cams (fixed ip)
2 fc17 boxes (dhcp)
1 fc16 box (dhcp)
2 windows xp boxes (dhcp)
1 vista machine (dhcp)
2 NAS iomega (fixed ip)
2 wireless g/n routers (fixed ip)
3 direct tv boxes (dhcp)
2 routers 1 acts as a switch only (fixed ip)
1 samsung tv (dhcp)

All of these items, save one, get along happily with samba being the main file sharing mechanism.
This one fc17 machine is a fresh install plus SAMBA that will only ping local machines via ip. It knows nothing of host names unless they are outside of my network. The samba server, client, or whatever simply doesn't see this machine nor does this machine see them.

There is an exception. The fc16 machine occasionally appears on the network servers list. and when it does, it is perfectly workable. I cannot nail down the circumstance that recreates this anomaly.

I hesitate to simply go with fixed ip's as it breaks from the network standard i have set from the beginning. And will likely cause me problems in the future. Further this machine was also quite happy when i had it loaded with fc16 and It seems to indicate that i have missed something.

In the past, i have installed samba only to find, after a great deal of trouble, the nsswitch file caused just such a problem. This was because the hosts section of the file was not ordered correctly, causing the dns server to lookup ip's first. This current problems presents the exact behavior as that one did. which is why i mention it.

I really do not know how the computers mentioned above find one another. But all except this one are working properly, samba and all.


Thanks for your patience.
Micro**** uses a bunch of noisy broadcast protocols to advertise itself to itself. Not a surprise that this nonsense isn't working as you want it.

Set yourself up a DNS server and everything will work properly.
Reply With Quote
  #9  
Old 9th June 2012, 10:17 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: Not resolving local ip's on f16

Thanks for the reply,

I don't really leave one machine on consistently. I assume that would make a difference to the dns server or servers. I am not sure what to do at this point. Mr. Toolan gave me a great deal of information to study. So i will be a while digesting it. It is my goal to understand what is going on here as it has affected every samba installation i have done in the past couple of years.

Thanks again for your help. I will put it to good use.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #10  
Old 9th June 2012, 10:26 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Not resolving local ip's on f16

Check out your router config. My router has a way for me to add names to it's table, so that if any machine on the local network looks up that name, it will return the local network address. On mine, the network address must exist when you assign a name to it (meaning the machine must be up and running), but it keeps the name even after you shut off the machine, so you don't have to keep adding it back to the table.

Some routers have this functionality, some don't. Check and see if yours does.
Reply With Quote
  #11  
Old 9th June 2012, 11:26 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: Not resolving local ip's on f16

Quote:
Originally Posted by droidhacker View Post
What do you mean by "resolving IP's"? IP addresses need no resolution
Hmm - actually IP addresses have to be resolved into MAC addresses on any 02 media - wifi or wired enet.

But each node on a LAN resolves it's own address.

--

What it in /etc/resolv.conf on a working vs non-working box ?
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #12  
Old 4th July 2012, 01:34 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: Not resolving local ip's on f16

Why do post keep disappearing from this thread?
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #13  
Old 4th July 2012, 07:44 PM
lightman47 Offline
Registered User
 
Join Date: Apr 2009
Posts: 266
linuxchrome
Re: Not resolving local ip's on f16

- you noticed that too ...
Reply With Quote
Reply

Tags
f16, local, resolving

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Configure More Than 3 IP's 40esp Servers & Networking 3 17th November 2007 01:56 AM
Resolving Local names using DNS & BIND lukewood Servers & Networking 4 25th October 2007 05:06 AM
Help with multiple local IP's on 1 server majestic Servers & Networking 9 16th July 2005 07:50 PM
Deny IP's from everything Sputnik Security and Privacy 9 22nd March 2005 08:21 PM
How to Set IP's on FC3 Rick415 Servers & Networking 3 21st March 2005 06:03 PM


Current GMT-time: 06:52 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat