From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 4 21:30:38 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A88F1065673 for ; Fri, 4 Jun 2010 21:30:38 +0000 (UTC) (envelope-from kwong-sang.yin@boeing.com) Received: from slb-smtpout-01.boeing.com (slb-smtpout-01.boeing.com [130.76.64.48]) by mx1.freebsd.org (Postfix) with ESMTP id 334ED8FC12 for ; Fri, 4 Jun 2010 21:30:38 +0000 (UTC) Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by slb-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id o54KwTnP005742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 4 Jun 2010 13:58:29 -0700 (PDT) Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id o54KwTph015799 for ; Fri, 4 Jun 2010 13:58:29 -0700 (PDT) Received: from XCH-NWHT-05.nw.nos.boeing.com (xch-nwht-05.nw.nos.boeing.com [130.247.25.109]) by slb-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id o54KwSAT015789 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Fri, 4 Jun 2010 13:58:29 -0700 (PDT) Received: from XCH-NW-13V.nw.nos.boeing.com ([130.247.25.247]) by XCH-NWHT-05.nw.nos.boeing.com ([130.247.25.109]) with mapi; Fri, 4 Jun 2010 13:58:29 -0700 From: "Yin, Kwong-Sang" To: "freebsd-virtualization@freebsd.org" Date: Fri, 4 Jun 2010 13:58:27 -0700 Thread-Topic: Error while Setting up IPsec in 2 vimages Thread-Index: AcsEKK3CrNV6eDuxTiGt2lpIMC95BA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 04 Jun 2010 21:36:57 +0000 Subject: Error while Setting up IPsec in 2 vimages X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 21:30:38 -0000 I'm currently using FreeBSD 8.0 Stable and below I created 2 vimages. I'm t= rying to setup tunnel mode IPsec using racoon for each vimage but got error= message for the vimage e0_n1. [root@er2 /home/kwong]# vimage -c e0_n0 [root@er2 /home/kwong]# vimage e0_n0 ifconfig gif0 create [root@er2 /home/kwong]# vimage -c e0_n1 [root@er2 /home/kwong]# vimage e0_n1 ifconfig gif0 create ifconfig: SIOCIFCREATE2: File exists But when I checked, gif0 is only in vimage e0_n0. [root@er2 /home/kwong]# vimage e0_n0 ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 gif0: flags=3D8010 metric 0 mtu 1280 options=3D1 [root@er2 /home/kwong]# vimage e0_n1 ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 Did I set up the vimages incorrectly?? Thanks Kwong Kwong-sang Yin =1B$BSnW"@8=1B(B Networked Systems Technology Boeing Research and Technology The Boeing Company MC 7L-20 kwong-sang.yin@boeing.com