From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 14:16:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7FCB106564A for ; Thu, 24 Apr 2008 14:16:30 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 6812D8FC1F for ; Thu, 24 Apr 2008 14:16:30 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (dpm.xs4all.nl [80.126.205.144]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3OEGSC1061826; Thu, 24 Apr 2008 16:16:28 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 24 Apr 2008 16:16:26 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DDDE7@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD 7.0 jail and Samba 3 Thread-Index: AcimBczWbNYlS30DROOeY/gudWT/yAADs6ZA References: <47F54BB3.1080801@skoberne.net><48071F0E.2020002@skoberne.net> <57200BF94E69E54880C9BB1AF714BBCB5DDDB1@w2003s01.double-l.local> <480DB0E2.3070202@skoberne.net><60553.203.127.42.92.1208860527.squirrel@www.superhero.nl> <480EFF60.3040901@skoberne.net> <57200BF94E69E54880C9BB1AF714BBCB5DDDE0@w2003s01.double-l.local> <481072B5.8020607@skoberne.net> <57200BF94E69E54880C9BB1AF714BBCB5DDDE1@w2003s01.double-l.local> <481074A7.1080504@skoberne.net> <48107AE0.9010903@quip.cz> From: "Johan Hendriks" To: "Miroslav Lachman" <000.fbsd@quip.cz> X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: FreeBSD 7.0 jail and Samba 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 14:16:30 -0000 >> Hey, >>=20 >>> ifconfig_rl0_alias0=3D"192.168.15.201 netmask 255.255.255.0" >>> >>> the mask of an alias ipadres needs to be 32 bits. >>> I do not now if this solves your problem but it needs to be 32 bits. >>> >>> ifconfig_rl0_alias0=3D"192.168.15.201 netmask 255.255.255.255" >Can you explain why it needs to be 32 bits? >I have both setups (24 and 32) and both seems to works fine. >(I am not running Samba) >> I tried with 24 bits - it doesn't work one way or the other. >>=20 >> Thanks, >> Nejc This is from the man page of ifconfig and there it is alias Establish an additional network address for this interface. This is sometimes useful when changing network numbers, and one wishes to accept packets addressed to the old interface. If the address is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0xffffffff is most appropriate.