Hi all, please, can anyone help me with XEN setting to fit the requirements described below? The think is that I''m not sure whether I should use XEN in router or bridged mode, so I''ll describe my situation and will appreciate any advices... The situation is: I want to have several physical machines, each running several virtual machines. Let''s see on the example: Phys. machine A VMs: A.dom0, A.VM1, A.VM2, ... A.VMx Phys. machine B VMs: B.dom0, B.VM1, B.VM2, ... B.VMy Requirements: 1. All data sent from A.VMi and destined anywhere I want to see in A.dom0 and using iptables and DNAT change their destination. Similarly to data sent from B.VMj---their destination should be changed by B.dom0. 2. Virtual machines B.VMj should be accesible from A.dom0 directly so that all data sent from A.dom0 should (if possible) be directly sent to B.VMj (without any iptables rules or smthg similar in B.dom0). Similarly, all data sent from B.dom0 should be directly sent to A.VMi... Please, can anyone help me and give me an advice how to set up XEN to fit described situation? Whether the bridged mode with iptables enabled or the routed mode is better? Thank you all very much! Tom. --- "Nikdy neni tak spatne, aby nemohlo byt jeste hur!" --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le Wed, Aug 08, 2007 at 11:24:36AM +0200, Tomas Rebok [xrebok@fi.muni.cz] a écrit:> Hi all, > > please, can anyone help me with XEN setting to fit the requirements > described below? The think is that I''m not sure whether I should use XEN > in router or bridged mode, so I''ll describe my situation and will > appreciate any advices... > > The situation is: I want to have several physical machines, each running > several virtual machines. Let''s see on the example: > Phys. machine A VMs: A.dom0, A.VM1, A.VM2, ... A.VMx > Phys. machine B VMs: B.dom0, B.VM1, B.VM2, ... B.VMy > > > Requirements: > 1. All data sent from A.VMi and destined anywhere I want to see in A.dom0 > and using iptables and DNAT change their destination. Similarly to data > sent from B.VMj---their destination should be changed by B.dom0.For this, you need a setup with routing. In pure bridge mode, you can''t have DNAT applied.> 2. Virtual machines B.VMj should be accesible from A.dom0 directly so that > all data sent from A.dom0 should (if possible) be directly sent to B.VMj > (without any iptables rules or smthg similar in B.dom0). Similarly, all > data sent from B.dom0 should be directly sent to A.VMi...This should be possible with routed mode. You can also setup a second bridge (and second eth interface on A and B) if you really want to have a "shortcut" between A vms and B vms Dom -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
First, thank you Dominique for your answer.> > The situation is: I want to have several physical machines, each running > > several virtual machines. Let''s see on the example: > > Phys. machine A VMs: A.dom0, A.VM1, A.VM2, ... A.VMx > > Phys. machine B VMs: B.dom0, B.VM1, B.VM2, ... B.VMy > > > > Requirements: > > 1. All data sent from A.VMi and destined anywhere I want to see in A.dom0 > > and using iptables and DNAT change their destination. Similarly to data > > sent from B.VMj---their destination should be changed by B.dom0. > > For this, you need a setup with routing. > In pure bridge mode, you can''t have DNAT applied.Why DNAT can''t be applied in bridged mode? As far as I know there is a possibility to be able to have packets in iptables visible (and be able to apply their rules to them). Or is there any other problem I do not know? And are there any (network) performance losses when using Xen in routed mode compared to Xen in bridged mode? Thank you in advance! Tom. --- "Nikdy neni tak spatne, aby nemohlo byt jeste hur!" --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi all, does anyboy know whether the domU kernels "kernel-xenU-2.6.9*" at the following url http://www.xensource.com/download/dl_304guest_rhel4.html have been been compiled with modules ? I can''t use lsmod command on the domU. Cheers. Danilo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users