Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-01-2005, 06:51 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Posts: 3
Rep:
|
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.
|
|
|
11-02-2005, 03:53 AM
|
#2
|
Member
Registered: Aug 2003
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) ?
|
|
|
11-02-2005, 07:27 AM
|
#3
|
LQ Newbie
Registered: May 2002
Distribution: Fedora 3-6 & RH 7.3-9, RH ES3-4
Posts: 26
Rep:
|
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.
|
|
|
11-24-2005, 12:25 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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.)
|
|
|
11-26-2005, 05:04 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|