Virtual network with qemu

P.U.Kruppa ulrich at
Tue Jun 19 03:50:11 UTC 2007

On Mon, 18 Jun 2007, Per Hedeland wrote:

> "P.U.Kruppa" <ulrich at> wrote:
>> When now I try to connect the second virtual box, it will "steal"
>> the first box's network connection.
> You need to give them individual mac addresses via the 'macaddr'
> parameter to '-net nic'. I.e one of them can have the default
> (52:54:00:12:34:56) but not more than one.:-) See e.g.
Yes, but something goes wrong in my procedure:

# kldload aio kqemu if_tap bridge
# sysctl,tap0
# sysctl
# qemu-system-x86_64 -hda Win2k.img -m 512 -localtime \
   -net tap -net nic
# qemu-system-x86_64 -hda FreeBSD.img -m 512 -localtime -net tap 
-net nic,52:54:00:12:34:57
The latter will start the virtual FreeBSD box, but without a 
working network (nothing can be ping'ed, not even the host).

What kind of qemu-ifup do you use?



> --Per Hedeland

Peter Ulrich Kruppa

More information about the freebsd-emulation mailing list