Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vde_switch cannot create tap
Date: Thu, 15 Apr 2010 11:03:42
Message-Id: 1271328613.194653.5.camel@paska
In Reply to: Re: [gentoo-user] vde_switch cannot create tap by Xi Shen
1 On Thu, 2010-04-15 at 10:53 +0800, Xi Shen wrote:
2 > bridge allow your vm to connect to the internet directly. the vm will
3 > connect to the dhcp server as your host machine do.
4 >
5 > vde creates a vlan on your host, and your vms connect to that vlan.
6 > and your host machine will act like a gateway to your vm.
7 >
8 > people say vde is easier to config if you have many vms. i actually
9 > never tried bridge. maybe i should try it some time.
10
11 Yeah, libvirt does the same thing. It creates a virtual tap device
12 which you can put your vms on, then it runs dnsmasq on that interface
13 for dhcp/dns, and acts as a NAT/gateway for the vms.
14
15 It's pretty much the same thing AFAICT. I'm sure there are differences
16 but they sound pretty similar to me.