Usage Graphing per Subnet

Hi All,
I have a requirement to plot a usage graph per subnet. As an example.

I have a 192.168.1.0/24 subnet divided among 32 customers where each one
will get a /29 [ 192.168.1.0/29 => Customer A ; 192.168.1.8/29 => Customer
B etc... ] ...

Is there any tool to graph the usage of entire /24 subnet ???

Hi,

pmacct is your friend!

http://www.pmacct.net/

Regards,
Armin

http://graphviz.org/

David Hofstee

Deliverability Management
MailPlus B.V. Netherlands (ESP)

-----Oorspronkelijk bericht-----

Hi,

I'm not sure how it is exactly build, but if every /29 uses it's own port a tool like cacti/graphite where you're aggregating all required ports within one graph is easier.

Regards
Karsten

Run sflows/netlows/ipfix.

Thanks Armin ,
I will try the SW you have mentioned seems like it's not easy to install
though :slight_smile: :slight_smile:

Karsten,
I just bought out an example... my company has 2X18's and out of it we are
using considerable amount of /24s to access internet . Some subnets are
given without proper documentation , so it's very hard to do what you have
proposed.
What I can do is to install some kind of SW and gather info from my gateway
routers :frowning: .....it's helpful if some one can guide me through this :slight_smile: ...

>>
>>> Hi All, I have a requirement to plot a usage graph per subnet. As an
>>> example.
>>>
>>> I have a 192.168.1.0/24 subnet divided among 32 customers where each
>>> one will get a /29 [ 192.168.1.0/29 => Customer A ; 192.168.1.8/29
>>> => Customer B etc... ] ...
>>>
>>> Is there any tool to graph the usage of entire /24 subnet ???

I use nfdump/nfsen for this sort of thing. It requires netflow export on your devices. I then I create a shadow profile for each subnet I wish to chart.

Hi,

in this case I fully agree with Armin's advice, only wanted to provide a
possible way to archive an easy result without activation of netflow/sflow
which is possible if all subnets had dedicated ports somewhere in the net.

I don't know what information you want to get from your routers, as there are
many ways to get a result depending on the information you want and the used
vendors.

Regards
Karsten

Karsten , thanks for replying....
It's like this I don't want to take router info, only thing i want is to
graph the usage of my entire IP block per subnet wise.
Normaly we are using CACTI , MRTG , Observium etc... to gather router
information such as CPU , errors , usage etc...

All the systems mentioned above use SNMP to gather info and when it comes
to usage it only poll to a particular interface and plot the usage ......I
hope you had an idea about my requirement :slight_smile:

Chris , Thanks for the info...
Let me explain my requirement ....
My company has 3 upstream providers and we are serving more than 400
customers ..In that case we have to manage our upstream capacity... When
considering capacity managing normally we just transfer a /24 from
congested Up stream provider to non congested provider.
Issue we have is we don't know exactly the usage of a /24 subnet before
transfer.

I hope you get an idea about my requirement :slight_smile: :slight_smile: :slight_smile:

Netflow/sflow/IPFIX is most likely going to be the easiest/cleanest way to get the data you want.

I would also recommend announcing a consistent set of prefixes to all 3 providers, and using mechanisms like AS-PATH prepending and/or whatever BGP communities each provider offers to do things like tweak preferences or do selective prepending, rather than shuffling prefixes between providers to achieve some level of traffic engineering, and also keeping your announcements aggregated as much as possible. Less routing table bloat and churn is a good thing.

jms