[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.