[LARTC] unshaping telnet

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I have this setup, it work fine, but i can't telnet from any client to
the linux server without trafic shaping:
--cut--
tc qdisc add dev eth1 root handle 1: cbq bandwidth 10Mbit avpkt 1000
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 100Mbit allot 1514 weigh

tc class add dev eth1 parent 1:1 classid 1:100 cbq bandwidth 100Mbit rate 64kbit allot 1514 weight 6Kbit prio 5 maxburst 12 avpkt 1000 bounded
tc class add dev eth1 parent 1:100 classid 1:102 cbq bandwidth 100Mbit rate 32kbit allot 1514 weight 3Kbit prio 5 maxburst 6 avpkt 1000 borrow
tc class add dev eth1 parent 1:100 classid 1:103 cbq bandwidth 100Mbit rate 32kbit allot 1514 weight 3Kbit prio 5 maxburst 6 avpkt 1000 borrow

tc qdisc add dev eth1 parent 1:102 sfq quantum 1514b perturb 15
tc qdisc add dev eth1 parent 1:103 sfq quantum 1514b perturb 15

tc filter add dev eth1 parent 1:0 protocol ip prio 25 u32 match ip dst
10.0.0.2/32 flowid 1:102
tc filter add dev eth1 parent 1:0 protocol ip prio 25 u32 match ip dst
10.0.0.3/32 flowid 1:103
--cut--
server (10.0.0.1)
      64kbit (bounded)
             32kbit (borrow)-  PC1   (10.0.0.2)
             32kbit-(borrow)-  PC2   (10.0.0.3)

what I should add/change to make a telnet from pc1 or pc2 to server, without
trafic shaping, or minimal shapping?

Regards, Fabian.





[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux