Hi I have 3 nics, 1 onboard nic and 2 other add-in cards. I want to use VT-d to hide the add-in nics. When I boot into Xen, i only see eth0 (the onboard nic). The other two nics are hidden from dom0. -------- Great so far.... Now I start xend and behold, it creates xenbr1 and xenbr2. I do NOT want those to be created. In fact I removed the (network-script network-bridge) from xend-config.sxp also. but the bridges get created. How do I delete them? brctl shows bridge name bridge id STPenabled interfaces xenbr0 8000.000000000000 no xenbr1 8000.000000000000 no xenbr2 8000.000000000000 no if i do "brctl delbr xenbr1">xenbr1 is still up: can''t delete it.and ifdown xenbr1> <usage> ifdown <device name>So basically i can''t get rid of xenbr1 and xenbr2. ( never needed them in the first place). and it appears that xenbr1 and xenbr2 are tied to the two add-in nics and hence the guest cannot use those nics. Questions: Is there a simple way to tell Xend NOT to create any bridges? It is picking the interfaces from somewhere? Thanks in advance for your help -Prabha _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
[...]> > brctl shows > > bridge name bridge id STPenabled > interfaces > xenbr0 8000.000000000000 no > xenbr1 8000.000000000000 no > xenbr2 8000.000000000000 no > > if i do "brctl delbr xenbr1" > >xenbr1 is still up: can''t delete it. > and ifdown xenbr1 > > <usage> ifdown <device name> > > So basically i can''t get rid of xenbr1 and xenbr2. ( never needed them in > the first place). and it appears that xenbr1 and xenbr2 are tied to the two > add-in nics and hence the guest cannot use those nics. > > Questions: Is there a simple way to tell Xend NOT to create any bridges? It > is picking the interfaces from somewhere?it picking them up from /etc/xen/scripts/* by using network-bridge and vif-bridge scripts.You can replace them with your own scripts in xend-config.sxp for invocation. HTH Thanks, --Pradeep> > Thanks in advance for your help > -Prabha > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >-- Pradeep Singh Rautela http://eagain.wordpress.com http://emptydomain.googlepages.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks as i said i do not have the network-bridge script invoked at all in xend-config.sxp and if i am using direct assignment of devices can i do away with the vif-bridges cript altogether. Can you please give me an exampe of the vif-bridge custom script. thanks -Prabha -------------- Original message -------------- From: "pradeep singh rautela" <rautelap@gmail.com>> [...] > > > > brctl shows > > > > bridge name bridge id STPenabled > > interfaces > > xenbr0 8000.000000000000 no > > xenbr1 8000.000000000000 no > > xenbr2 8000.000000000000 no > > > > if i do "brctl delbr xenbr1" > > >xenbr1 is still up: can''t delete it. > > and ifdown xenbr1 > > > ifdown > > > > So basically i can''t get rid of xenbr1 and xenbr2. ( never needed them in > > the first place). and it appears that xenbr1 and xenbr2 are tied to the two > > add-in nics and hence the guest cannot use those nics. > > > > Questions: Is there a simple way to tell Xend NOT to create any bridges? It > > is picking the interfaces from somewhere? > > it picking them up from /etc/xen/scripts/* by using network-bridge and > vif-bridge scripts.You can replace them with your own scripts in > xend-config.sxp for invocation. > > HTH > > Thanks, > --Pradeep > > > > Thanks in advance for your help > > -Prabha > > > > > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > > -- > Pradeep Singh Rautela > http://eagain.wordpress.com > http://emptydomain.googlepages.com > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, On Feb 13, 2008 12:41 AM, <pak333@comcast.net> wrote:> > Hi > > I have 3 nics, 1 onboard nic and 2 other add-in cards. I want to use VT-d to > hide the add-in nics. > > When I boot into Xen, i only see eth0 (the onboard nic). > The other two nics are hidden from dom0. -------- Great so far.... > > Now I start xend and behold, it creates xenbr1 and xenbr2. I do NOT want > those to be created. In fact I removed the (network-script network-bridge) > from xend-config.sxp also. but the bridges get created. > How do I delete them? > > brctl shows > > bridge name bridge id STPenabled > interfaces > xenbr0 8000.000000000000 no > xenbr1 8000.000000000000 no > xenbr2 8000.000000000000 no > > if i do "brctl delbr xenbr1" > >xenbr1 is still up: can''t delete it. > and ifdown xenbr1 > > <usage> ifdown <device name> >ip link set xenbr1 down brctl delbr xenbr> So basically i can''t get rid of xenbr1 and xenbr2. ( never needed them in > the first place). and it appears that xenbr1 and xenbr2 are tied to the two > add-in nics and hence the guest cannot use those nics. > > Questions: Is there a simple way to tell Xend NOT to create any bridges? It > is picking the interfaces from somewhere? >check in ifconfig -a. I have seen in some cases that the hiding doesn''t seem to be fully working. Regards, Todd> Thanks in advance for your help > -Prabha > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
THANK YOU Todd, it worked. I am so happy after struggling with this for so many days. Regards -Prabha -------------- Original message -------------- From: "Todd Deshane" <deshantm@gmail.com>> Hi, > > On Feb 13, 2008 12:41 AM, wrote: > > > > Hi > > > > I have 3 nics, 1 onboard nic and 2 other add-in cards. I want to use VT-d to > > hide the add-in nics. > > > > When I boot into Xen, i only see eth0 (the onboard nic). > > The other two nics are hidden from dom0. -------- Great so far.... > > > > Now I start xend and behold, it creates xenbr1 and xenbr2. I do NOT want > > those to be created. In fact I removed the (network-script network-bridge) > > from xend-config.sxp also. but the bridges get created. > > How do I delete them? > > > > brctl shows > > > > bridge name bridge id STPenabled > > interfaces > > xenbr0 8000.000000000000 no > > xenbr1 8000.000000000000 no > > xenbr2 8000.000000000000 no > > > > if i do "brctl delbr xenbr1" > > >xenbr1 is still up: can''t delete it. > > and ifdown xenbr1 > > > ifdown > > > > > ip link set xenbr1 down > brctl delbr xenbr > > > > So basically i can''t get rid of xenbr1 and xenbr2. ( never needed them in > > the first place). and it appears that xenbr1 and xenbr2 are tied to the two > > add-in nics and hence the guest cannot use those nics. > > > > Questions: Is there a simple way to tell Xend NOT to create any bridges? It > > is picking the interfaces from somewhere? > > > > > check in ifconfig -a. I have seen in some cases that the hiding > doesn''t seem to be fully working. > > > Regards, > Todd > > > > > > Thanks in advance for your help > > -Prabha > > > > > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel