We help IT Professionals succeed at work.

Simulate Slow Network Connection


I want to simulate slow network connection in solaris and linux machine. Could you please suggest how to do that?


Watch Question

I would set your NICs to 10mbps half-duplex, using ethtool in Linux, or the ndd command in Solaris.

In Linux it would be something like:
ethtool -s eth0 speed 10 duplex half
ethtool -s eth0 autoneg off  # if necessary

In Solaris:
ndd -set /dev/hme instance 0            #<- select hme0
ndd -set /dev/hme adv_100fdx_cap 0      #<- disable full duplex
ndd -set /dev/hme adv_autoneg_cap 0     #<- turn off auto-negotiation if necessary

Trust me, your connection will be horrible in half-duplex :)