From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6126A1381F3 for ; Wed, 17 Jul 2013 18:31:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59086E0A5A; Wed, 17 Jul 2013 18:31:17 +0000 (UTC) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35CA9E09F6 for ; Wed, 17 Jul 2013 18:31:15 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id c13so1793532vea.35 for ; Wed, 17 Jul 2013 11:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=79KFq1gGn220aFRR1B+sNLCIgFkSvwIHQQG5FY+Mokk=; b=RB1gqe3uyDLv69EcQvpdT6CK3YFx7jH3xf3xjOXCLDBAMd1t/fGrXBYTztjFYlGpO6 /PbAMqfnPCGFtEyHvseJeR44cvUHLTz08B6QruGaFnaeguNQNGZl5jQOKQFQSPLUVpk6 o8P9SpEpaT49uUL7mM9FG8TeOnkdsT+vecbDYTx7D80OzkOXq5e//wA5T+XaE47U5xru aky7M++2ie9eKaK/jGiMwdSYqHOzvwnQ8dYw1AOOuPJXF9jUzJXL2AuVSyi6o/Sj0T/1 2856oQodCbD4KGDazXfji87YFSd5FTBa103jzTSqtA4e45ingLJolOfIGyyBgl1dB2Op x7WA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.220.91.75 with SMTP id l11mr2527388vcm.82.1374085875379; Wed, 17 Jul 2013 11:31:15 -0700 (PDT) Sender: alon.barlev@gmail.com Received: by 10.58.255.193 with HTTP; Wed, 17 Jul 2013 11:31:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jul 2013 21:31:15 +0300 X-Google-Sender-Auth: 1RkQY7g1a6fbnFWsBmTiEm6cOLQ Message-ID: Subject: Re: [gentoo-user] KVM networking help From: Alon Bar-Lev To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 775bc95d-f797-44a8-ba50-b5db56f9e31c X-Archives-Hash: b388aa8d18fbf5a7b4cbddb6f70e4e2a On Wed, Jul 17, 2013 at 9:28 PM, Nilesh Govindrajan wrote: > > Hi, > > I need some help settling up networking with KVM machines. > > I have one public interface with four publicly accessible IPs. > > I want to run a private virtual network for the VMs, such that every VM can access every other VM and host, also host can access every VM (required for NAT). > > So far I tried this: > > Create two tap interfaces. > Add them to a bridge > Assign IP to bridge > Set different MACs for VMs' NICs. > > This let's me access one VM to another also VM to host (not sure about this, ping works). > But I'm not able to use host to VM (ping works), I'm not able to connect to sshd running inside VM from host. See if the following[1] helps. [1] http://alonbl.tropicalwikis.com/wiki/Gentoo/VM_Tap_Networking