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
|