Howto configure virtual network via tap in qemu?

Andrey V. Elsukov bu7cher at
Mon Aug 1 04:20:23 GMT 2005


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 -
ifconfig $1 inet
3. chmod +x
4. run qemu:
# qemu -cdrom 6.0-BETA1.iso -hda disk.img -boot d -serial pty -n 

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

More information about the freebsd-emulation mailing list