From owner-freebsd-net@FreeBSD.ORG Thu Apr 24 10:30:00 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 017521065673 for ; Thu, 24 Apr 2008 10:30:00 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7E88FC23 for ; Thu, 24 Apr 2008 10:29:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with ESMTP id UAA14968; Thu, 24 Apr 2008 20:29:44 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 24 Apr 2008 20:29:43 +1000 (EST) From: Ian Smith To: =?windows-1252?Q?Nejc_=8Akoberne?= In-Reply-To: <48105269.4040303@skoberne.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 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 10:30:00 -0000 On Thu, 24 Apr 2008, [windows-1252] Nejc Škoberne wrote: > > what netmask does ifconfig show for this IP? > > Host: > > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:40:f4:27:7e:a8 > inet 192.168.15.198 netmask 0xffffff00 broadcast 192.168.15.255 > inet 192.168.15.201 netmask 0xffffffff broadcast 192.168.15.201 > media: Ethernet autoselect (100baseTX ) > status: active > > Jail: > > rl0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:40:f4:27:7e:a8 > inet 192.168.15.201 netmask 0xffffffff broadcast 192.168.15.201 > media: Ethernet autoselect (100baseTX ) > status: active > > Hmm, I guess this is the reason why Samba doesn't see the broadcasts - the mask > in the jail is /32, not /24. I read somewhere this cannot be changed? I can't help wondering what would happen if you assigned the single jail IP to be the subnet's broadcast address, in this case 192.168.15.255 ? cheers, Ian