Page MenuHomeFreeBSD

Add -z "TOS" option to ping6, to test DSCP/ECN values
ClosedPublic

Authored by rscheff on Sep 9 2020, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 9:15 AM
Unknown Object (File)
Sun, Nov 3, 5:26 AM
Unknown Object (File)
Fri, Oct 25, 5:12 AM
Unknown Object (File)
Fri, Oct 25, 5:11 AM
Unknown Object (File)
Fri, Oct 25, 5:11 AM
Unknown Object (File)
Fri, Oct 25, 5:02 AM
Unknown Object (File)
Oct 14 2024, 12:50 PM
Unknown Object (File)
Oct 7 2024, 5:41 AM
Subscribers

Details

Summary

ping has the option to add the (deprecated) TOS byte
using the -z option. Adding the same option, with the
same (deprecated) Traffic Class Byte (nowadays actually
DSCP and ECN fields) to ping6 to validate proper QoS
processing in network switches.

Test Plan

Run "tcpdump -vvv -nn -i lo0 -xx" and verify, that
the ICMP6 request has the provided data for the traffic
class in the 5th and 6th octet, right after the IP
version "high nibble" (6) in the 5th octet.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable