Hi
I have an old P2 box with Openbsd 4.1 on it. I compiled qemu from
ports and want to use freenas on it.
I installed freenas and made it work. To make freenas available on
network I needed to open some ports and make it visible.But i couldnt
find a way other than using the second network option which is with
tun/tap interfaces.
I dont have any idea about tun/tap,bridge (on openbsd). I came across with this
http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/qemu/files/README.OpenBSD?rev=1.5;content-type=text%2Fx-cvsweb-markup
while searching the web and did as explained in this document but no success.
I did the following
#   ifconfig tun0 link0
#   ifconfig bridge0 create
#    brconfig bridge0 add trunk0 add tun0 up

$  sh -c "sudo -u $USER \
                ${TRUEPREFIX}/bin/qemu \
                -net nic,vlan=0 \
                -net tap,vlan=0,fd=3 \
                -m 128 \
                -hda $hddir/virtual.img 3<>/dev/tun0"

and tried other. Still i the virtual machine is unseen on network.
Host real ip: 192.168.2.25              Gateway: 192.168.2.1
Guest ip (configured on Freenas) : 192.168.2.26              Gateway:
192.168.2.1

Could you please help, or refer some documentation about the theory behind this?

Reply via email to