I have openSuse router running dhcpd on eth1 forwarding traffic to WAN port(eth0). Thing is, that clients on dhcp are running Win, Its crucial to for me to have windows sharing between clients. But its not working. It asks for password, timeouts.. after reboot of network with eth0 unplugged sharing is working, but after plugging it back it stops working again. I dont have enabled samba related services on router because I dont need them now. What can cause this problem?

dhcpd is configured as:

ddns-update-style none;
log-facility local7;
subnet 192.168.2.0 netmask 255.255.255.0 {
  option domain-name "office.domain.cz";
  option domain-name-servers 194.228.XX.65,194.228.XX.113;
  option routers 192.168.2.1;
  option subnet-mask 255.255.255.0;
  default-lease-time 600;
  max-lease-time 7200;
  range 192.168.2.10 192.168.2.100;
}

server itself has 192.168.2.1 on eth0 and 192.228.XX.202 on eth1 openSuse firewall is disabled(on IRC I was said, that masquearade is not working) and after boot ruleset of these is loaded

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -A FORWARD -i eth1 -o eth1 -j ACCEPT

On client PCs everythink works ok. when they are on different network, or even in this network but eth1 is disconnected. Its 7s and XPs, because clients used this and ned this to work I think that problem is not in their stations. but somwehere else. Maybe said WINS server. I disabled all samba services on purpose, because we dont need samba on server at this time and I dont have time to configure samba, so I thought that netbios will solve this automatically. I think that two adapters are "too much connected" and windows network is leaking outside, which is causing errors.

link|improve this question
Please give more information about your network like e.g. IP ranges etc. – Raffael Luthiger Nov 21 '11 at 8:48
Which Windows version? Do you have an Active Directory Domain? Is the problem between computers in local LAN, or between WAN and LAN? Are you using the WINS name, the DNS name, or the IP-Address to address the target computer? How are permissions set up? Did you try from the commandline (net use), explicitly stating user etc? – Posipiet Nov 21 '11 at 9:45
I really don't think that dhcpd has anything to do with this. You're chasing a red herring. You should examine other configurations on your network and update your question when you have more relevant information. – MDMarra Nov 21 '11 at 14:46
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.