From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 00:30:29 2012 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BAC71065672; Mon, 12 Mar 2012 00:30:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 34FB98FC18; Mon, 12 Mar 2012 00:30:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C0UTmV045947; Mon, 12 Mar 2012 00:30:29 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C0UTNR045936; Mon, 12 Mar 2012 00:30:29 GMT (envelope-from linimon) Date: Mon, 12 Mar 2012 00:30:29 GMT Message-Id: <201203120030.q2C0UTNR045936@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-jail@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/165769: [jail] IPv6 Initialization on external iface is too slow for jail 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: Mon, 12 Mar 2012 00:30:29 -0000 Old Synopsis: IPv6 Initialization on external iface is too slow for jail New Synopsis: [jail] IPv6 Initialization on external iface is too slow for jail Responsible-Changed-From-To: freebsd-bugs->freebsd-jail Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 12 00:29:07 UTC 2012 Responsible-Changed-Why: probably needs to be worked around in the jail infrastructure. http://www.freebsd.org/cgi/query-pr.cgi?pr=165769 From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 11:07:15 2012 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2038F1065697 for ; Mon, 12 Mar 2012 11:07:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0D39E8FC12 for ; Mon, 12 Mar 2012 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CB7ECm072376 for ; Mon, 12 Mar 2012 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CB7E7n072374 for freebsd-jail@FreeBSD.org; Mon, 12 Mar 2012 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2012 11:07:14 GMT Message-Id: <201203121107.q2CB7E7n072374@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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: Mon, 12 Mar 2012 11:07:15 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165769 jail [jail] IPv6 Initialization on external iface is too sl p bin/165515 jail [jail][patch] "jail: unknown parameter: allow.nomount" p bin/161957 jail jls(8): jls -v doesn't show anything if system compile o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 14 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 11:27:32 2012 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88B761065675; Mon, 12 Mar 2012 11:27:32 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 607468FC23; Mon, 12 Mar 2012 11:27:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CBRWhB093571; Mon, 12 Mar 2012 11:27:32 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CBRWNs093567; Mon, 12 Mar 2012 11:27:32 GMT (envelope-from bz) Date: Mon, 12 Mar 2012 11:27:32 GMT Message-Id: <201203121127.q2CBRWNs093567@freefall.freebsd.org> To: bz@FreeBSD.org, freebsd-jail@FreeBSD.org, freebsd-rc@FreeBSD.org From: bz@FreeBSD.org Cc: Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail 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: Mon, 12 Mar 2012 11:27:32 -0000 Old Synopsis: [jail] IPv6 Initialization on external iface is too slow for jail New Synopsis: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail Responsible-Changed-From-To: freebsd-jail->freebsd-rc Responsible-Changed-By: bz Responsible-Changed-When: Mon Mar 12 11:25:37 UTC 2012 Responsible-Changed-Why: /etc/rc.d/netwait needs to learn about IPv6. This has nothing to do with jails, just with interfaces, possibly switch ports and spanning tree. http://www.freebsd.org/cgi/query-pr.cgi?pr=165769 From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 12:01:49 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB2AB1065676 for ; Mon, 12 Mar 2012 12:01:49 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 640628FC1A for ; Mon, 12 Mar 2012 12:01:49 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so3515128bkc.13 for ; Mon, 12 Mar 2012 05:01:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=xjsW1oDbR7Z1gAkRya3RUKXjx5elkBU5IJl5psn+nH8=; b=Tj2PmVGn7MNMXQpb0NFskNL1cl4Hb6mA4X7EDycPIo3Bl3KENORZg+qTshdaGc82so HuVVp7f92jfCEpSHP56J8ysVAMfPx78PHVNZIDnlEQX+y8TBRbiJ/l8OuMioKAqZY8Z5 Ma16jhVY6a5is7cOsq7l6oov40O1Tyb8cdb9TK8d84RATzNID8/GfxJD21NO7Slpry9I WiZcJ3P8J9DNzDNhXNfsXhIZkp3v16y3Ya4L4S/ory4EmT7cYRssUrnqKa110tlgHm58 Oi0+3BGBcUa7Ri/uFk1QHGFqrOCLwNVBiEQ5B+cj0JheEfZfMuFprNopBh7At8MS8eDz pmnA== Received: by 10.204.153.219 with SMTP id l27mr4861171bkw.126.1331553708135; Mon, 12 Mar 2012 05:01:48 -0700 (PDT) Received: from gizmo.nevosoft.local ([195.182.128.54]) by mx.google.com with ESMTPS id o7sm24754604bkw.16.2012.03.12.05.01.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Mar 2012 05:01:47 -0700 (PDT) From: Oleg Ginzburg To: freebsd-jail@freebsd.org Date: Mon, 12 Mar 2012 16:01:45 +0400 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <201203121127.q2CBRWNs093567@freefall.freebsd.org> In-Reply-To: <201203121127.q2CBRWNs093567@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201203121601.45108.olevole@olevole.ru> X-Gm-Message-State: ALoCoQklSu0YPfZhWXbmDy7+zBLIdbVPIfXsXT/EARDgdHGKETwYP85LjBEvUiBmOFHUTTXk7hlE Cc: bz@freebsd.org, freebsd-rc@freebsd.org Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail 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: Mon, 12 Mar 2012 12:01:49 -0000 =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5, On Monday 12 March 2012 15:27:32 bz@freebsd.org wrote: > This has nothing to do with jails, just with interfaces, possibly > switch ports and spanning tree. /etc/rc.d/netwait the script concerns only in a case "complete"-type jail, = not=20 for "service"-type as is written in my example From owner-freebsd-jail@FreeBSD.ORG Mon Mar 12 12:21:05 2012 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 8F3211065674; Mon, 12 Mar 2012 12:21:05 +0000 (UTC) (envelope-from bz@freebsd.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 458858FC0A; Mon, 12 Mar 2012 12:21:05 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 68DD225D386D; Mon, 12 Mar 2012 12:21:04 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 96FD0BDD3C2; Mon, 12 Mar 2012 12:21:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 05nTvWuhnXCw; Mon, 12 Mar 2012 12:21:02 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8F1B1BDD3C1; Mon, 12 Mar 2012 12:21:02 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: "Bjoern A. Zeeb" In-Reply-To: <201203121601.45108.olevole@olevole.ru> Date: Mon, 12 Mar 2012 12:21:01 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <56159FB5-1986-4A8B-B4FB-B4306F44307D@freebsd.org> References: <201203121127.q2CBRWNs093567@freefall.freebsd.org> <201203121601.45108.olevole@olevole.ru> To: Oleg Ginzburg , bug-followup@FreeBSD.org X-Mailer: Apple Mail (2.1084) Cc: freebsd-jail Subject: Re: kern/165769: [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail 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: Mon, 12 Mar 2012 12:21:05 -0000 On 12. Mar 2012, at 12:01 , Oleg Ginzburg wrote: > =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5= , >=20 > On Monday 12 March 2012 15:27:32 bz@freebsd.org wrote: >> This has nothing to do with jails, just with interfaces, possibly >> switch ports and spanning tree. >=20 > /etc/rc.d/netwait the script concerns only in a case "complete"-type = jail, not=20 > for "service"-type as is written in my example I don't see a difference but I see what you mean with "on start" which I = treated as "on boot". The answer unfortunately is - DAD is not supposed to take = that long that it would matter, so the NIC drivers are probably silly or are = required to do silly things. I wonder if you might even see a DOWN/UP cycle. The workaround you can apply is to use the prestart option to the jail = to add that sleep 1 you need and let the startup script configure the IP addresses = for you. See jail_exec_prestart in man 5 rc.conf. /bz --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do! From owner-freebsd-jail@FreeBSD.ORG Wed Mar 14 13:04:06 2012 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 1F1FC106566B for ; Wed, 14 Mar 2012 13:04:06 +0000 (UTC) (envelope-from gaurav.kansal@nic.in) Received: from vastu11.nic.in (mailgw-hyd.nic.in [164.100.2.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2498FC08 for ; Wed, 14 Mar 2012 13:04:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAHKSYE/AqAF8/2dsb2JhbABDgkW0bYIQCAIeBRBJBAEWUiMcAQ8RAgWIBbwxijmGRQSIVZMOihuCboFU X-IronPort-AV: E=McAfee;i="5400,1158,6648"; a="101512054" X-IronPort-AV: E=Sophos;i="4.73,583,1325442600"; d="scan'208,217";a="101512054" Received: from unknown (HELO vastu10internal.nic.in) ([192.168.1.124]) by vastu11internal.nic.in with ESMTP; 14 Mar 2012 18:37:23 +0530 X-IronPort-AV: E=McAfee;i="5400,1158,6648"; a="93730422" X-IronPort-AV: E=Sophos;i="4.73,583,1325442600"; d="scan'208,217";a="93730422" Received: from unknown (HELO msgfe4.nic.in) ([192.168.1.76]) by vastu10internal.nic.in with ESMTP; 14 Mar 2012 18:37:23 +0530 Received: from GOI ([10.1.27.30]) by msgfe4.nic.in (Sun Java(tm) System Messaging Server 6.3-16.01 (built Sep 30 2011; 32bit)) with ESMTPSA id <0M0V002W8LSB72C0@msgfe4.nic.in> for freebsd-jail@freebsd.org; Wed, 14 Mar 2012 18:37:23 +0530 (IST) Sender: gaurav.kansal@nic.in From: Gaurav kansal To: freebsd-jail@freebsd.org Date: Wed, 14 Mar 2012 18:32:38 +0530 Organization: NIC Message-id: <002c01cd01e2$bbb7bd30$33273790$@nic.in> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Content-language: en-us Thread-index: Ac0B4qc+aRT9IL/OS0u0g/e3fzo/nw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ifconfig problem in FreeBSD Jail 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: Wed, 14 Mar 2012 13:04:06 -0000 Hi, I am trying to set up the FreeBSD Jail first time for my knowledge purpose. I install FreeBSD 9 in VMware Workstation. I use the following tutorial for setting up Jail in FreeBSD http://www.freebsd.org/doc/handbook/jails-application.html Everything works fine except network configuration. When I am trying to "ifconfig", it is giving me an error. ifconfig em0: flags=8843 metric 0 mtu 1500 options=9b ether 00:0c:29:05:76:e2 ifconfig: socket(AF_INET6, SOCK_DGRAM): Protocol not supported media: Ethernet autoselect (1000baseT ) status: active em1: flags=8802 metric 0 mtu 1500 options=9b ether 00:0c:29:05:76:ec ifconfig: socket(AF_INET6, SOCK_DGRAM): Protocol not supported media: Ethernet autoselect (1000baseT ) status: active plip0: flags=8810 metric 0 mtu 1500 ifconfig: socket(AF_INET6, SOCK_DGRAM): Protocol not supported lo0: flags=8049 metric 0 mtu 16384 options=3 ifconfig: socket(AF_INET6, SOCK_DGRAM): Protocol not supported I am not able to ping also. What more I have to do?????? Thanks n Regards, GAURAV KANSAL 9910118448 VoIP - 6259 Operation And Routing Unit NIC , NEW DELHI Please don't print this e-mail until & unless you really need, it will save Trees on Planet Earth. IPv4 is Over, Are your ready for new Network. From owner-freebsd-jail@FreeBSD.ORG Thu Mar 15 12:34:18 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2A44106564A for ; Thu, 15 Mar 2012 12:34:18 +0000 (UTC) (envelope-from gaurav.kansal@nic.in) Received: from vastu9.nic.in (vastu9.nic.in [164.100.10.19]) by mx1.freebsd.org (Postfix) with ESMTP id BE3658FC14 for ; Thu, 15 Mar 2012 12:34:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAPDgYU/AqAH7/2dsb2JhbABDgkW0Z4IJAQEEAQgCHgUQPAUHAQMBAQkNAQMEAQEoBxkjCgkIAgQLCAkCBYd1ELpJkQcEiFWTGooZgm4 X-IronPort-AV: E=McAfee;i="5400,1158,6649"; a="169915166" X-IronPort-AV: E=Sophos;i="4.73,590,1325442600"; d="scan'208,217";a="169915166" Received: from unknown (HELO vastu12internal.nic.in) ([192.168.1.251]) by vastu9internal.nic.in with ESMTP; 15 Mar 2012 18:07:37 +0530 X-IronPort-AV: E=McAfee;i="5400,1158,6649"; a="72226761" X-IronPort-AV: E=Sophos;i="4.73,590,1325442600"; d="scan'208,217";a="72226761" Received: from unknown (HELO msgfe10.nic.in) ([192.168.1.12]) by vastu12internal.nic.in with ESMTP; 15 Mar 2012 17:59:20 +0530 Received: from GOI ([10.1.61.68]) by msgfe10.nic.in (Sun Java(tm) System Messaging Server 6.3-15.01 (built Mar 21 2011; 32bit)) with ESMTPSA id <0M0X005PAF2OQA00@msgfe10.nic.in> for freebsd-jail@freebsd.org; Thu, 15 Mar 2012 18:07:36 +0530 (IST) Sender: gaurav.kansal@nic.in From: Gaurav kansal To: 'Kurt Jaeger' References: <002c01cd01e2$bbb7bd30$33273790$@nic.in> <20120314131318.GP44287@home.opsec.eu> In-reply-to: <20120314131318.GP44287@home.opsec.eu> Date: Thu, 15 Mar 2012 18:02:51 +0530 Organization: NIC Message-id: <000001cd02a7$bd6b4410$3841cc30$@nic.in> MIME-version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-index: AQHqfQSN5atTUxx5lcJM5kgJda7GZQIO/KeUlh/cEzA= Content-language: en-us Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: RE: ifconfig problem in FreeBSD Jail 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: Thu, 15 Mar 2012 12:34:19 -0000 Hi Kurt, Thanks for prompt reply. I got the following output: ifconfig em0 10.1.27.82 netmask 255.255.255.0 ifconfig: ioctl (SIOCDIFADDR): permission denied I am not able to know where I have to configure so that jail got permissions for ipconfig. -----Original Message----- From: Kurt Jaeger [mailto:pi@opsec.eu] Sent: Wednesday, March 14, 2012 6:43 PM To: Gaurav kansal Subject: Re: ifconfig problem in FreeBSD Jail Hi! > I am trying to set up the FreeBSD Jail first time for my knowledge purpose. > > I install FreeBSD 9 in VMware Workstation. > > > > I use the following tutorial for setting up Jail in FreeBSD > > http://www.freebsd.org/doc/handbook/jails-application.html > > > > Everything works fine except network configuration. > > > > When I am trying to "ifconfig", it is giving me an error. Which command are you typing and what is the error message ? > ifconfig > > em0: flags=8843 metric 0 mtu > 1500 > > options=9b > > ether 00:0c:29:05:76:e2 > Looks fine, you have an ethernet interface called em0, but it has no IP addresses assigned. The command: ifconfig em0 192.168.10.1 netmask 255.255.255.0 would assign one. Give it a try! -- pi@opsec.eu +49 171 3101372 8 years to go ! From owner-freebsd-jail@FreeBSD.ORG Thu Mar 15 13:13:10 2012 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 3EF6E106566B for ; Thu, 15 Mar 2012 13:13:10 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C2C348FC12 for ; Thu, 15 Mar 2012 13:13:09 +0000 (UTC) Received: by eaaf13 with SMTP id f13so1795491eaa.13 for ; Thu, 15 Mar 2012 06:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :user-agent; bh=sdQwOswThTkn7VXdZLayR23KsiS7eJbGs69vp7ZdnVc=; b=oxgiRzJDp6Gz1dGmhWgN7tXCgOwJRbHrDNSiXhANJndBQdZoxv+tXqjAacmodeJ5Bp OJILClre13I0ZLGWUvrAbwJf8mWlFBW2k8bKT3dhy8zuCTbpL4Aa1FfoGBFswNp3O4sq YPOjQIPucF4XNtwiavJu4kxlhP6Vx52E77kpqCzrMkkl9RvsqLE5aMWHklwEbJhClaXa vLVf8iEy6/i+LEoa2OiTp79st6fuYRYS2kFGbP/PIIq7keHKdZ8T+OglmpCh73G65+nF oxDpYePUgwlqH9HBrqLOVTtQ1+Zj7xQmOIJB0nTzhzsX7cWfnGzzTfAi6hyX3NWcSM4O h21g== Received: by 10.229.102.155 with SMTP id g27mr2241098qco.103.1331817182552; Thu, 15 Mar 2012 06:13:02 -0700 (PDT) Received: from schism.local (75-146-225-65-Philadelphia.hfc.comcastbusiness.net. [75.146.225.65]) by mx.google.com with ESMTPS id i19sm4053760qad.19.2012.03.15.06.13.00 (version=SSLv3 cipher=OTHER); Thu, 15 Mar 2012 06:13:00 -0700 (PDT) Date: Thu, 15 Mar 2012 09:12:58 -0400 From: Glen Barber To: Gaurav kansal Message-ID: <20120315131258.GA2215@schism.local> References: <002c01cd01e2$bbb7bd30$33273790$@nic.in> <20120314131318.GP44287@home.opsec.eu> <000001cd02a7$bd6b4410$3841cc30$@nic.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001cd02a7$bd6b4410$3841cc30$@nic.in> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-jail@freebsd.org, 'Kurt Jaeger' Subject: Re: ifconfig problem in FreeBSD Jail 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: Thu, 15 Mar 2012 13:13:10 -0000 On Thu, Mar 15, 2012 at 06:02:51PM +0530, Gaurav kansal wrote: > Hi Kurt, > > > > Thanks for prompt reply. > > > > I got the following output: > > > > ifconfig em0 10.1.27.82 netmask 255.255.255.0 > > ifconfig: ioctl (SIOCDIFADDR): permission denied > jail(8) IP addresses are assigned from the jail host. See the rc.conf(5) manual or /etc/defaults/rc.conf for an example. Glen