All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arindam Haldar <arindamhaldar@inbox.lv>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb message in messages file !
Date: Mon, 02 Sep 2002 15:46:41 +0000	[thread overview]
Message-ID: <marc-lartc-103098052021082@msgid-missing> (raw)

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: mindelayP0, 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/

             reply	other threads:[~2002-09-02 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02 15:46 Arindam Haldar [this message]
2002-09-02 18:46 ` [LARTC] htb message in messages file ! Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103098052021082@msgid-missing \
    --to=arindamhaldar@inbox.lv \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.