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)
Tue, Dec 3, 6:42 PM
Unknown Object (File)
Sun, Dec 1, 2:09 AM
Unknown Object (File)
Tue, Nov 26, 7:06 AM
Unknown Object (File)
Nov 13 2024, 9:15 AM
Unknown Object (File)
Nov 3 2024, 5:26 AM
Unknown Object (File)
Oct 25 2024, 5:12 AM
Unknown Object (File)
Oct 25 2024, 5:11 AM
Unknown Object (File)
Oct 25 2024, 5:11 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