Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2010 13:58:27 -0700
From:      "Yin, Kwong-Sang" <kwong-sang.yin@boeing.com>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Error while Setting up IPsec in 2 vimages
Message-ID:  <F55F6290D5DF004D916C7855F56B098E5D64E0C3EF@XCH-NW-13V.nw.nos.boeing.com>

next in thread | raw e-mail | index | archive | help

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<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=3D3<RXCSUM,TXCSUM>
gif0: flags=3D8010<POINTOPOINT,MULTICAST> metric 0 mtu 1280
        options=3D1<ACCEPT_REV_ETHIP_VER>
[root@er2 /home/kwong]# vimage e0_n1 ifconfig
lo0: flags=3D8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=3D3<RXCSUM,TXCSUM>

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F55F6290D5DF004D916C7855F56B098E5D64E0C3EF>