LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 06-09-2007, 08:03 PM   #1
Cya
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
Question Access SMB server from different local networks


Hello dudes!

Im running Red Hat Linux Enterprise 4 as a Gateway/Firewall with samba 3.0.10.


[HTML] internet
|
-------------------
| GW FW HTTP SMB ...|
-------------------
| NIC: 192.168.2.1
--------------------------
| | NIC: 192.168.2.2
WINDOWS XP client --------
NIC: 192.168.2.50 | router |
--------
| NIC: 192.168.3.1
--------------
|
WINDOWS XP client
NIC: 192.168.3.2[/HTML]


From 192.168.2.50 I can access the shared samba folders but form 192.168.3.2 I cannot.
The Firewall configuration accepts input, output and forward by default and it is not running dhcp and DNS services. Everyone has inet access.

My smb.conf file is:

[global]
workgroup = MYGROUP
server string = Samba Server
host allow = 192.168.1. 192.168.2. 192.168.3. 127.
security = share
interfaces = 192.168.2.1/24 192.168.1.2/24
remote browse sync = 192.168.1.255 192.168.2.255 192.168.3.255
remote announce = 192.168.1.255/MYGROUP 192.168.2.255/MYGROUP 192.168.3.255/MYGROUP
local master = yes
domain master = yes
preferred master = yes
wins support = yes
dns proxy = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bind/false
winbind use default domain = no
[test]
comment = Test
path = /export/samba/test (chmod 777)
browseable = yes
read only = no
guest ok = yes
public = yes


Why I dont see the shared folders from 192.168.3.0 network?

Many thanks in advance![HTML][/HTML]

Last edited by Cya; 06-09-2007 at 08:04 PM.
 
Old 06-09-2007, 09:02 PM   #2
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
you need to make sure that broadcasts actually get to the 192.168.3.x network. I don't think this is standard routing behaviour.

here's a way to solve it posted on a samba mailing list. basically you need to put a 2nd samba server in the 192.168.3.x subnet that syncs with your main samba server and communicates with the xp clients there.

http://lists.samba.org/archive/samba...ly/013532.html

Last edited by rtspitz; 06-09-2007 at 09:12 PM.
 
Old 06-10-2007, 05:13 AM   #3
Cya
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks rtspitz. I need to make it works with only one samba server. Hope someone can shed some ligth on this, meanwhile Im trying with different routers to see if I can broadcast to 192.168.3.0 (thanks for the advice).
 
Old 06-10-2007, 07:53 AM   #4
Cya
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Still looking for a solution but here is a similar problem advicing to purchase DLink products that supports SMB/CIFS:

http://www.linksysinfo.org/forums/sh...d.php?p=254911
 
  


Reply

Tags
networks, smb


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
Need Suggestion For SMB Access Server carlosinfl Linux - Server 1 05-09-2007 11:06 PM
LPD Printer Server forward printing jobs to local SMB printers simplyA Linux - Server 3 04-26-2007 12:25 PM
smb server, gateway with restricted user internet access.. wraithe Linux - Networking 0 01-06-2007 06:57 AM
How to access mysql server on local server ? Tancrede Linux - Newbie 2 04-09-2005 12:12 PM
SMB server running in the local network Gerardoj Linux - Networking 2 07-04-2003 12:41 PM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration