mghofran@caregroup.harvard.edu
2009-May-13 12:37 UTC
[Xen-users] Giving multiple interfaces to a xen guest
Is there a cook book on "How to assign more than one interface card to a xen guest" ? I have seen references in the /etc/xen/scripts dir, but all I want to do is to give eth0 and eth1 in 2 different subnets to my xen guests. I had assumed that the virt-manager would do this for me but I was wrong. Any help or pointing to a previously done script is greatly appreciated. Matthew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Wead, Adam G
2009-May-13 13:21 UTC
Re: [Xen-users] Giving multiple interfaces to a xen guest
Hi Matthew, You'd use the network-bridge script in the scripts directory to create 2 bridges: xenbr0 and xenbr1. Each of these is bridging eth0 and eth1 respectively. Then you'll attach each bridge to the guest in its config file. You should be able to get both bridges to start up at boot by editing the Xen config file in /etc/xen ...adam On May 13, 2009, at 8:37, "<mailto:mghofran@caregroup.harvard.edu>mghofran@caregroup.harvard.edu<mailto:mghofran@caregroup.harvard.edu>" <<mailto:mghofran@caregroup.harvard.edu>mghofran@caregroup.harvard.edu<mailto:mghofran@caregroup.harvard.edu>> wrote: Is there a cook book on “How to assign more than one interface card to a xen guest” ? I have seen references in the /etc/xen/scripts dir, but all I want to do is to give eth0 and eth1 in 2 different subnets to my xen guests. I had assumed that the virt-manager would do this for me but I was wrong. Any help or pointing to a previously done script is greatly appreciated. Matthew _______________________________________________ Xen-users mailing list <mailto:Xen-users@lists.xensource.com>Xen-users@lists.xensource.com<mailto:Xen-users@lists.xensource.com> <http://lists.xensource.com/xen-users>http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mghofran@caregroup.harvard.edu
2009-May-13 14:10 UTC
RE: [Xen-users] Giving multiple interfaces to a xen guest
Is there a more verbose solution to this? What should I change and how?...It looks rather confusing. ________________________________ From: Wead, Adam G [mailto:awead@indiana.edu] Sent: Wednesday, May 13, 2009 9:22 AM To: Ghofrani,Matthew (Systems Engineer) Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Giving multiple interfaces to a xen guest Hi Matthew, You''d use the network-bridge script in the scripts directory to create 2 bridges: xenbr0 and xenbr1. Each of these is bridging eth0 and eth1 respectively. Then you''ll attach each bridge to the guest in its config file. You should be able to get both bridges to start up at boot by editing the Xen config file in /etc/xen ...adam On May 13, 2009, at 8:37, " <mailto:mghofran@caregroup.harvard.edu> mghofran@caregroup.harvard.edu" < <mailto:mghofran@caregroup.harvard.edu> mghofran@caregroup.harvard.edu> wrote: Is there a cook book on "How to assign more than one interface card to a xen guest" ? I have seen references in the /etc/xen/scripts dir, but all I want to do is to give eth0 and eth1 in 2 different subnets to my xen guests. I had assumed that the virt-manager would do this for me but I was wrong. Any help or pointing to a previously done script is greatly appreciated. Matthew _______________________________________________ Xen-users mailing list <mailto:Xen-users@lists.xensource.com> Xen-users@lists.xensource.com <http://lists.xensource.com/xen-users> http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Peter Booth
2009-May-13 14:43 UTC
Re: [Xen-users] Giving multiple interfaces to a xen guest
The Running Xen book explains this in excellent detail. Sent from my iPhone On May 13, 2009, at 10:10 AM, mghofran@caregroup.harvard.edu wrote:> Is there a more verbose solution to this? What should I change and > how?...It looks rather confusing. > > > > From: Wead, Adam G [mailto:awead@indiana.edu] > Sent: Wednesday, May 13, 2009 9:22 AM > To: Ghofrani,Matthew (Systems Engineer) > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Giving multiple interfaces to a xen guest > > > > Hi Matthew, > > > > You''d use the network-bridge script in the scripts directory to > create 2 bridges: xenbr0 and xenbr1. Each of these is bridging eth0 > and eth1 respectively. Then you''ll attach each bridge to the guest > in its config file. > > > > You should be able to get both bridges to start up at boot by > editing the Xen config file in /etc/xen > > ...adam > > > On May 13, 2009, at 8:37, "mghofran@caregroup.harvard.edu" <mghofran@caregroup.harvard.edu > > wrote: > >> Is there a cook book on “How to assign more than one interface car >> d to a xen guest” ? I have seen references in the /etc/xen/scripts >> dir, but all I want to do is to give eth0 and eth1 in 2 different >> subnets to my xen guests. I had assumed that the virt-manager wou >> ld do this for me but I was wrong. Any help or pointing to a previ >> ously done script is greatly appreciated. >> >> >> >> Matthew >> >> >> > >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2009-May-13 14:54 UTC
RE: [Xen-users] Giving multiple interfaces to a xen guest
mghofran@caregroup.harvard.edu wrote:>Is there a more verbose solution to this? What should I change and >how?...It looks rather confusing.Yeah, Xen networking does take a bit of getting used to. For the specific query, go to http://wiki.xensource.com/xenwiki/XenNetworking and look under "Additional Notes" under "Bridging" (or search for "(network-script my-network-script)". There is a step by step guide to doing it. Assuming you are using Xen 3.0 or 3.2, then follow the steps listed under "With Xen 3.0 the best method ..." or "With Xen 3.2.1" -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
mghofran@caregroup.harvard.edu
2009-May-13 15:20 UTC
RE: [Xen-users] Giving multiple interfaces to a xen guest
Thank you Pter & Simon.....I see that I have a lot to read but the link Simon provided looks very promising http://wiki.xensource.com/xenwiki/XenNetworking ________________________________ From: Peter Booth [mailto:peter_booth@mac.com] Sent: Wednesday, May 13, 2009 10:44 AM To: Ghofrani,Matthew (Systems Engineer) Cc: awead@indiana.edu; xen-users@lists.xensource.com Subject: Re: [Xen-users] Giving multiple interfaces to a xen guest The Running Xen book explains this in excellent detail. Sent from my iPhone On May 13, 2009, at 10:10 AM, mghofran@caregroup.harvard.edu wrote: Is there a more verbose solution to this? What should I change and how?...It looks rather confusing. ________________________________ From: Wead, Adam G [mailto:awead@indiana.edu] Sent: Wednesday, May 13, 2009 9:22 AM To: Ghofrani,Matthew (Systems Engineer) Cc: <mailto:xen-users@lists.xensource.com> xen-users@lists.xensource.com Subject: Re: [Xen-users] Giving multiple interfaces to a xen guest Hi Matthew, You''d use the network-bridge script in the scripts directory to create 2 bridges: xenbr0 and xenbr1. Each of these is bridging eth0 and eth1 respectively. Then you''ll attach each bridge to the guest in its config file. You should be able to get both bridges to start up at boot by editing the Xen config file in /etc/xen ...adam On May 13, 2009, at 8:37, " <mailto:mghofran@caregroup.harvard.edu> <mailto:mghofran@caregroup.harvard.edu> mghofran@caregroup.harvard.edu" < <mailto:mghofran@caregroup.harvard.edu> <mailto:mghofran@caregroup.harvard.edu> mghofran@caregroup.harvard.edu> wrote: Is there a cook book on "How to assign more than one interface card to a xen guest" ? I have seen references in the /etc/xen/scripts dir, but all I want to do is to give eth0 and eth1 in 2 different subnets to my xen guests. I had assumed that the virt-manager would do this for me but I was wrong. Any help or pointing to a previously done script is greatly appreciated. Matthew _______________________________________________ Xen-users mailing list <mailto:Xen-users@lists.xensource.com> <mailto:Xen-users@lists.xensource.com> Xen-users@lists.xensource.com <http://lists.xensource.com/xen-users> <http://lists.xensource.com/xen-users> http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users