OpenVZ Forum


Home » General » Support » NETEM kernel for OpenVZ Container
Re: NETEM kernel for OpenVZ Container [message #52244 is a reply to message #52243] Mon, 19 October 2015 11:26 Go to previous message
kuldeep is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network Issues in VPS domain server
Next Topic: Does OpenVZ work on Ubuntu 14.04 LTS?
Goto Forum:
  


Current Time: Sun Nov 03 20:37:33 GMT 2024

Total time taken to generate the page: 0.03649 seconds