Error while Setting up IPsec in 2 vimages

Yin, Kwong-Sang kwong-sang.yin at boeing.com
Fri Jun 4 21:30:38 UTC 2010


I'm currently using FreeBSD 8.0 Stable and below I created 2 vimages. I'm trying to setup tunnel mode IPsec using racoon for each vimage but got error message for the vimage e0_n1.

[root at er2 /home/kwong]# vimage -c e0_n0
[root at er2 /home/kwong]# vimage e0_n0 ifconfig gif0 create
[root at er2 /home/kwong]# vimage -c e0_n1
[root at 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 at er2 /home/kwong]# vimage e0_n0 ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
gif0: flags=8010<POINTOPOINT,MULTICAST> metric 0 mtu 1280
        options=1<ACCEPT_REV_ETHIP_VER>
[root at er2 /home/kwong]# vimage e0_n1 ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>

Did I set up the vimages incorrectly??

Thanks
Kwong

Kwong-sang Yin  嚴廣生
Networked Systems Technology
Boeing Research and Technology
The Boeing Company
MC 7L-20

kwong-sang.yin at boeing.com




More information about the freebsd-virtualization mailing list