Hey all, 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. If so, how would I go about doing that? I''m not seeing documentation on how the device is presented to Domain 0. ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@natecarlson.com | 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@lists.sourceforge.net > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 8 Nov 2004, Mark A. Williamson wrote:> 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.Great! <..>> 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.I looked at the networking section, and didn''t see a clear explanation of this. The explanation you gave above is very clear; might be good to just add it to the docs. :)> 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.Once I actually get Xen running to start with, I''ll see what I can do. :) ------------------------------------------------------------------------ | nate carlson | natecars@natecarlson.com | 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I looked at the networking section, and didn''t see a clear explanation of > this. The explanation you gave above is very clear; might be good to just > add it to the docs. :)Added some discussion of the topology to put the rest in context - thanks. Cheers, Mark ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel