Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2009 14:23:38 +0100
From:      Marko Zec <zec@icir.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Imunes and FreeBSD 8.0 RC2
Message-ID:  <200911111423.39501.zec@icir.org>
In-Reply-To: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net>
References:  <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 09 November 2009 11:37:41 Huth, Hans-Peter wrote:
> > Hi,
> >
> > i have just installed FreeBSD 8.0 RC2 and wanted to play around
> > with imunes/vimage, but i couldn't find it in the installed version
> > (from DVD ISO). Did i just missed something, or what do i have to
> > install something in addition? If so, FTP URLS would be helpful as my
> > BSD machine is not in a network.
> >
> > Build a custom kernel with option VIMAGE. You can initialize a
>
> vimage-enabled
>
> >jail with:
> >
> >...
> >
> > The work on vnet is well done, and has been reliable through all of my
>
> load
>
> > testing.
>
> [in reply to remodeler]
>
> i have build the kernel now (from 8.0 RC2 DVD), but imunes and vimage
> are still not there.
> What is missing? Or am i stuck with Rel. 7 and patching? I want to play
> around with the
> Imunes network emulation features. Docu at
> http://imunes.tel.fer.hr/virtnet/ does not help either,
> directories under src are different.

Hi,

here's the procedure which should be sufficient to get IMUNES up and running 
on FreeBSD 8.0-RC3 (I've tested this on amd64, but i386 should work as well):

- Install 8.0-RC3, along with the full src tree and the following packages:
    xorg-7.4_2
    tk-8.4.19_2,2
    quagga-0.99.15
    xorp-1.6.tbz
    wireshark-1.2.2
    netperf-2.4.5

- Fetch a kernel patch required for IMUNES to work, and patch the kernel:
    cd /tmp
    fetch http://imunes.net/imunes-8.0-RC3.diff
    cd /usr
    patch < /tmp/imunes-8.0-RC3.diff

- Create a VIMAGE kernel config in /usr/src/sys/amd64/conf/VIMAGE:
    include GENERIC
    options VIMAGE
    nooptions SCTP
    options KDB
    options DDB

- Build & install the VIMAGE kernel:
    cd /sys/amd64/conf
    config VIMAGE
    cd ../compile/VIMAGE
    make depend; make; make install

- Compile & install the vimage command:
    cd /usr/src/tools/tools/vimage
    make; make install

- Fetch & install the IMUNES GUI:
    cvs -d :pserver:anonymous@cvs.imunes.net:/usr/local/src/cvsroot co \
        imunes
    cd imunes
    ./install.sh

Good luck,

Marko





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