All of lore.kernel.org
 help / color / mirror / Atom feed
From: nitin panjwani <tacmpe142@yahoo.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Priority queuing using tc not working
Date: Thu, 24 Oct 2002 06:50:37 +0000	[thread overview]
Message-ID: <marc-lartc-103544228806501@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103498491503790@msgid-missing>

I guess Probably this qdisc alread exist .  Try to
delete it and add it again and see what you are
getting.
Nitin
--- Neil Aggarwal <neil@JAMMConsulting.com> wrote:
> Joseph:
> 
> Based on you comments, I deleted all of the qdiscs
> and 
> then typed these commands:
>         echo 1 > /proc/sys/net/ipv4/ip_forward
> 
>         /sbin/tc qdisc add dev eth0 root handle 1:
> prio
>         /sbin/tc qdisc add dev eth0 parent 1:1
> handle 1:10 sfq
> 
> Immediately on typing this second command, I get
> this output:
> Starting tc: RTNETLINK answers: File exists
> 
> Any ideas why I am getting this?
> 
> Thanks,
> 	Neil.
> 
> --
> Neil Aggarwal
> JAMM Consulting, Inc.    (972) 612-6056,
> http://www.JAMMConsulting.com
> Custom Internet Development    Websites, Ecommerce,
> Java, databases
> 
> 
> > -----Original Message-----
> > From: Joseph Watson [mailto:jtwatson@datakota.com]
> > Sent: Wednesday, October 23, 2002 8:22 PM
> > To: Neil Aggarwal
> > Subject: Re: [LARTC] Priority queuing using tc not
> working
> > 
> > 
> > On Friday 18 October 2002 07:43 pm, Neil Aggarwal
> wrote:
> > > Hello:
> > >
> > > I am trying to set up priority based queue for
> my VOIP traffic.
> > > I am running a RedHat 8.0 machine that is
> masquerading my 
> > internal network
> > > which has my PC and a VOIP phone.  All VOIP
> traffic goes to and from
> > > my PBX, which is at 10.0.0.20.
> > >
> > > When I use my phone and try to download a file
> via FTP on my PC,
> > > all of the packets are going into the low
> priority queue.
> > >
> > > I typed these commands:
> > >   echo 1 > /proc/sys/net/ipv4/ip_forward
> > >
> > >   # Create the priority queue
> > >   /sbin/tc qdisc add dev eth0 root handle 1:
> prio
> > >   /sbin/tc qdisc add dev eth0 parent 1:1 handle
> 10: sfq
> >                                                   
>                   ^^^
> >                                                   
>                  1:10
> > >   /sbin/tc qdisc add dev eth0 parent 1:2 handle
> 20: sfq
> >                                                   
>                   ^^^
> >                                                   
>                  1:20
> > >   /sbin/tc qdisc add dev eth0 parent 1:3 handle
> 30: sfq
> >                                                   
>                   ^^^
> >                                                   
>                  1:30
> > >
> > >   # Add filters to put high priority packets
> into queue 1:1
> > >   /sbin/tc filter add dev eth0 pref 1 protocol
> ip parent 1:0 
> > u32 match ip
> > > src 10.0.0.20 flowid 1:10 /sbin/tc filter add
> dev eth0 pref 1 
> > protocol ip
> > > parent 1:0 u32 match ip dst 10.0.0.20 flowid
> 1:10
> > >
> > >   # Add a filter to put all remaining packets
> into queue 1:2
> > >   /sbin/tc filter add dev eth0 protocol ip
> parent 1:0 prio 2 
> > u32 match ip
> > > dst 0.0.0.0/0 flowid 1:20
> >                                 ^^^
> > 			Here is the problem, You dont have a 1:10 
> > or 1:20 qdisc unless you make the 
> > above corrections.
> > 
> > -- 
> > Regards
> > 
> > Joseph Watson
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://lartc.org/


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-10-24  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 23:43 [LARTC] Priority queuing using tc not working Neil Aggarwal
2002-10-24  3:08 ` Neil Aggarwal
2002-10-24  6:50 ` nitin panjwani [this message]

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-103544228806501@msgid-missing \
    --to=tacmpe142@yahoo.com \
    --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.