LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2005, 06:51 PM   #1
NMShadey
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
2 Networks and WINS


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.

Many thanks, Gavin.

Last edited by NMShadey; 11-01-2005 at 07:07 PM.
 
Old 11-02-2005, 03:53 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
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) ?
 
Old 11-02-2005, 07:27 AM   #3
akneppar
LQ Newbie
 
Registered: May 2002
Distribution: Fedora 3-6 & RH 7.3-9, RH ES3-4
Posts: 26

Rep: Reputation: 15
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.
 
Old 11-24-2005, 12:25 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Some Assumptions:

Your set-up:
Code:
+-------+
| Cable |   +-------+   +-----------------+
| Modem |---|  gw1  |---|  switch - swC   |
+-------+   +-------+   +-----------------+
                        /   | | | | | |    
                       /     localnet      
                      /     192.168.0.*    
                     /
            +-------+   +-----------------+
            |  gw2  |---|  switch - swA   |
            +-------+   +-----------------+
                            | | | | | |
                             privatenet
                                10.
  • gw1 is a gateway/firewall
  • gw1 is NOT running Samba
  • gw2 is a Samba server & router
I think the key(s) are here:
Quote:
All clients can ping each other quite happily.

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.)
 
Old 11-26-2005, 05:04 PM   #5
NMShadey
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks all for the replies.

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.

Thanks again, Gavin.
 
  


Reply

Tags
art, ascii, asciiart, diagram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS or WINS? nistelrooy Linux - Networking 1 12-26-2004 07:14 PM
samba and wins hoover93 Linux - Networking 0 08-16-2004 04:25 PM
Linus wins!! itsjustme General 16 04-23-2004 11:18 PM
Microsoft wins again..... Quivver Programming 31 02-26-2004 04:53 AM
resolving WINS helloworld Linux - Networking 0 03-21-2001 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration