Networking Forums

Networking Forums > Computer Networking > Linux Networking > samba network masks and vtun

Reply
Thread Tools Display Modes

samba network masks and vtun

 
 
HelloMan
Guest
Posts: n/a

 
      12-21-2003, 05:46 PM

Hello

I have a little VPN configured on linux (vtun) that is accessed by
windows
clients. Everything works perfectly, I can ping, ssh, transfer files etc...

Network A is class C (192.168.0.0 ->255 netmask 255.255.255.0)
Network A has a samba file server which is accessed by network A windows
machines (mostly win2K, but I do not think this counts)
Network B is class C (192.168.1.0 ->255 Netmask 255.255.255.0)
Network B has a second samba file server to be accessed only by network A
windows clients (for infos, network B is only composed of linux boxes)

Network A and B samba servers are members of the same workgroup of samba
shares (MYGROUP)

Network A and B samba servers grant access to hosts from network A and B
(obvious)

network A windows clients can transfer files with absolutely no problem,
both to network A and B samba servers.

The only peeble is that to do so, network A windows clients have to manually
set the ip adress of network B samba server. On the other hand, network A
windows clients see directly the name of the network A samba server in
their network neighborhood, with the nice little icon of the computer
server.

I would like network A windows clients to see network B samba server's name
and icon, directly in their 'network neighborhood', but I don't know how to
do so.

Before I run in trouble, I would like to ask the group what to do.

I think I need to tune up some configs in network A, my first idea was to
increase its network mask to 255.255.254.0 in order to make it possible for
Network A clients to reach machines until 192.168.1.255.

But maybe broadcasting for servers can be set in network A windows clients
manually.

I have no idea, the problem is that I am physically located in network B and
have no physical access to machines on network A. I will have to give
instructions to network A's administrator; therefore needing for detailed
instructions.

I thank you in advance for enlightenments.
--
HelloMan
 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      12-23-2003, 11:58 AM
HelloMan <(E-Mail Removed)> écrivait
> I would like network A windows clients to see network B samba server's
> name and icon, directly in their 'network neighborhood', but I don't
> know how to do so.


Standard Windows browsing, using broadcasting, can't work between two
network alone.

You should setup a WINS (Windows Name Serive) server, on a Windows or on
a Linux server. SAMBA include a WINS server, you should set it on the
smb.conf file.

Then, all your client should define their WINS server ip to point to this
server. You may also define the WINS server in the DHCP server
configuration (if client use DHCP to set their network configuration).

Then each client send its name to the WINS server, and get back the list
from the WINS server.

Note : I never try this thow a VPN, so test with two clients (1 on each
network) an a test WINS server.

> I think I need to tune up some configs in network A, my first idea was
> to increase its network mask to 255.255.254.0 in order to make it
> possible for Network A clients to reach machines until 192.168.1.255.


No, don't modify the netmask or samba browsing will be hazardeous.


Regards
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Masks Geoff Lane Home Networking 8 10-20-2005 11:22 PM
vtun, bridging and dhcp fabrice.gautier@gmail.com Linux Networking 1 05-01-2005 02:22 AM
Network Masks Geoff Lane Home Networking 2 04-02-2005 11:02 AM
Connecting 2 sites together via VTUN, routing issue google@johnharlow.com Linux Networking 1 01-18-2005 04:12 PM
DIFFERENT SUBNET MASKS IN A SINGLE NETWORK SEGMENT Damiano Fasoli Linux Networking 1 06-08-2004 06:13 PM



1 2 3 4 5 6 7 8 9 10 11