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.