From owner-freebsd-jail@FreeBSD.ORG Sun Mar 8 18:22:47 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D15F10656C1 for ; Sun, 8 Mar 2009 18:22:47 +0000 (UTC) (envelope-from kagekonjou@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id EA7938FC1C for ; Sun, 8 Mar 2009 18:22:46 +0000 (UTC) (envelope-from kagekonjou@gmail.com) Received: by gxk24 with SMTP id 24so2642623gxk.19 for ; Sun, 08 Mar 2009 11:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=1CcGddMVjZswlN93ueuZcbLoOy/ijiesyD5uJQLkx+4=; b=DtPIgKDh9wtU+/YDVcKnHZGI+G86SHLPbrXtyoD0qCnacfoTtCa9Vtez+/7E4i5m9S 9b+3g42e+VeFN14z04CI2mcxWk7uUAiBlXM3njM2r4Tx2ilBvoEs/VD/LAjKj3cObUT4 uvwKbR9QZuMliHd3keYmOeFl7OhZam/B7hgbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=QbIcKAkifFeGXupyOesrPm2+KXbWtHNH+rnzxCNc1DzzA4qHV9mRemrAorkTn/XxJ+ ZYPQTR678MgYMcjhhRrlnhGFDyyIA3XJlNR7BkN29WfZiodSCdWv+n3+ZpenoECn/qNR K5HPRujREh2FX9bglO3w7+XT1TVsl3vZzzMHY= MIME-Version: 1.0 Received: by 10.231.19.72 with SMTP id z8mr1253245iba.6.1236536566060; Sun, 08 Mar 2009 11:22:46 -0700 (PDT) Date: Sun, 8 Mar 2009 14:22:46 -0400 Message-ID: From: Kage To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Problem using bz's multi-IP/IPv6/No-IP Jail Patch (7-STABLE) X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 18:22:47 -0000 Greetings, So I'm having an issue using 7-STABLE, specifically with bz's multi-IP/IPv6 patch. First and foremost, all IPs attempted to be used (both v4 and v6) are aliased properly in ifconfig. Secondly, assigning multiple IPs to a jail is no problem, as jls -v reflects the multiples assigned correctly. However, within the jail, ifconfig reflects only the first IP listed in rc.conf. What am I missing, or what do I need to do to? Cheers! Example rc.conf entry: ifconfig_vr0_alias10="inet 12.34.56.78 netmask 255.255.255.255" ifconfig_vr0_alias11="inet 12.34.56.79 netmask 255.255.255.255" ifconfig_vr0_alias12="inet 12.34.56.80 netmask 255.255.255.255" jail_kage_rootdir="/usr/jails/kage" jail_kage_hostname="kage.foo" jail_kage_ip="12.34.56.78,12.34.56.79,12.34.56.80" Example jls: 5 kage.foo /usr/jails/kage ALIVE 6 12.34.56.78 12.34.56.79 12.34.56.80 Example ifconfig within that jail: [root@kage:/usr/local/etc/apache22] ifconfig vr0: flags=8843 metric 0 mtu 1500 options=2808 ether 00:1d:92:0d:77:8a inet 12.34.56.78 netmask 0xffffffff broadcast 12.34.56.1 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 [root@kage:/usr/local/etc/apache22] -- ~ Kage