Submitted by chriswik on Fri, 04/13/2012 - 06:12 Pro Licensee
We offer some customers 2 network interfaces on their VMs: one connected to a "public" switch with a public (routable) IP address, another connected to a "private" switch which has no WAN uplink and uses private IP space (eg. 10.1.2.3/24)
Each interface is connected to a different bridge on the XenServer host, in our case xenbr2 is "public" and xenbr3 is "private". xapi1 is our storage network.
Output of brctl show
:
bridge name bridge id STP enabled interfaces
xapi1 0000.001d92eeef45 no bond0
eth1
eth0
xenbr2 0000.001b21ce0133 no eth2
vif1.0
vif2.0
vif4.0
vif5.0
vif6.0
vif7.0
vif8.0
vif8.1
vif9.0
vif10.0
xenbr3 0000.001d92eeef46 no eth3
vif5.1
vif9.1
What we would like is for the bandwidth accounting script to only collect stats for interfaces which are connected to xenbr2 ("public") - this way we can offer unlimited transfer on the private IP network.
Ideally the bridges to include in the bandwidth stats would be selectable on the host configuration page under Network options.
Status:
Closed (fixed)
Comments
Submitted by chriswik on Fri, 04/13/2012 - 09:44 Pro Licensee Comment #1
Oops. Just found the "Bandwidth collection options" form on the Network Interfaces page... I think that will do the trick :-)
Submitted by JamieCameron on Fri, 04/13/2012 - 12:33 Comment #2
Cool .. I was just about to suggest you use those options.
Submitted by JamieCameron on Fri, 04/13/2012 - 12:41 Comment #3
Submitted by SoftDux on Fri, 08/17/2012 - 06:28 Comment #4
Why was this feature removed?
Submitted by JamieCameron on Fri, 08/17/2012 - 11:39 Comment #5
It was never removed - although you won't see the option on a VM with only one interface.