I would like to simulate different ping times for the same host (my local machine with Mac OS X). For example, I would like ping localhost and ping myhostname.mydomain.com return different ping times. Can I do it ?
Can I configure a few new host names (myhost1 localhost, myhost2 localhost) in /etc/hosts and simulate different ping times for ping myhost1 and ping myhost2 ?