tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ethtool/tc for NetBSD?



Is there a NetBSD equivalent to ethtool(8) on Linux?

reference:
https://github.com/pavel-odintsov/fastnetmon/wiki/Traffic-filtration-using-NIC-capabilities-on-wire-speed-%2810GE,-14Mpps%29
http://linux.die.net/man/8/ethtool

As an example, to drop ICMP packets:

ethtool --config-ntuple eth4 flow-type ip4 proto 1 action -1

... and the NIC drops them all for you, not an interrupt in sight in response to ICMP (but there's also no logs...)

The other interesting and obscure Linux networking command is "tc".
http://lartc.org/manpages/tc.txt

Cheers,
Darren



Home | Main Index | Thread Index | Old Index