Jailed Samba not getting broadcasts

Miroslav Lachman 000.fbsd at quip.cz
Thu Apr 24 11:26:32 UTC 2008


Nejc Škoberne wrote:

> Hi,
> 
>> so what kind of setup do you have?
> 
> 
> Sorry, forgot to provide it. I am running latest Samba 3 on FreeBSD 7.0 
> server.
> You can get my smb.conf here:
> 
> http://stuff.skoberne.net/smb.conf (without "remote" entries suggested 
> by Dewayne)
> 
> My rc.conf (relevant lines):
> 
> ifconfig_rl0="192.168.15.198 netmask 255.255.255.0"
> jail_enable="YES"
> jail_sysvipc_allow="YES"
> jail_socket_unixiproute_only="NO"
> 
> #=---------------------------- Jails ---------------------------=#
> jail_list="samba"
> #=--------------------------------------------------------------=#
> jail_samba_rootdir="/usr/jail/samba"
> jail_samba_hostname="samba.domain.local"
> jail_samba_ip="192.168.15.201"
> jail_samba_interface="rl0"
> jail_samba_devfs_enable="YES"
> jail_samba_procfs_enable="YES"
> jail_samba_devfs_ruleset="devfsrules_samba_jail"
> #=--------------------------------------------------------------=#

Try not to use jail_samba_interface="rl0" for "auto aliasing" and add

ifconfig_rl0_alias0="inet 192.168.15.201 netmask 255.255.255.0"

This should give you
inet 192.168.15.201 netmask 0xffffffff broadcast 192.168.15.255
in the ifconfig output (after restart)

Miroslav Lachman



More information about the freebsd-net mailing list