Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

samba - interfaces lo, eth0, eth1 no DNS btween subnets

Status
Not open for further replies.

turnbui

Programmer
Jul 23, 2005
60
GB
Perhaps I'm under an illusion here.
I have a port on a D-Link D504T router. The other 3 ports are connected to Win-XP Home machines. The subnet for this is 192.168.1.0/24. These are using DHCP which I think Samba had trouble tracking when the short lease-time expired.
Anyway:- My port comes to a Linux Mandrake 10.1 that has a second ethernet NIC that is connected to a Win-XP prof machine on 192.168.3.0/24. I can ping from my Win-XP to all other machines using IP numbers. I caqnnot ping to the XP Homes by names. Their machines can ping my XP prof by IP number but not by name. On my Linux box I can ping all machines by name & IP number.

Is this part of the job of the smb.conf interfaces option is for? Am I under a misapprehension?As the other machines are using DHCP I can't have an entry in the LMHOSTS / HOSTS file as the DHCP changes them when lease expires.

Yes, perhaps I will have to up the lease time to 99999 seconds but that is just delaying the problem as I can't set the lease time to permanent. Should I be able to use DHCP. Can Linux/Samba handle it?

Any help appreciated.
 
If the Samba machine is also set as a WINS server it should sort this out itself as you would be using the Windows network names for pinging. At least thats how my network works ...
It would also help if the DHCP server was on the linux box rather than the router, your timeout issues should then disappear.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top