Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I currently have 2 networks localnet(192.168.0.*) and privatenet(10.*). In between the 2 networks is a Linux router(gw2). The Linux box has 2 interfaces each connected to either network. All clients can ping each other quite happily.
gw1 is a linux box with a cable modem attached.
192. clients use gw1 as their gateway. gw1 has a routing table that says how to access the 10. network via gw2. gw2 uses gw1 as its gateway to the internet.
The problem.
The windows boxes on either side of gw2 are unable to properly share files. Samba on gw2 has been set up to be a WINS server and all clients are set to use this. However clients on the 192. network can see all shares while clients on 10. can only see their own and get "Network path not found" for the 192 clients even though the netbios names are visible.
Is there anything I can do to resolve this issue, I have spent countless hours trying to figure this problem out.
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
A stupid question: did you declare the wins server in your network configuration on your boxes (either transmited by dhcp or statically in the - from my old memory - advance configuration tab in the tcp-ip preferences of your connection) ?
IMHO it is most likely an FW config more than anything else. You seem to have the name resolution working correctly. You haven't mentioned which distro you're using, however every one I've set up since Fedora Core (I think 3, but possibly earlier)trys to activate SeLinux & the Firewall at install. My (recent) SOP has been to build every 'nix server without any FW / SeLinux, test whatever purpose I have built the machine for (i.e. Samba / VNC host / Http Server etc.), once I'm sure I have the intended services functioning correctly, I go back and configure at least the firewall, sometimes SeLinux as well depending on where the machine is going to permanently reside. I have found this simple break from "security" has saved me days upon days of banging my head against the proverbial wall in issues such as yours.
Samba on gw2 has been set up to be a WINS server and all clients are set to use this. However clients on the 192. network can see all shares while clients on 10. can only see their own and get "Network path not found" for the 192 clients even though the netbios names are visible.
Questions:
What distro(s) are you running on gw1 & gw2?
Is there ANY firewalling running on gw2?
Please post the 2 routing tables. (In "Code" blocks to preserve the alignment.)
It did infact appear to be problems on the client sides, with the two test systems, it appeared that one's firewall was active and blocking traffic from the other subnet (10. - this was also said to have been disabled... but as they say if you want something done you have to do it yourself...) the other system with no firewall, for some unknown reason, was a problem with the main windows file sharing service.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.