Hello,<br><br>I made some tests with HTB, and i usually set MTU to the default value of TCP_WMEM (that is 65536 for me).<br><br>I have this case :<br><br> 50 Mbits/s 10 Mbits/s
<br>A----------------------------------B---------------------------------------C<br><br>if A send to B, bandwidth is about 50 Mbits/s<br>if B send to C, bandwidth is about 10 Mbits/s<br>But if A send to C, Bandwidth is about 14 Mbits/s, instead of 10 Mbits/s.
<br><br>I think perhaps the MTU should be different according to bandwidth ?<br><br>Has someone an idea about this ?<br><br>Here is my configuration :<br><br>On A :<br>tc class add dev eth0 parent 1: classid 1:2 htb rate 50000kbit ceil 50000kbit mtu 65536
<br>tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst B flowid 1:2<br><br>On B :<br>tc class add dev eth0 parent 1: classid 1:2 htb rate 10000kbit ceil 10000kbit mtu 65536<br>
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst C flowid 1:2<br><br><br>On B, /proc/sys/net/ipv4/ip_forward =1, and there is no link between A and C.<br><br>Thanks,<br><br>Olivier.<br>