[libvirt-users] Setup a network

Felix Blanke felixblanke at gmail.com
Wed Mar 14 21:24:47 UTC 2012


Hello,

this isn't a bug report or an advanced usage question. This is just a 
question from a noob who is new to kvm and needs some help to setup a 
network between the host and the guests. If you're willing to spend a 
little time to help me out please continue reading :)

See the attached image for more information. I have a host running with 
a public ip adress. I want to setup some vm for different tasks 
(webserver, mailserver, database, fileserver). I need to setup a network 
where the host can speak to the guests, the guest can speak to each 
other and the guests can speak to the host (meaning to the internet). 
The host also works as a firewall.

Some examples:

A) A package for the webserver (port 80) needs to be routed fron the 
host to the vm1.

B) The mailserver needs to access the database.

C) The mailserver needs to access the internet for sending an email.

So every vm needs one interface. I don't know if it would work if I 
setup one virtual switch for the guest interconnections and use the host 
as a router to route the different ports to the vm interfaces.


I hope this wasn't so confusing :) What would be the best way to 
accomplish my goal using virt-install and virsh. Thanks for everyone who 
is trying to help me out.


Kind regards,
Felix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.pdf
Type: application/pdf
Size: 191102 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120314/041eb636/attachment.pdf>


More information about the libvirt-users mailing list