Hi! I want to size a samba-server. the samba server will become 4 ethernet cards. The samba-server serves his shares to only ONE subnet. subnet : 192.168.0.x so, i would configure Linux like that: eth0 -> 192.168.0.1 eth1 -> 192.168.0.2 eth2 -> 192.168.0.3 eth3 -> 192.168.0.4 Is it possible to configure samba, to use for some shares the first card, for other shares the second, and so on ... ???? Like this [FOR_ALL] - Share -> The Network-Traffic is running over eth0 [ADMINS] - Share -> The Network-Traffic is running over eth1 ... Is there a possibity? Maybe with Virtual Servers? Greeting and Thx Stefan
it should be possible using include = /etc/samba/smb.conf.%I and defining smb.conf.192.168.0.1 files as a specific configuration file Stefan Bergner wrote:> Hi! > > I want to size a samba-server. > > the samba server will become 4 ethernet cards. > The samba-server serves his shares to only ONE subnet. > > subnet : 192.168.0.x > > so, i would configure Linux like that: > > eth0 -> 192.168.0.1 > eth1 -> 192.168.0.2 > eth2 -> 192.168.0.3 > eth3 -> 192.168.0.4 > > Is it possible to configure samba, to use for some > shares the first card, for other shares the second, > and so on ... ???? > > Like this > > [FOR_ALL] - Share -> The Network-Traffic is running over eth0 > [ADMINS] - Share -> The Network-Traffic is running over eth1 > ... > > Is there a possibity? Maybe with Virtual Servers? > > Greeting and Thx > > Stefan