Community discussions

MikroTik App
 
kurtkraut
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Wed Feb 15, 2012 2:55 am

How can I graph IPv6 traffic?

Sun Aug 23, 2015 10:28 pm

I'm trying to graph the IPv6 traffic I have in my home network to keep an eye on the increase of IPv6 adoption. My ISP provides me dual-stack through DHCP and I can browse the internet through IPv6 normally having a RB751U-2HnD as my gateway with RouterOS v6.31.

I created a MANGLE filter to mark IPv6 traffic:
[admin@xpto] /ipv6 firewall mangle> export
# aug/23/2015 16:21:09 by RouterOS 6.31
# software id = NX8L-6QQ5
#
/ipv6 firewall mangle
add action=mark-packet chain=prerouting new-packet-mark=ipv6 packet-mark=no-mark
[admin@xpto] /ipv6 firewall mangle> 
And it does match traffic:
[admin@xpto] /ipv6 firewall mangle> print prerouting stats        
Flags: X - disabled, I - invalid, D - dynamic 
 #    CHAIN                                                                                                      ACTION                            BYTES         PACKETS
 0    prerouting                                                                                                 mark-packet                 179 266 860         230 723
But when I create a simple queue to later generate a graph based on this simple queue, the counters aren't incremented, the queue doesn't match traffic at all:
[admin@xpto] /queue simple> export
# aug/23/2015 16:25:48 by RouterOS 6.31
# software id = NX8L-6QQ5
#
/queue simple
add name=ipv6-traffic packet-marks=ipv6 target=""

How should I proceed to create and store a graph withing RouterOS for IPv6 only traffic?

Who is online

Users browsing this forum: No registered users and 187 guests