Community discussions

MUM Europe 2020
 
alex_rhys-hurn
Member
Member
Topic Author
Posts: 319
Joined: Mon Jun 05, 2006 8:26 pm
Location: Kenya
Contact:

Measure aggregate ipv4 vs ipv6 volume through router

Sun Jun 16, 2019 7:42 pm

Hi Everyone,

I would like to measure and graph the volume of ipv4 and ipv6 traffic through the router.

I would even like a command something like:
/interface monitor-traffic aggregate type=ipv6
and
/interface monitor-traffic aggregate type=ipv4

Can anybody give me some hints to achieve this?

All the best,

Alex
 
pe1chl
Forum Guru
Forum Guru
Posts: 5970
Joined: Mon Jun 08, 2015 12:09 pm

Re: Measure aggregate ipv4 vs ipv6 volume through router

Mon Jun 17, 2019 1:52 am

It is not possible within the router at the moment.
When you want to write something yourself, you can use a firewall rule to count the traffic and use a program on another computer that retrieves the counters of the firewall rule and graphs it.
Unfortunately firewall counters are not readable via SNMP so you need to use API, which means writing a dedicated program using one of the available API libraries.
 
Paternot
Long time Member
Long time Member
Posts: 607
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Measure aggregate ipv4 vs ipv6 volume through router

Mon Jun 17, 2019 2:16 am

There is one way, but it's quite cumbersome: Use one interface to Ipv4 traffic, and another one for IPv6. The easiest way is to give only IPv4 address to one, and only IPv6 address to another.

You will use two router ports for each link and two switches ports for each link. Now You have two independent interfaces, and can easily use SNMP to monitor them.

It isn't pretty - but gets the job done.

Who is online

Users browsing this forum: MSN [Bot] and 73 guests