From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 1 04:20:22 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6B7316A41F for ; Mon, 1 Aug 2005 04:20:22 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from mail.rdu.kirov.ru (ns.rdu.kirov.ru [217.9.151.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE7643D45 for ; Mon, 1 Aug 2005 04:20:21 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id 0C42711562F for ; Mon, 1 Aug 2005 08:20:14 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id 6A90415C2E for ; Mon, 1 Aug 2005 08:20:13 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id D2C1415C4E; Mon, 1 Aug 2005 08:20:12 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id 3BD0B15C2D for ; Mon, 1 Aug 2005 08:20:12 +0400 (MSD) Message-ID: <42EDA2EA.4060206@yandex.ru> Date: Mon, 01 Aug 2005 08:19:54 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Howto configure virtual network via tap in qemu? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 04:20:23 -0000 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