Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] KVM networking help
Date: Thu, 18 Jul 2013 04:05:07
Message-Id: 51E7694A.8080102@iinet.net.au
In Reply to: [gentoo-user] KVM networking help by Nilesh Govindrajan
1 have a look at openvswitch ... gives more flexibility and is relatively
2 easy to use. I am using fake-bridges with vlans for something like this
3 (mythbackend running in a vm on a media vlan with a hdhomerun and other
4 frontends, and a public vlan for other traffic)
5
6 BillK
7
8 On 18/07/13 02:28, Nilesh Govindrajan wrote:
9 >
10 > Hi,
11 >
12 > I need some help settling up networking with KVM machines.
13 >
14 > I have one public interface with four publicly accessible IPs.
15 >
16 > I want to run a private virtual network for the VMs, such that every
17 > VM can access every other VM and host, also host can access every VM
18 > (required for NAT).
19 >
20 > So far I tried this:
21 >
22 > Create two tap interfaces.
23 > Add them to a bridge
24 > Assign IP to bridge
25 > Set different MACs for VMs' NICs.
26 >
27 > This let's me access one VM to another also VM to host (not sure about
28 > this, ping works).
29 > But I'm not able to use host to VM (ping works), I'm not able to
30 > connect to sshd running inside VM from host.
31 >