WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Networking: No bridge?

Hi there,
>
> Just wondering if it's possible to set up a network for Xen without a
> bridge - IE, have each of the separate domains get it's own /30 network or
> something along those lines.

You should be able to set up pretty arbitrary configurations...  See below...

> If so, how would I go about doing that? I'm 
> not seeing documentation on how the device is presented to Domain 0.

Each domain network interface is connected to a virtual network interface in 
dom0 by a point to point link.  By default the dom0 bridges its virtual 
interfaces (and thus the domains) together.

Configuration of the virtual interfaces seen by domain 0 is done by shell 
scripts which are called by Xend.  If you want to change the configuration, 
you should just be able to replace the example scripts provided with Xen.

You want to look at:
/etc/xen/xend-config.sxp - tells Xend where to find these shell scripts
/etc/xen/scripts/network - run by Xend when it starts / stops to create / 
destroy the bridge
/etc/xen/scripts/vif-bridge - run by Xend for each VIF to add / remove it to / 
from the bridge

By creating your own derivatives of "network" and "vif-bridge" that accept the 
same set of arguments you should be able to set up whatever network config 
you want.

I think there's (more or less) information about this in the user manual.  Let 
us know if the user manual's missing anything that should be in there.

If you do come up with a cool set of scripts, we'd be interested in 
incorporating them into the release as an alternative configuration.

Cheers,
Mark

> ------------------------------------------------------------------------
>
> | nate carlson | natecars@xxxxxxxxxxxxxxx | http://www.natecarlson.com |
> |       depriving some poor village of its idiot since 1981            |
>
> ------------------------------------------------------------------------
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>