Networking Forums

Networking Forums > Computer Networking > Linux Networking > SMB networking and multiple subnets

Reply
Thread Tools Display Modes

SMB networking and multiple subnets

 
 
Dani Camps
Guest
Posts: n/a

 
      02-23-2005, 09:22 AM
Now I have a LAN 192.168.0.0/24, being the gateway 192.168.0.1 and the
gateway is at the same time the WINS server and LMB of the SMB network
(I have Windows and Linux machines in the LAN), now I would like to
create two subnets routed in the gateway (add another ethernet card in
the gateway), then I will have 192.168.0.0/24 with gateway 192.168.0.1
and 192.168.1.0/24 with gateway 192.168.1.1, so that the two gateways
are interfaces in the same machine, my SMB network is a Workgroup not
a domain.

In my /etc/samba/smb.conf, I should then add the 192.168.1.1 interface
in the list of interfaces where samba is binded, but a part of this do
I need to do anything else ? The machines in the .1.0/24 subnet will
still have 192.168.0.1 as a WINS server, is there any problem with
this ?

Thanks
 
Reply With Quote
 
 
 
 
Damiano Fasoli
Guest
Posts: n/a

 
      02-23-2005, 09:08 PM
Dani Camps wrote:

> Now I have a LAN 192.168.0.0/24, being the gateway 192.168.0.1 and the
> gateway is at the same time the WINS server and LMB of the SMB network
> (I have Windows and Linux machines in the LAN), now I would like to
> create two subnets routed in the gateway (add another ethernet card in
> the gateway), then I will have 192.168.0.0/24 with gateway 192.168.0.1
> and 192.168.1.0/24 with gateway 192.168.1.1, so that the two gateways
> are interfaces in the same machine, my SMB network is a Workgroup not
> a domain.
>
> In my /etc/samba/smb.conf, I should then add the 192.168.1.1 interface
> in the list of interfaces where samba is binded, but a part of this do
> I need to do anything else ?


You should not.
Eventually you could use
preferred master = yes
to trigger a local browser election on samba startup.

> The machines in the .1.0/24 subnet will
> still have 192.168.0.1 as a WINS server, is there any problem with
> this ?


No there is not. WINS server is contacted directly using its IP address.
Otherwise there is a network broadcast, limited to the current network
segment (two broadcast domains one for 192.168.0.0/24 segment and one for
192.168.1.0/24 segment).


>
> Thanks



Best regards
Dam

 
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
DHCP for multiple subnets Jorge Azcuy Windows Networking 7 07-25-2007 08:20 PM
multiple subnets stueken@conterra.de Linux Networking 5 10-09-2006 09:57 AM
Help with samba and multiple subnets Dani Camps Linux Networking 0 03-08-2005 02:42 PM
dns and multiple subnets Noah Roberts Linux Networking 1 02-04-2005 09:54 AM
iptables, NAT and multiple subnets - how? ERACC Linux Networking 1 10-06-2003 11:43 PM



1 2 3 4 5 6 7 8 9 10 11