Monday, July 3, 2023

Measure IPv6 versus IPv4 traffic on Windows

 Measure IPv6 versus IPv4 traffic on Windows


On Windows, you can see the amount of IPv6 packets:


PS C:\> netsh interface ipv6 show ipstats | find /i """Receives"""

In Receives:                        3606021


... and IPv4 packets:


PS C:\> netsh interface ipv4 show ipstats | find /i """Receives"""

In Receives:                        71758


So, safely assuming IPv6 and IPv4 have about the same mean packet size, 98% of my traffic is IPv6 traffic.


Note: These are packets. To get an indication of the amount of bytes, multiply with something between 1200 and 1500 (= bytes per packet). The above 3606021 IPv6 packets means about 4.3 GB in bytes IPv6 traffic.