From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.103.132 with SMTP id f4cs153952yhg; Sat, 14 May 2011 11:16:19 -0700 (PDT) Return-Path: <9front+bncCIfk-sO2AhDxjbvuBBoE4-8mFg@googlegroups.com> Received-SPF: pass (google.com: domain of 9front+bncCIfk-sO2AhDxjbvuBBoE4-8mFg@googlegroups.com designates 10.223.106.69 as permitted sender) client-ip=10.223.106.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 9front+bncCIfk-sO2AhDxjbvuBBoE4-8mFg@googlegroups.com designates 10.223.106.69 as permitted sender) smtp.mail=9front+bncCIfk-sO2AhDxjbvuBBoE4-8mFg@googlegroups.com; dkim=pass header.i=9front+bncCIfk-sO2AhDxjbvuBBoE4-8mFg@googlegroups.com Received: from mr.google.com ([10.223.106.69]) by 10.223.106.69 with SMTP id w5mr2538178fao.20.1305396978109 (num_hops = 1); Sat, 14 May 2011 11:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:received-spf:mime-version :in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-transfer-encoding; bh=x60xEWdvgJQhO/VMxLySPfl41D57mqgT6fdqhVVH1ak=; b=RKEbNEfNw3140MkJyUJmtV7v40ZhWXRg4zjOjWKLNkgpKS5D8HdMH1rLHSlT0jhiVn cescesyHTIxtZniyckbD/ZklV4j+bjjAzdmOQc+lBgwVdHDN+nufkuu98ReLeHZgH4WN Qf2W5aZdLbsbZbG/TGAvKgDW4nQ3DGFiMYnEY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; b=ZrdxRa/Cec0M/rWQqLoP2fw+adWnkQsgS5VHzfwvDZOfyGbP8MWsELCIukslL7bshz 7DhCHEdl0lvQSQhhPWG8QW3lKpfrm38DAaozKt0s902E09kUtzyRbxRQT5rvJeSoLay3 eEK0c5JySeL5Srn6QgGVb17v65xlKrDuXD++U= Received: by 10.223.106.69 with SMTP id w5mr841222fao.20.1305396977979; Sat, 14 May 2011 11:16:17 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.204.16.207 with SMTP id p15ls2089080bka.3.gmail; Sat, 14 May 2011 11:16:17 -0700 (PDT) Received: by 10.204.240.142 with SMTP id la14mr236559bkb.6.1305396977327; Sat, 14 May 2011 11:16:17 -0700 (PDT) Received: by 10.204.240.142 with SMTP id la14mr236558bkb.6.1305396977311; Sat, 14 May 2011 11:16:17 -0700 (PDT) Received: from mail-bw0-f47.google.com (mail-bw0-f47.google.com [209.85.214.47]) by gmr-mx.google.com with ESMTPS id o19si604661bkw.7.2011.05.14.11.16.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 May 2011 11:16:17 -0700 (PDT) Received-SPF: pass (google.com: domain of stanley.lieber@gmail.com designates 209.85.214.47 as permitted sender) client-ip=209.85.214.47; Received: by mail-bw0-f47.google.com with SMTP id 5so4705755bwz.34 for <9front@googlegroups.com>; Sat, 14 May 2011 11:16:17 -0700 (PDT) Received: by 10.204.31.76 with SMTP id x12mr919477bkc.213.1305396977137; Sat, 14 May 2011 11:16:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.26.208 with HTTP; Sat, 14 May 2011 11:15:47 -0700 (PDT) In-Reply-To: References: From: Stanley Lieber Date: Sat, 14 May 2011 13:15:47 -0500 Message-ID: Subject: Re: proposed wiki page for qemu+qemu networking with vde To: 9front@googlegroups.com X-Original-Sender: stanley.lieber@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of stanley.lieber@gmail.com designates 209.85.214.47 as permitted sender) smtp.mail=stanley.lieber@gmail.com; dkim=pass (test mode) header.i=@gmail.com Reply-To: 9front@googlegroups.com Precedence: list Mailing-list: list 9front@googlegroups.com; contact 9front+owners@googlegroups.com List-ID: <9front.googlegroups.com> X-Google-Group-Id: 831096995978 List-Post: , List-Help: , List-Archive: Sender: 9front@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, May 14, 2011 at 11:01 AM, Andreas Wagner wrote: > Hello, > > I propose a new wiki page with the following content. It includes > networking with VDE, something I didn't see mention of anywhere in > relation to plan9. > > > Networking (Linux host) > =3D=3D=3D=3D=3D=3D=3D > > # get vde2 with your package manager... > > > # set up a tap interface > sudo tunctl -u -t tap0 > > > # start a virtual switch connected to the tap interface > vde_switch --tap tap0 -daemon > > > # connect the switch to the network of the host. Use dhcp. > slirpvde --dhcp --daemon > > > Installation > =3D=3D=3D=3D=3D=3D=3D > > Create a disk image. > > =C2=A0 =C2=A0qemu-img create -f qcow2 9front.qcow2.img 10G > > > Boot from the iso ( http://code.google.com/p/plan9front/wiki/mirrors ) > > =C2=A0 =C2=A0qemu -hda 9front.qcow2.img -cdrom 9front.iso -boot d -vga st= d -m > 768 -net nic,macaddr=3D52:54:00:00:EE:03 -net vde #Consider using kvm if > your cpu supports it. > > > Install. ( http://code.google.com/p/plan9front/wiki/install ) > > > > Usage > =3D=3D=3D=3D > > Booting into your 9front install. > =C2=A0 =C2=A0qemu -hda 9front.qcow2.img -cdrom 9front.iso -boot c -vga st= d -m > 768 -net nic,macaddr=3D52:54:00:00:EE:03 -net vde > > > In 9front. > > ip/ipconfig > ndb/dns -r > I think this would be good as part of a more general qemu page. There are particulars for configuring host networking on several different operating systems. -sl