[CentOS] Switch to measure traffic at IP level?

Antonio da Silva Martins Junior asmartins at uem.br
Fri Oct 23 18:13:41 UTC 2009

----- "Les Mikesell" <lesmikesell at gmail.com> escreveu:

> Neil Aggarwal wrote:
> > Matt:
> >  
> >> why not just use your current cacti setup and 
> >> enable snmp on each of the hosts?  That seems like 
> >> the simplest and cheapest approach.
> > 
> > As I understand it, I would actually have to
> > enable snmp on each of the guests, not the hosts.
> > 
> > Am I wrong?
> > 
> Yes - the host would see the total traffic.  The only other way to
> separate it would be something upstream (switch/router, etc.) that knows how to do
> sflow plus a collector device.  These are typically pretty expensive.  For
> some small number of guests it might be cheaper to add NICs to your hosts and
> bridge the guests to individual NICs where you could monitor on either the host
> interface or the connected switch port.  You might be able to simulate this with
> some clever use of vlans but I'm not sure how they interact with the
> virtual nic bridges.

Hum... I haven't tried it myself but maybe it is possible to try on the virtual NICs.
The only drawback is that the need to create a way to link the data from the vifs to
the corret guest :)


| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins at uem.br / shadow at uem.br | !!! Linux User: 52392 !!!  |
     "Real Programmers don’t need comments — the code is obvious."

Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

More information about the CentOS mailing list