I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. I can do an SSH to Dom0 and do a ping from there to DomU''s and get a reply. I want to use these 4 lan cards 1 for each machine.How many bridges do I need? What do I need to configure ? Can some one send their sample configuration files like bridges etc that I should read as example? -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Donny Brooks
2010-Apr-09 13:14 UTC
Re: [Xen-users] using 4 lan cards how many bridges needed
I too am wondering about this. We have a T710, just in a rack mount configuration. I would like to be able to have the 4 different interfaces on 4 different vlans. I currently have the 10.8.3.X range on the machine since the Dom0''s IP is on that vlan. I also need to be able to have machines on the 10.8.2.X range. If someone could point us in the general direction, I sure would be appreciative. BTW, running 3.4.2 from gitco repo on centos 5.4. -- Donny B. On Friday, April 09, 2010 06:05 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote:> I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. > > I can do an SSH to Dom0 and do a ping from there to DomU''s and get a reply. > I want to use these 4 lan cards 1 for each machine.How many bridges do I need? > What do I need to configure ? > > Can some one send their sample configuration files like bridges etc > that I should read as example? > > -- > Tapas > > _______________________________________________ > 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
Tapas Mishra
2010-Apr-09 13:30 UTC
Re: [Xen-users] using 4 lan cards how many bridges needed
Well I am going through this page http://wiki.xensource.com/xenwiki/XenNetworking lets see if some one comes up. I right now have changed the bridge name but the same does not seems to reflect. In the file /etc/xen/xend-config.sxp I tried to have a bridge of my name so I edited them as follows # The bridge is named xenbr0, by default. To rename the bridge, use # # (network-script ''network-bridge bridge=<name>'') #### Tapas made changes (network-script ''network-bridge bridge=tapas'') I did rebooted my server but then when I do brctl show bridge name bridge id STP enabled interfaces eth2 8000.0026b9824238 no peth2 I can not rename it. The wiki page mentions that in Xen-3.3 the default name of bridge is same as your interface is but I am using xen-3.2. Debian Lenny Amd64. openworld:~# uname -r 2.6.26-2-xen-amd64 and more openworld:~# xm info host : openworld release : 2.6.26-2-xen-amd64 version : #1 SMP Wed Mar 10 00:29:48 UTC 2010 machine : x86_64 nr_cpus : 8 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 2 cpu_mhz : 2261 hw_caps : bfebfbff:28100800:00000000:00000140:009ce3bd:00000000:00000001 total_memory : 8182 free_memory : 128 node_to_cpu : node0:0-7 xen_major : 3 xen_minor : 2 xen_extra : -1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.3.1 (Debian 4.3.1-2) cc_compile_by : waldi cc_compile_domain : debian.org cc_compile_date : Sat Jun 28 09:32:18 UTC 2008 xend_config_format : 4 On Fri, Apr 9, 2010 at 6:44 PM, Donny Brooks <dbrooks@mdah.state.ms.us> wrote:> I too am wondering about this. We have a T710, just in a rack mount configuration. I would like to be able to have the 4 different interfaces on 4 different vlans. I currently have the 10.8.3.X range on the machine since the Dom0''s IP is on that vlan. I also need to be able to have machines on the 10.8.2.X range. If someone could point us in the general direction, I sure would be appreciative. > > BTW, running 3.4.2 from gitco repo on centos 5.4. > > > -- > > Donny B. > > On Friday, April 09, 2010 06:05 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote: > >> I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. >> >> I can do an SSH to Dom0 and do a ping from there to DomU''s and get a reply. >> I want to use these 4 lan cards 1 for each machine.How many bridges do I need? >> What do I need to configure ? >> >> Can some one send their sample configuration files like bridges etc >> that I should read as example? >> >> -- >> Tapas >> >> _______________________________________________ >> 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 >-- Tapas +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
J. Roeleveld
2010-Apr-09 13:52 UTC
Re: [Xen-users] using 4 lan cards how many bridges needed
On Friday 09 April 2010 13:05:55 Tapas Mishra wrote:> I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. > > I can do an SSH to Dom0 and do a ping from there to DomU''s and get a > reply. I want to use these 4 lan cards 1 for each machine.How many > bridges do I need? What do I need to configure ? > > Can some one send their sample configuration files like bridges etc > that I should read as example? >In my xend-config.sxp: ... (network-script ''network-bridge netdev=dummy0 bridge=dmz2br'') .... I only have one bridge configured in that file, not sure how to get multiple bridges done there. The other bridges are created in a seperate init-script: -- brctl addbr dmz1br brctl addbr lanbr brctl addbr netbr ifconfig dmz1br up ifconfig lanbr up ifconfig netbr up ifconfig net up ifconfig lan up brctl addif netbr net brctl addif lanbr lan -- Please note, I rename my Network interfaces to specify which they are. Bridges end with "br". "net" and "lan" are physical interfaces. "dummy0" is only internal, and linked to the "dmz2" network. I have 4 seperate network in this machine, to seperate the different machines, originally, all the VMs were originally physical machines that I moved onto a single machine, but kept the original seperation and network-layout. In the domU-configurations, I specify which bridge to link the network- device(s) to. HTH, Joost Roeleveld _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-Apr-09 14:07 UTC
Re: [Xen-users] using 4 lan cards how many bridges needed
I found one useful article which shows some thing about using multiple lan cards on Xen just go through it once I am also trying it. http://www.debian-administration.org/articles/470 On Fri, Apr 9, 2010 at 7:22 PM, J. Roeleveld <joost@antarean.org> wrote:> On Friday 09 April 2010 13:05:55 Tapas Mishra wrote: >> I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. >> >> I can do an SSH to Dom0 and do a ping from there to DomU''s and get a >> reply. I want to use these 4 lan cards 1 for each machine.How many >> bridges do I need? What do I need to configure ? >> >> Can some one send their sample configuration files like bridges etc >> that I should read as example? >> > > In my xend-config.sxp: > ... > (network-script ''network-bridge netdev=dummy0 bridge=dmz2br'') > .... > > I only have one bridge configured in that file, not sure how to get multiple > bridges done there. > The other bridges are created in a seperate init-script: > -- > brctl addbr dmz1br > brctl addbr lanbr > brctl addbr netbr > > ifconfig dmz1br up > ifconfig lanbr up > ifconfig netbr up > > ifconfig net up > ifconfig lan up > > brctl addif netbr net > brctl addif lanbr lan > -- > > Please note, I rename my Network interfaces to specify which they are. > Bridges end with "br". > > "net" and "lan" are physical interfaces. > "dummy0" is only internal, and linked to the "dmz2" network. > > I have 4 seperate network in this machine, to seperate the different machines, > originally, all the VMs were originally physical machines that I moved onto a > single machine, but kept the original seperation and network-layout. > > In the domU-configurations, I specify which bridge to link the network- > device(s) to. > > HTH, > > Joost Roeleveld > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Tapas +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Donny Brooks
2010-Apr-09 15:13 UTC
Re: [Xen-users] using 4 lan cards how many bridges needed
That sounds similar to what I need, except all I need is to add the capability to have machines on different networks. Not necessarily keep them from seeing each other. -- Donny B. On Friday, April 09, 2010 09:07 AM CDT, Tapas Mishra <mightydreams@gmail.com> wrote:> I found one useful article which shows some thing about using multiple > lan cards on Xen > just go through it once I am also trying it. > http://www.debian-administration.org/articles/470 > > On Fri, Apr 9, 2010 at 7:22 PM, J. Roeleveld <joost@antarean.org> wrote: > > On Friday 09 April 2010 13:05:55 Tapas Mishra wrote: > >> I have 4 LAN cards on Dell PowerEdge R710.Running Xen on it with 4 VMs. > >> > >> I can do an SSH to Dom0 and do a ping from there to DomU''s and get a > >> reply. I want to use these 4 lan cards 1 for each machine.How many > >> bridges do I need? What do I need to configure ? > >> > >> Can some one send their sample configuration files like bridges etc > >> that I should read as example? > >> > > > > In my xend-config.sxp: > > ... > > (network-script ''network-bridge netdev=dummy0 bridge=dmz2br'') > > .... > > > > I only have one bridge configured in that file, not sure how to get multiple > > bridges done there. > > The other bridges are created in a seperate init-script: > > -- > > brctl addbr dmz1br > > brctl addbr lanbr > > brctl addbr netbr > > > > ifconfig dmz1br up > > ifconfig lanbr up > > ifconfig netbr up > > > > ifconfig net up > > ifconfig lan up > > > > brctl addif netbr net > > brctl addif lanbr lan > > -- > > > > Please note, I rename my Network interfaces to specify which they are. > > Bridges end with "br". > > > > "net" and "lan" are physical interfaces. > > "dummy0" is only internal, and linked to the "dmz2" network. > > > > I have 4 seperate network in this machine, to seperate the different machines, > > originally, all the VMs were originally physical machines that I moved onto a > > single machine, but kept the original seperation and network-layout. > > > > In the domU-configurations, I specify which bridge to link the network- > > device(s) to. > > > > HTH, > > > > Joost Roeleveld > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > Tapas > > +91 8971248477 > > _______________________________________________ > 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