Hi all, I am working on a Xen project using three bridges to interconnect several VMs. This is actually a migration from User Mode Linux. In the UML setup three uml_switch daemons were run in hub mode. I need hubs instead of switches. Does anybody know if a similar setup is also possible with Xen? Thanks Adrian Lambeck _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 4/18/07, adrian@basicsedv.de <adrian@basicsedv.de> wrote:> I need hubs instead of switches.What do you mean exactly? Can you specify which exact behaviour/functionality you are missing?> Does anybody know if a similar setup is also possible with Xen?In general, Xen networking has a routed, natted, and bridged mode. Things that are supported by the Linux Kernel. It might exist but I don''t know of "hub" networking functions in the kernel. If there''s Kernel function for it, and userspace tools to administer them, you can write your own network script. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang schrieb:> On 4/18/07, adrian@basicsedv.de <adrian@basicsedv.de> wrote: >> I need hubs instead of switches. > > What do you mean exactly? Can you specify which exact > behaviour/functionality you are missing?What I mean is that the bridge is too smart - it works like a switch by sending the packets to the "port" they are supposed to be send to. I need a hub instead so that all hosts will receive all packages.> >> Does anybody know if a similar setup is also possible with Xen? > > In general, Xen networking has a routed, natted, and bridged mode. > Things that are supported by the Linux Kernel. It might exist but I > don''t know of "hub" networking functions in the kernel. If there''s > Kernel function for it, and userspace tools to administer them, you > can write your own network script.Ok, I didn`t mean these functions - I am using bridged mode but I am asking for a possibility for the bridge to act like a hub. Adrian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey, I think I found a solution to this problem which is even better. The uml_switch was taken as a base for the vde project: http://vde.sourceforge.net/. They added support for i.e. QEMU so maybe it also works with Xen and for sure with KVM. The really cool part is, that the user can specifiy additional properties of the links between host i.e. timings and packet loss - that''s what I needed for my project... Adrian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users