Re: NETEM kernel for OpenVZ Container [message #52244 is a reply to message #52243] |
Mon, 19 October 2015 11:26 |
kuldeep
Messages: 2 Registered: October 2015 Location: Frankfurt
|
Junior Member |
|
|
Hi,
Thanks Curx and KelvinSmith for the responses. Now I am able configure delay and packet loss using NETEM on the interfaces.
Error was because of non-existent entry. I was trying to change the loss without adding qdisc to the interface so I was getting error.
I applied the below configuration and it works...
tc qdisc add dev venet0 handle 1: root htb
tc class add dev venet0 parent 1: classid 1:1 htb rate 100Mbps
tc class add dev venet0 parent 1:1 classid 1:11 htb rate 100Mbps
tc qdisc add dev venet0 parent 1:11 handle 10: netem delay 100ms 10ms 25%
tc filter add dev venet0 protocol ip prio 1 u32 match ip dst $ destinationIP flowid 1:11
As already stated, I am using ProxMox to create containers. I am not able to install any package on hardware node. I am using below command
apt-get install iperf
I am getting error.....
Not able to locate the package iperf
Can any one know the reason and solution ? Thanks in advance !
Thanks and Regards,
Kuldeep
|
|
|