IP billing with freeradius
Dear Sir I am working in data center so i need ip base billing means which ip address useing how much bandwidth means i give 10 GB data transfer to my one customer and 10GB data transfer reached then i got mesge or i can block the port of server what ever this is example so it is possible can i accouting of data transfer through my core switch ?? Reghards Satish Patel $ cat ~/satish/url.txt System administrator ( Data Center ) please visit this site http://linux.tulipit.com --------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
On Mon 07 May 2007, satish patel wrote:
Dear Sir
I am working in data center so i need ip base billing means which ip address useing how much bandwidth means i give 10 GB data transfer to my one customer and 10GB data transfer reached then i got mesge or i can block the port of server what ever this is example so it is possible can i accouting of data transfer through my core switch ??
You switch _may_ support PORT based accounting to radius. I doubt it supports IP based radius accounting. You should ask your switch vendor. On the other hand you may be able to do it with sflow or netflow. Check http://www.pmacct.net -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
If you are using sql accounting then make a sqlcounter that counts octets and send Auth-Type Reject if counter is over 10GB. Ivan Kalik Kalik Informatika ISP Dana 7/5/2007, "satish patel" <linuxtrap@yahoo.co.in> piše:
Dear Sir
I am working in data center so i need ip base billing means which ip address useing how much bandwidth means i give 10 GB data transfer to my one customer and 10GB data transfer reached then i got mesge or i can block the port of server what ever this is example so it is possible can i accouting of data transfer through my core switch ??
Reghards
Satish Patel
$ cat ~/satish/url.txt
System administrator ( Data Center )
please visit this site
--------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
thnks for reply dear But my requiremnt is a bit different means i explain u in depth i have datacenter in data center many customers and we are giving ip pool to our customer and terminate that pool on 6500 cisco core switch so i want bandwidth counter on that port wheather all customer server connected so that i can billing of that perticuler port means how much upload and how much download traffic of that port then i can genrate bill of that port it is not possible i can genrate traffic uage of verey servers so that i want to genrate traffic counter of that single cisco switch port you got it my point it is possibel through mrtg but i want counter values so it is possible with freeradius tnt@kalik.co.yu wrote: If you are using sql accounting then make a sqlcounter that counts octets and send Auth-Type Reject if counter is over 10GB. Ivan Kalik Kalik Informatika ISP Dana 7/5/2007, "satish patel" pi¹e:
Dear Sir
I am working in data center so i need ip base billing means which ip address useing how much bandwidth means i give 10 GB data transfer to my one customer and 10GB data transfer reached then i got mesge or i can block the port of server what ever this is example so it is possible can i accouting of data transfer through my core switch ??
Reghards
Satish Patel
$ cat ~/satish/url.txt
System administrator ( Data Center )
please visit this site
--------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html $ cat ~/satish/url.txt System administrator ( Data Center ) please visit this site http://linux.tulipit.com --------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
On Tue 08 May 2007, satish patel wrote:
thnks for reply dear
But my requiremnt is a bit different means i explain u in depth i have datacenter in data center many customers and we are giving ip pool to our customer and terminate that pool on 6500 cisco core switch so i want bandwidth counter on that port wheather all customer server connected so that i can billing of that perticuler port means how much upload and how much download traffic of that port then i can genrate bill of that port it is not possible i can genrate traffic uage of verey servers so that i want to genrate traffic counter of that single cisco switch port you got it my point it is possibel through mrtg but i want counter values so it is possible with freeradius
Satish. I already answered this question yesterday. If you want traffic per IP with multiple IPs on a single port then you need to use NetFlow or sFlow. The cisco switch does not expose this type of information in RADIUS accounting. Regards -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
This is nothing to do with radius. Use netflow. Ivan Kalik Kalik Informatika ISP Dana 8/5/2007, "satish patel" <linuxtrap@yahoo.co.in> piše:
thnks for reply dear
But my requiremnt is a bit different means i explain u in depth i have datacenter in data center many customers and we are giving ip pool to our customer and terminate that pool on 6500 cisco core switch so i want bandwidth counter on that port wheather all customer server connected so that i can billing of that perticuler port means how much upload and how much download traffic of that port then i can genrate bill of that port it is not possible i can genrate traffic uage of verey servers so that i want to genrate traffic counter of that single cisco switch port you got it my point it is possibel through mrtg but i want counter values so it is possible with freeradius
tnt@kalik.co.yu wrote: If you are using sql accounting then make a sqlcounter that counts octets and send Auth-Type Reject if counter is over 10GB.
Ivan Kalik Kalik Informatika ISP
Dana 7/5/2007, "satish patel" piše:
Dear Sir
I am working in data center so i need ip base billing means which ip address useing how much bandwidth means i give 10 GB data transfer to my one customer and 10GB data transfer reached then i got mesge or i can block the port of server what ever this is example so it is possible can i accouting of data transfer through my core switch ??
Reghards
Satish Patel
$ cat ~/satish/url.txt
System administrator ( Data Center )
please visit this site
--------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
$ cat ~/satish/url.txt
System administrator ( Data Center )
please visit this site
--------------------------------- Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? Here's a solution!
Hello, tnt@kalik.co.yu! You wrote on Tue, 08 May 2007 09:38:19 +0100: t> This is nothing to do with radius. Use netflow. What about dot1x auth + accounting? Though it may be not so good for servers. With best regards, Alexander V. Klepikov. E-mail: klepikov_a@up.ua
participants (4)
-
Alexander V. Klepikov -
Peter Nixon -
satish patel -
tnt@kalik.co.yu