[Samba] getent not working after installing firewall

Reindl Harald h.reindl at thelounge.net
Tue Mar 5 12:18:02 UTC 2019

Am 05.03.19 um 09:18 schrieb L.P.H. van Belle via samba:
> Solution is really simple. 
> Since this server is dual-homed ( 2 nic's ), i suggest setup advanced routing tables. 
> The short version of howto setup.
> edit /etc/iproute2/rt_tables and Add :
> 10 OfficeLan
> 20 InternetWan
> Lookup the routing tables:
> ip route show table OfficeLan
> ip route show table InternetWan
> The default gateway's is to the internet.  ( change ethX to you network interface name ) 

well, what is the point of multihoming an internal server at all?

that's the job of the firewall/router/gateway but on your LAN you just
have a 192.168.x.x network with no non-default routes and just the
gateway which only is part of the game when a machine want to talk to
something not in the own LAN

every other traffic stays in the LAN and don't touch the
router/gateway/firewall, even not multicast on a proper device with
"multicast off allmulticast off" since there is no point dealing with
multicast packets on the firewall

More information about the samba mailing list