Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Nuutti Kotivuori <naked@iki.fi>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: Strange tc issue
Date: Mon, 01 Mar 2004 22:08:21 +0000	[thread overview]
Message-ID: <87znb01aqy.fsf@iki.fi> (raw)

Roy Walker wrote:
> I guess the issue centers around every linux box I have shows the
> pfifo_qdisc when I do an 'ip link show'.  But when I do a tc it does
> not do this.  This definitely tells me that tc is not reading the
> qdiscs properly which also probably means it is not setting them
> right either.  Problem is that is compiles properly and does not
> give me an errors during build.
>
> This is really starting to drive me crazy.  Appreciate your help.

The things you say seem partly contradictory, and it is really not
clear what is the problem - however, I will give an example of what
things do on *my* system so you can spot the discrepancy between your
systems.

,----
| ... no configuration ...
| shiro:~# ip link show dev eth0
| 7: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
|     link/ether 00:30:1b:ae:6a:66 brd ff:ff:ff:ff:ff:ff
| shiro:~# tc qdisc show dev eth0
| qdisc pfifo_fast 0: [Unknown qdisc, optlen ] 
| shiro:~# tc class show dev eth0
| shiro:~# tc filter show dev eth0
|
| ... add a qdisc ...
| shiro:~# tc qdisc add dev eth0 root pfifo limit 100
|
| ... show configuration again ...
| shiro:~# ip link show eth0
| 7: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo qlen 100
|     link/ether 00:30:1b:ae:6a:66 brd ff:ff:ff:ff:ff:ff
| shiro:~# tc qdisc show dev eth0
| qdisc pfifo 8002: limit 100p
| shiro:~# tc class show dev eth0
| shiro:~# tc filter show dev eth0
`----

And no loss of connectivity to anywhere, or anything of the likes. If
this does not work for you, then there is something seriously wrong
either with your kernel or with tc. If this does work for you, I
suggest specifying exactly what you commands you are saying that cause
your problems - there might be something wrong there.

-- Naked

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

             reply	other threads:[~2004-03-01 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 22:08 Nuutti Kotivuori [this message]
2004-03-02 21:00 ` [LARTC] RE: Strange tc issue Roy Walker

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=87znb01aqy.fsf@iki.fi \
    --to=naked@iki.fi \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox