tc

The tc command can be used to add latency on an interface for testing purposes