Re: htb message in messages file !

Linux Advanced Routing and Traffic Control

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

 



bert hubert wrote:
> On Sun, Sep 01, 2002 at 01:29:18PM +0530, Arindam Haldar wrote:
> 
>>hi all,
>>i saw this message today & am reporting it(as it says)
>>
>>[root@cab1 surfNet]# tail -f /var/log/messages
>>Sep  1 04:02:03 cab1 syslogd 1.4.1: restart.
>>Sep  1 09:35:27 cab1 kernel: HTB: mindelay=500, report it please !
> 
> Can you also report your HTB configuration, the tc commands you used?
> 
> Regards,
> 
> bert


  $TC qdisc del dev eth4 root
  $TC qdisc add dev eth4 root handle 5: htb
  $TC class add dev eth4 parent 5: classid 5:1 htb rate 10mbit
  $TC class add dev eth4 parent 5:1 classid 5:10 htb rate ${d2vNtwk}kbit 
quantum 3000
  $TC class add dev eth4 parent 5:1 classid 5:20 htb rate 
${d2vCable}kbit quantum 4500
###################---------from NtWk Servers
  $TC class add dev eth4 parent 5:10 classid 5:1005 htb rate ${d2vNtwk}kbit
  $TC qdisc add dev eth4 parent 5:1005 sfq quantum 1514b perturb 10
  $TC filter add dev eth4 protocol ip parent 5:0 prio 1 handle 4001 fw 
classid 5:1005
  $TC filter add dev eth4 protocol ip parent 5:0 prio 2 u32 match ip dst 
10.0.0.0/8 match ip protocol 1 0xff flowid 5:105
####################----------CABLE
  $TC class add dev eth4 parent 5:20 classid 5:201 htb rate 
${groupA}kbit ceil $[groupA+(d2vCable-groupA)/4]kbit
  $TC class add dev eth4 parent 5:20 classid 5:202 htb rate 
${groupB}kbit ceil $[groupB+(d2vCable-groupB)/4]kbit
#################-----groupA
####------JComB
   $TC class add dev eth4 parent 5:201 classid 5:2001 htb rate 
${jcomB}kbit ceil $[jcomB+(groupA-jcomB)/10]kbit quantum 3000
  $TC qdisc add dev eth4 parent 5:2001 handle 2001 pfifo limit 2
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst abc.234/31 flowid 5:2001
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst abc.236/30 flowid 5:2001
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst 10.255.2.16/30 flowid 5:2001
#### ---- collector
  $TC class add dev eth4 parent 5:201 classid 5:2002 htb rate 
${collector}kbit ceil $[collector+(groupA-collector)/10]kbit quantum 3000
  $TC qdisc add dev eth4 parent 5:2002 handle 2002 pfifo limit 2
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst 10.2.1.40 flowid 5:2002
####----- lakhanpal
  $TC class add dev eth4 parent 5:201 classid 5:2003 htb rate 
${lakhanpal}kbit ceil $[lakhanpal+(groupA-lakhanpal)/10]kbit quantum 4500
  $TC qdisc add dev eth4 parent 5:2003 handle 2003 pfifo limit 2
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst 10.255.0.17 flowid 5:2003
####----- htl
  $TC class add dev eth4 parent 5:201 classid 5:2004 htb rate ${htl}kbit 
ceil $[htl+(groupA-htl)/10]kbit quantum 4500
  $TC qdisc add dev eth4 parent 5:2004 handle 2004 pfifo limit 2
  $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst 10.0.3.8/31 flowid 5:2004
################--------GroupB
  cnt=1
  for users in ` cat /var/surfNet/access/users-cable.[1.2] ` ; do
    $TC class add dev eth4 parent 5:202 classid 5:$[5200+cnt] htb rate 
${cmnGp}kbit ceil $[cmnGp+(groupB)/12]kbit quantum 3000
    $TC qdisc add dev eth4 parent 5:$[5200+cnt] handle $[5200+cnt] pfifo 
limit 2
    $TC filter add dev eth4 protocol ip parent 5:0 prio 100 u32 match ip 
dst $users flowid 5:$[5200+cnt]
    cnt=$[cnt+1]
  done

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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