Clicky

Hi,

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

Thanks

asked 12/05/2011 04:11

vijayprabakar's gravatar image

vijayprabakar ♦♦


1 Answers:
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 :)
link

answered

xterm's gravatar image

xterm

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×118
×47
×9

Asked: 12/05/2011 04:11

Seen: 245 times

Last updated: 12/05/2011 07:03