From owner-freebsd-net@FreeBSD.ORG Thu Apr 24 11:26:32 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 181B51065682 for ; Thu, 24 Apr 2008 11:26:32 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id E26778FC46 for ; Thu, 24 Apr 2008 11:26:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id E1C8619E023; Thu, 24 Apr 2008 13:26:30 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 99CEE19E019; Thu, 24 Apr 2008 13:26:28 +0200 (CEST) Message-ID: <48106E76.7030503@quip.cz> Date: Thu, 24 Apr 2008 13:26:46 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: =?windows-1252?Q?Nejc_=8Akoberne?= References: <254549.19682.qm@web46005.mail.sp1.yahoo.com> <481047FF.4080707@skoberne.net> <20080424084727.G66744@maildrop.int.zabbadoz.net> <48105269.4040303@skoberne.net> In-Reply-To: <48105269.4040303@skoberne.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: "Bjoern A. Zeeb" , freebsd-net@freebsd.org Subject: Re: Jailed Samba not getting broadcasts X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 11:26:32 -0000 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