[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] several guests with static ip-address
From: |
Henrik Nordstrom |
Subject: |
Re: [Qemu-devel] several guests with static ip-address |
Date: |
Wed, 26 Oct 2005 07:59:18 +0200 (CEST) |
On Tue, 25 Oct 2005, Michael wrote:
is it possible, that several (for example two) guests communicate to one
qemu host, which has only one network interface and every os has it's
own static ip-address?
Yes, with TUN networking this works fine. Have used this in
- bridged including the host interface, giving each QEMU a static ip on
the LAN.
- non-bridged, routing via the host, with masquerade firewall rules on
the host to allow traffic to the LAN. Each qemu in a separate network to
simplify the host side.
- vde, routing via the host, with masquerade firewall rules on the host
for allowing traffic to the LAN. All the qemu instances in the same
network (but different host addresses).
- bridged, not including the host interface. Same as vde.
All this is with only one network interface on the host.
Note: when using tun, each qemu instance gets it's own virtual tun/tap
interface on the host.
Note2: The vde based setup is generally the simplest to get correct.
Regards
Henrik