Bandwidth monthly transfer

FcbInfo

Renowned Member
Dec 21, 2012
107
0
81
Hello guys. Im an old user of SolusVM, but now, i want to change to ProxMox.

There is anyway to do VMs with 100mbit connection but with monthly limit?

A VM with 500GB monthly transfer, and when this get that limit, connection go to slower transfer speed like 2 or 3mbit.

Is there anyone who knows any software that I can install on the node to do this? I basically just can not use the Proxmox because of this. If I can limit the transfer monthly, I will migrate my server.

I know many people will answer this by saying that I can lower the speed of the network, but I need it to 100Mbit and monthly transfer limit.

=)
 
Hi, I don't know if I can help but it could be interesting to use pfsense for monitoring all you vm/ct and to apply a "penalty" box if the bandwidth limiti is reached:

- http://doc.pfsense.org/index.php/Traffic_Shaping_Guide
- http://skear.hubpages.com/hub/How-to-Configure-Deep-Packet-Inspection-Using-pfSense#
- http://fafadiatech.blogspot.it/2012/05/build-your-own-unified-threat.html

Another thing that I can immage to do is to create a script inside proxmox to check everyday usage:

http://lifehacker.com/5917367/how-can-i-find-out-how-much-bandwidth-im-using-at-home

I'm very interested to this argument. Please send me a post if you want to collaborate to find the best solution.

Sincerely,
Emanuele Bruno.
 
Hello guys. Im an old user of SolusVM, but now, i want to change to ProxMox.

There is anyway to do VMs with 100mbit connection but with monthly limit?

A VM with 500GB monthly transfer, and when this get that limit, connection go to slower transfer speed like 2 or 3mbit.

Is there anyone who knows any software that I can install on the node to do this? I basically just can not use the Proxmox because of this. If I can limit the transfer monthly, I will migrate my server.

I know many people will answer this by saying that I can lower the speed of the network, but I need it to 100Mbit and monthly transfer limit.

=)


Ya im a old solusvm guy to and do miss being able to set bw limits. makes it hard to sell vps's with proxmox when you cant set a limit and the client cant check to see how much he is using.
 
Ya im a old solusvm guy to and do miss being able to set bw limits. makes it hard to sell vps's with proxmox when you cant set a limit and the client cant check to see how much he is using.

I have found this solution: http://www.torrkish.com/attachments/article/54/zoidtraf.pdf


M.S.Muradoglu said:
The SB will record the amounts of data being transmitted from its local interface (eth0) to individual users in the LAN. The recorded data will reflect
the downloaded amount for each user. If the user exceeds his download quota for the month, the SB will implement a QoS lter to limit the transmission rate
on the local interface (eth0) to that user.
Senzanome.png
View attachment zoidtraf-latest.zip
http://www.torrkish.com/attachments/article/54/zoidtraf.pdf
 
Last edited:
Hi Guys,
I think it should be possible with some little scripts.
you can get full vm stats with api (#pvesh get /cluster/resource).
netin/netout values are total bytes transferred since vm start.
 
We give each VM its own vlan -
This makes things much easier - as we can catalog the in/out from the switch.
Thus making billing much more simple
Furthermore - we can control the speed to that vlan on the switch as well.
We are using hostbillapp to control the switch - might be worth poking at if you need a solution (not expensive - but not cheap if you cannot afford the hostbillapp modules at a cost of $600 or so total)
 
Simple answer: No...

In theory: Yes this should work.

My Advice: if you are running a node with small amount of vms using iptables TC ( traffic Control ) filters should work... If you have large amounts of vms on your node this is not the way to go... (if someone can prove me wrong or can get this to work I will pay you send me an email crivera@fortatrust.com)

We had 50+ vms on a node trying to use TC and even ip addresses that were not related to TC modules such as the host node because running into issues like packet loss.... loss in connectivity... Lucky i was here in the dc when i ran the rules to remove them to get everything to come back to normal.

I am planning on working on a new network setup to use 2 nics

1 nic for proxmox interface - 1gbps
1 nic for vm interface - 100mbps

then limit how many vms you add on the host node.... if you have vms who need to burst 100mbps this will not work, but this is how we are going to limit the client vms.

We have been having large issues where client vms are getting incoming DDoS of 4gbps.... broadcast attacks across all servers on the same vlan.

If anyone has a solution please let us know.
 
Ya im a old solusvm guy to and do miss being able to set bw limits. makes it hard to sell vps's with proxmox when you cant set a limit and the client cant check to see how much he is using.

Well I did find a awesome script that lets you see the daily and monthly bw for the vps. As well as nice graphs of there usage. Would be awesome if we could replace this one with the one inside proxmox now. If i knew how i would lol.

I just opened mine up so you can look at it

https://50.2.8.66:8006/vzmonitor/bandwidth.php?name=vps-193

Can see the stats for all vps's or just one at a time and get a further breakdown.

Now to remember where I found that script and post it in this post :)

http://www.aip.im/2010/08/monitoring...ers-bandwidth/
 
Last edited:
Hi all,

this is a very nice Script. Can proxmox team include this in proxmox for users please? We have create a request in tracker here. Please vote for this. Very thanks.
https://bugzilla.proxmox.com/show_bug.cgi?id=310

regards

Simple answer: No...

In theory: Yes this should work.

My Advice: if you are running a node with small amount of vms using iptables TC ( traffic Control ) filters should work... If you have large amounts of vms on your node this is not the way to go... (if someone can prove me wrong or can get this to work I will pay you send me an email crivera@fortatrust.com)

We had 50+ vms on a node trying to use TC and even ip addresses that were not related to TC modules such as the host node because running into issues like packet loss.... loss in connectivity... Lucky i was here in the dc when i ran the rules to remove them to get everything to come back to normal.

I am planning on working on a new network setup to use 2 nics

1 nic for proxmox interface - 1gbps
1 nic for vm interface - 100mbps

then limit how many vms you add on the host node.... if you have vms who need to burst 100mbps this will not work, but this is how we are going to limit the client vms.

We have been having large issues where client vms are getting incoming DDoS of 4gbps.... broadcast attacks across all servers on the same vlan.

If anyone has a solution please let us know.
 
Hi all,

this is a very nice Script. Can proxmox team include this in proxmox for users please? We have create a request in tracker here. Please vote for this. Very thanks.
https://bugzilla.proxmox.com/show_bug.cgi?id=310

regards


Descriptioncoding 2013-01-05 13:41:36 CET

a nice feature was, to set a limit of gb or tb for a vm as traffic limit.
Comment 1coding 2013-02-07 18:31:01 CET

http://www.aip.im/2010/08/monitoring-proxmox-openvz-containers-bandwidth/this is a statistic mod, please include this for users. Very thanks.


i can see that this allows us to gather statistics of the vms... but will this allow us to limit each vm 100/mbps?
 
Descriptioncoding 2013-01-05 13:41:36 CET

a nice feature was, to set a limit of gb or tb for a vm as traffic limit.
Comment 1coding 2013-02-07 18:31:01 CET

http://www.aip.im/2010/08/monitoring-proxmox-openvz-containers-bandwidth/this is a statistic mod, please include this for users. Very thanks.


i can see that this allows us to gather statistics of the vms... but will this allow us to limit each vm 100/mbps?



No it doesnt let you limit the user but it does give you and the user the amount of traffic they are using. Which is way more then we have now in proxmox.
Hopefully we can get the script embedded into proxmox for our users so they can see if they need to purchase more BW.
 
Hi,

netin/netout in proxmox gui was reset after reboot of vm. it´s not a solution for traffic statistic. We hope, proxmox team would include a good static for exsample with the postet rrd tool. this was a very nice feature. a 2nd feature was a limiter for bandwidth. many providers use this. it´s a needed feature.

The work of rrd scripter of vzmonitor tool was good, but included it was a better solution.

regards
 
Hi,

netin/netout in proxmox gui was reset after reboot of vm. it´s not a solution for traffic statistic. We hope, proxmox team would include a good static for exsample with the postet rrd tool. this was a very nice feature. a 2nd feature was a limiter for bandwidth. many providers use this. it´s a needed feature.

The work of rrd scripter of vzmonitor tool was good, but included it was a better solution.

regards

"many providers use this" ???

Many??? Do you know 1 working without it?

Are you from europe? I know in europe bandwidth have low price, but on USA and the rest of the world its expensive.

I belive if we can only see the total bandwidth that our customers are using is good, but a lot of guys here calling about openvz bandwidth, but i dont see a solution for kvm.

Maybe its because im not pro linux user, i belive a PRO linux user can do it.
 
Hello guys. Im an old user of SolusVM, but now, i want to change to ProxMox.

There is anyway to do VMs with 100mbit connection but with monthly limit?

A VM with 500GB monthly transfer, and when this get that limit, connection go to slower transfer speed like 2 or 3mbit.

Is there anyone who knows any software that I can install on the node to do this? I basically just can not use the Proxmox because of this. If I can limit the transfer monthly, I will migrate my server.

I know many people will answer this by saying that I can lower the speed of the network, but I need it to 100Mbit and monthly transfer limit.

=)

module garden is coming out with a proxmox module that will have the ability to set limits and more for whmcs.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!