Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Aug 2005 08:19:54 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        freebsd-emulation@freebsd.org
Subject:   Howto configure virtual network via tap in qemu?
Message-ID:  <42EDA2EA.4060206@yandex.ru>

next in thread | raw e-mail | index | archive | help
Hi!

Somebody know how to configure virtual network via tap interface in qemu?
I try to install FreeBSD 6.0-BETA1 in qemu. My system is 5.4-STABLE. I 
try so:
1. cat /dev/null > /dev/tap0
2. make a ifup script - ifup.sh:
ifconfig $1 inet 192.168.0.1/24
3. chmod +x ifup.sh
4. run qemu:
# qemu -cdrom 6.0-BETA1.iso -hda disk.img -boot d -serial pty -n 
/home/qemu/ifup.sh

tap0 interface is up, i can ping it from my system. But i can't 
configure installation via network.
When i use user mode network stack - it work.

-- 
WBR, Andrey V. Elsukov




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