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 83BF91381F3 for ; Wed, 17 Jul 2013 18:29:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C04BFE0A00; Wed, 17 Jul 2013 18:28:51 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A00AFE08ED for ; Wed, 17 Jul 2013 18:28:50 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c10so4733912ieb.24 for ; Wed, 17 Jul 2013 11:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nileshgr.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=NL/tigsaGX5HIKIcMWkg8gA4S01CrzJiSYn7ynyQfA0=; b=H0K3IsVTdneVXldDqC6gQ0rYZePxWz/AFS8ir6yvSD4jdpVtoMcwqXTGEGLsFM0lhI k+mg6hMmWoRuJB8QFb8mISEhiowD6Bn8h7+aI8YnGmzSB3sFIGgEnybaD1KpToSoLGlv v9+keTGv1m2+FYjLeF0rogaFKVO/FU9G9zfBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=NL/tigsaGX5HIKIcMWkg8gA4S01CrzJiSYn7ynyQfA0=; b=XL7LnSLf6tyFlhJEwUxB3NRdvZntrNX102xgXF0zPjHrGhhAW0DrAHeMubm4xcK9QF 6QuK5D0wp2it4sgvLeogcNKlkJt87TUiuKQT4iQpDmTOVq06cZBh2v5nWH4cDdrA9qD1 CcGP6Inr6+a/+uhF5xEa/gU/WvoXBCA3rpPwH1KkwSYs891KbLoY+mwwEN1dHbbCZwTK hrWxike9SVlIT1XSKtsRYqct6Mz9bPAPjmER6E14IDzce2mu4HOW4gKYjalwxt2kdsv9 zHx1d0bodQ+n29KkOlG+XbH1T5TKyI4uuYtMhX7xsF5MW05j1LzJ+KIuy3kSlcntTGdF Fmhg== 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.42.132.134 with SMTP id d6mr5182624ict.50.1374085729675; Wed, 17 Jul 2013 11:28:49 -0700 (PDT) Received: by 10.64.14.48 with HTTP; Wed, 17 Jul 2013 11:28:49 -0700 (PDT) Received: by 10.64.14.48 with HTTP; Wed, 17 Jul 2013 11:28:49 -0700 (PDT) Date: Wed, 17 Jul 2013 23:58:49 +0530 Message-ID: Subject: [gentoo-user] KVM networking help From: Nilesh Govindrajan To: Gentoo User Mailing List Content-Type: multipart/alternative; boundary=90e6ba3fcd7fcef3f704e1b94342 X-Gm-Message-State: ALoCoQkcC3qzmn2cHvCiC+eVLVDm2iwy7+RO4p7m0TBbMyP2IP9wIfzWKpIuP6hVXx+aC3FMPntJ X-Archives-Salt: eca53560-6a69-4e80-b086-fdd7eff2c114 X-Archives-Hash: 3e46da3b67787d12de54eb27323eb29d --90e6ba3fcd7fcef3f704e1b94342 Content-Type: text/plain; charset=UTF-8 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. --90e6ba3fcd7fcef3f704e1b94342 Content-Type: text/html; charset=UTF-8

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.

--90e6ba3fcd7fcef3f704e1b94342--