WINS name resolution across subnets [SOLVED!]
Hello, everybody.
I've got a network that consists of two subnets: 192.168.1. and 192.168.2. 192.168.2. is connected to 192.168.1. via a wireless linux router (slack 10, kernel 2.4.26). Right now 192.168.2. only has one computer on it aside from the router. My problem is that while I can ping by name on the 192.168.1. network alright, I cannot ping across the subnets by name. I have edited the "hosts" line in /etc/nsswitch to include wins, but knowing my limited experience with Samba and such, I have the feeling that I'm just plain forgetting something (or perhaps ignorant about something important). Your help will be well-appreciated! Thanks in advance. --Dane |
erm you are... as long as hosts has both ip and name you can use whatever
|
Thanks for your reply.
All of my machines have names and IP addresses. The problem is that, while I can ping everything by IP, I still can't ping by name. Any more ideas? --Dane |
I am able to ping on both networks by name, but only on that respective network. I can't ping from 192.168.1.x to 192.168.2.x by name, only by IP. Here is my smb.conf file (global section) for the wins server (192.168.1.249):
Code:
[global] Code:
[global] Thanks. --Dane |
*bump*
|
WINS should only be used for pre-Windows 2000 OSes.
Use DNS for everything else including LInux boxes. Or just use the IP address. |
Thanks for the reply!
I've been reading some books that seem to suggest that WINS is the way to go. I'm going to have same 9x/ME computers on thes network. Any more ideas? Thanks. --Dane |
Since Wins is based on NETBIOS and NETBIOS is a non-routed protocol, basically what you are trying to do is not possible... (Not even on a windows based environment) BUT! There is some way of bypassing this problem in a windows enviroment by using WINS-Replication: The server on your subnet A will replicate its data to the winsserver on subnet B, and vice versa. I must honestly say that I don't know if samba/nmb is capable of doing this, but i think you should look into replication... EDIT: I have overlooked something in your message: You are using only 1 Winsserver on the x.x.1.0 network, and no server in your x.x.2.0 network ? |
Thanks for the reply, Satriani!
That definately sounds like its wort looking into. I'll do some research and then report back. Also, I have a WINS server on each network. Network 192.168.2.x has the local master (also the masquerading router), and 192.168.1.x has the domain master (also the file server). --Dane |
SUCCESS!
The solutions you gave me, while not the answers in themselves, led me to a web page that told me what my problem was. As it turns out, Samba doesn't support Windows-style replication yet, but it provides a workaround. The reason I couldn't do WINS across networks is because I had a WINS server on each subnet, which isn't allowed. Here are my smb.conf files for my server (192.168.1.249) and clients (192.168.1.x, 192.168.2.x).
Server Code:
[global] Code:
[global] Here is the page (http://www.cise.ufl.edu/help/softwar...ING-Config.txt) that pointed out my folley: Quote:
Thanks, everybody, for your help! --Dane |
Glad you found it, thanks for the answer!! I think this is usefull for others with the same problem...
|
All times are GMT -5. The time now is 03:15 AM. |