Contributed by merdely on from the its-a-virtual-world dept.
Paul Irofti writes about how he's using Qemu on OpenBSD:
Many times I found myself wanting to test something on a different arch or look at what a new OS brings (specially the hobbyist ones announced now and then on OSNews) or simply test some network configurations w/o affecting the existing one. So I started looking at virtual emulators and such.
After some documentation and searching qemu seemed to be the best to fit my needs and closest to my philosophy. In this article I'll present a way to quickly build a virtual network environment with OpenBSD as host.
Paul describes how to get Qemu installed on OpenBSD (well, "pkg_add qemu"), how to set up a drive image and how to install an OS on the guest system. Then he explains how to configure networking between the OpenBSD host and the guest using the built-in /etc/qemu-ifup script functionality. The script configures a bridge between a real interface on the host and a tun interface the guest system binds to. Finally, he describes configuring pf to allow the guest Qemu system to communicate beyond the OpenBSD host.
Read the full article on the NewOrder Computer Security and Networking Portal.
(Comments are closed)