09-03-2003, 06:08 PM | #1 (permalink) |
Crazy
|
samba name resolution troubleshooting
I recently changed the subnet of my home network.
Here's my setup server: RH 7.2 acting as a Windows domain server. one physical network interface set to obtain an IP address via DHCP (.4 currently) The physical interface has one alias (.250) my host file has my server name "bocephus" resolving to both the physical interface and the alias. I have no firewall running on my Linux box, all of my machines are behind a hardware NAT firewall. I can ping the server from the server by name and IP. I can ping the client machine from the server by IP but not by hostname. I can ping the server from the client machine by IP but not machine name. server: smbclient -L {server IP and name} lists all of the SMB shares on the server smbclient -L {client IP} lists all of the SMB shares on the client. I can not list the shares if I try to -L by the clients hostname client: net view {server IP} lists all SMB chares on the server. I cannot view the server by hostname The server does not show up in the Network Neighborhood. So the basic problem seems to be that the broadcasting on the server is not working. It had been working until I changed the IP address on the physical interface and the alias. I changed the subtnet of the IP pool on my DHCP router. Any ideas what to try next? |
09-04-2003, 04:55 PM | #3 (permalink) | |
Crazy
|
Quote:
It's working correctly now, I'm still not sure what was wrong. I was using Webmin to administer the Samba server and it blanked my entire smb.conf file. So I recreated it from scratch. The only other thing I changed was remove the alias from eth0. I'm not sure what combination of things, or time, solved the problem though so I can't really post a solution. |
|
09-04-2003, 10:56 PM | #4 (permalink) |
Upright
Location: The Basement in Calgary, Alberta, Canada
|
Tried enabling the server as a WINS server and having the clients use it for WINS resolution? I use that on my home setup and never have problems, when guests come to the house they can easily see all the other computers on the workgroup, even though they may be on a different workgroup, they seem to have no problems browsing the fileshares.
__________________
My opinions are my own, you may or may not agree with them, but those are your opinions, which I also may or may not agree with. |
09-05-2003, 12:44 AM | #5 (permalink) |
In Your Dreams
Location: City of Lights
|
While you guys are troubleshooting Samba... question for you all. I'd start this as a new thread, but it's the exact same subject (name resolution). I hope this isn't a hijack, and you guys can answer both questions hehe.
I can't resolve names on my network when the machines are on another subnet. I do nmblookup on the names, and it just checks my subnet. How do I get it to work with the other subnets? This is at uni, so I can't be a WINS server, I do have my WINS client IP addresses set up correctly though. I'm the master browser. Let me know if you want to see my smb.conf. Thanks! |
Tags |
resolution, samba, troubleshooting |
|
|