Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A basic Centos6 setup, SElinux and iptables completely off. In a small office network, where the samba share is used to share documents between 10 users and their windows 7 machines.

No AD in place, just samba based users set for all the windows folks. No DNS in the network, all the users have a static mapping to \\IP\share of the samba host.

This works fine as long as there is internet access, however, when the router goes down, suddenly none of the users can reach \\IP\share - it simply times out.

All IPs are given out by the DHCP server in the router, with very long leases, the centos IP is static. All the stations, including the samba host use the google DNS IPs, however, I don't see why it should matter, when I use naked IPs for smb access, but it seems like this is where things fail when I have no internet in place.

I wonder if anyone has had this issue, and there's some option in smb.conf hidden away, to disable DNS checks or whatever


share|improve this question
Two things: 1. When the problem occurs do the affected clients still have valid DHCP assigned ip addresses? Can they ping the server or other hosts? 2. Is the share on the same subnet as the clients? – joeqwerty Apr 18 '13 at 19:00
1. yes and yes 2. yes. It's a very basic setup, 24 bit subnet, single gateway, the soho router, a bunch of win7 workstations in a workgroup and the samba server. icmp works, but samba stops as soon as the router goes down. – dyasny Apr 18 '13 at 19:20

Did you check the logs? log.smbd & log.nmbd ?

You cannot access the shares at all or you have to wait just for timeout?

options in smb.conf name resolv order dns proxy

there's also 'netbios name' option make sure your centos box can resolve its name to IP, /etc/hosts in this case

share|improve this answer
I'll start looking into the logs as soon as I have access to the host, so far all I've got is the issue description, unfortunately. The shares cannot be accessed as soon as internet access is gone (router down.) I'll check smb.conf for the options you mentioned, thanks – dyasny Apr 18 '13 at 19:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.