Re: IP assignment for virtual webhosting
Yes, that exactly the way we do it. If I imagine the power needed to implement this its nearly impossible to reimpleent for ONLY name-based Virtual Hosts. And if you think of Bandwith management - i don't see any way to do this on an per name-basis, only per ip (and service) is possible as far as I know. To use Bandwidth mangement on named vhosts-basis, you would have to read out the FULL ip-header and service-specific headers on the router...i think this is not possible without enormous CPU-power and would give high delays on the router. ------------------------------------------------ BS Web Services Roedingsmarkt 14 20459 Hamburg Germany info@bsmail.de www.bsws.de fon: +49 40 3750357-0 fax: +49 40 3750357-5 PLEASE USE EMAIL WHERE POSSIBLE Mark Lastdrager To: henning.brauer@bsmail.de <mark@pine.nl cc: Daniel Roesen <noc@entire-systems.com>, "lir-wg@ripe.net" <lir-wg@ripe.net> > Subject: Re: IP assignment for virtual webhosting 11.05.00 13:22 At Thu, 11 May 2000, owner-lir-wg@ripe.net wrote:
there is one big problem i see: If you charge your customers for traffic, you must count the traffic, and the easiest and most reliable way to do this is on the firewall/router. Thats the way we do and therefore we need one IP per customer. Most customers have more than one site and for that we are using HTTP 1.1 (NameVirtualHosts). As long as there is no Package for apache to count the traffic !reliable! (the traffic counted via access logs is << real traffic ) I do not see a way to put all customers to a couple of IPs.
Same over here. We have built our own database-driven system over the last years which links IP adresses to customers, measures their traffic and even has the ability to traffic-shape groups of IP adresses to a certain bandwith, like a Packeteer box can do. Input comes from the border router which has IP accounting. Ofcourse when customers want more than one hostname linked to the same virthost (but with different content) we use a name-based virthost. Because of this system it is very hard to implement name-based virtual hosting, all accounting is done on one IP adress then and we have to rethink our accounting scheme of virthosts (which takes time, costs money etc. etc.) Mark Lastdrager Pine Internet -- email: mark@lastdrager.nl :: ML1400-RIPE :: tel. +31-70-3111010 http://www.pine.nl :: RIPE RegID nl.pine :: fax. +31-70-3111011 PGP key ID 92BB81D1 :: Dutch security news @ http://security.nl Today's excuse: Dew on the telephone lines.
as far as I know. To use Bandwidth mangement on named vhosts-basis, you would have to read out the FULL ip-header and service-specific headers on the router...i think this is not possible without enormous CPU-power and would give high delays on the router. ------------------------------------------------
This is possible using F5Labs equipment however I dont belive this has been fully implemented on large web farms as yet but maybe soon :) Colin Johnston SA PSINET UK
On Thu, May 11, 2000 at 01:35:29PM +0200, henning.brauer@bsmail.de wrote:
And if you think of Bandwith management - i don't see any way to do this on an per name-basis, only per ip (and service) is possible as far as I know.
For Apache, mod_throttle (http://www.snert.com/Software/Throttle/) should do the trick. No idea wether it's realiable/CPU-hogging. And this doesn't cover any other, non-HTTP services. Best regards, Daniel Roesen Entire Systems NOC -- Entire Systems Network Operations Center noc@entire-systems.com Entire Systems GmbH - Ferbachstrasse 12 - 56203 Hoehr-Grenzhausen, Germany InterNIC-Handle: ES1238-ORG RIPE-Handle: ESN10-RIPE Tel: +49 2624 9550-55 GnuPG/PGP Key-ID: 0xBF3C40C9 http://www.entire-systems.com/noc/noc-key.asc GnuPG/PGP Fingerprint: 1F3F B675 1A38 D87C EB3C 6090 C6B9 DF48 BF3C 40C9
According to henning.brauer@bsmail.de:
Yes, that exactly the way we do it. If I imagine the power needed to implement this its nearly impossible to reimpleent for ONLY name-based Virtual Hosts.
Add an apache log module that measures the actual bytes sent out (file size + HTTP headers) - accounting problem solved.
And if you think of Bandwith management - i don't see any way to do this on an per name-basis, only per ip (and service) is possible as far as I know. To use Bandwidth mangement on named vhosts-basis, you would have to read out the FULL ip-header and service-specific headers on the router...i think this is not possible without enormous CPU-power and would give high delays on the router.
Use the Apache module mod_bandwidth, or something similar. People tend to buy and install enormous amounts of hardware, solving problems by adding more boxes. While fixing the software is simpler, easier and faster. Mike.
participants (4)
-
Colin Johnston
-
Entire Systems NOC
-
henning.brauer@bsmail.de
-
Miquel van Smoorenburg