This is an OpenHIP test world in a box. Using freely-available VMware server, we've created a Fedora Core 5 virtual machine and pre-installed OpenVZ server virtualization. Inside the FC5 machine "hipvz", we've created two OpenVZ virtual environments ("VE"s). The virtual servers have virtual Ethernet interfaces which are bridged together using a Linux bridge.
You can use this virtual test world as a playground for HIP experiments. You can test HIP associations between the two nodes, add NATting and IPv6, add additional virtual servers, or even connect your test network with other physical or emulated machines.
Powering on the hipvz virtual machine should bring you to an X11 login screen with an OpenHIP backdrop. Log in with the username: openhip, password: openhip. For convenience, the root password is the same.
On the Gnome desktop you should see two icons, one for each virtual
environment. Clicking on the VE 101 icon opens a new terminal window for
the ve101 virtual server. You can test connectivity with the other virtual
environment for example, by typing: ping 10.4.0.2
OpenHIP has been downloaded and installed to the two VEs. From hipvz, look in
the hip directory (under the openhip user's directory)
for the OpenHIP source. You can update the source via anonymous CVS with
cvs update -Pd. You can build the source by typing
make (for detailed instructions, follow the OpenHIP wiki link
below). To deploy newly-built hip binaries to the two virtual environments,
you would simply type: sudo cp src/hip
/vz/root/101/usr/local/sbin/
(Note that this has already been done for you, so you only need to type
this if you are updating the hip binaries.)
On each virtual server, the two OpenHIP binaries hip and
hitgen have been installed in /usr/local/sbin.
The HIP configuration files are located in /usr/local/etc/hip.
To run OpenHIP, run the following on each virtual server:
cd /usr/local/sbin
./hip -v
Then from ve101, you could initiate a HIP exchange with:
ping 1.195.7.65
Here, 1.195.7.65 is the LSI of ve102, which is printed out in the terminal
as HIP is initializing.
su
vzctl create 103 --ostemplate fedora-core-5
vzctl set 103 --hostname ve103 --ipadd 10.5.0.1 --save
vzctl set 103 --onboot yes --save
vzctl start 103
In order to run HIP, some additional commands are needed.
See complete instructions at the link below.