Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 13:26:46 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        =?windows-1252?Q?Nejc_=8Akoberne?= <nejc@skoberne.net>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-net@freebsd.org
Subject:   Re: Jailed Samba not getting broadcasts
Message-ID:  <48106E76.7030503@quip.cz>
In-Reply-To: <48105269.4040303@skoberne.net>
References:  <254549.19682.qm@web46005.mail.sp1.yahoo.com>	<481047FF.4080707@skoberne.net>	<20080424084727.G66744@maildrop.int.zabbadoz.net> <48105269.4040303@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48106E76.7030503>