netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Bob Miller <bob@computerisms.ca>
Cc: netfilter@vger.kernel.org
Subject: Re: tc/tcng default config
Date: Sun, 18 Apr 2010 23:47:08 +0200	[thread overview]
Message-ID: <20100418234708.1474be7d@catlap> (raw)
In-Reply-To: <1271625400.29385.10549.camel@laplaplian>

> Hello List,

Hi Bob,

>If I implement something on a firewall using tc and the network goes
>for poop, how do I get it back to the default set up?

You probably start with adding qdisc:
tc qdisc add dev $IF root handle 1: htb default XX
... then you add classes and filters

You can undo all of this by deleting qdisc:
tc qdisc del dev $IF root

If you use ifb and ingress qdiscs, cleanup may get a bit more
complicated.

Regards,
Marek

  reply	other threads:[~2010-04-18 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18 21:16 tc/tcng default config Bob Miller
2010-04-18 21:47 ` Marek Kierdelewicz [this message]
2010-04-19  1:04   ` Bob Miller
2010-04-19  7:02     ` Marek Kierdelewicz

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=20100418234708.1474be7d@catlap \
    --to=marek@piasta.pl \
    --cc=bob@computerisms.ca \
    --cc=netfilter@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;
as well as URLs for NNTP newsgroup(s).