All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc save restore QoS options
Date: Thu, 15 May 2003 18:43:19 +0000	[thread overview]
Message-ID: <marc-lartc-105302428106419@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105302352005519@msgid-missing>

On Thursday 15 May 2003 20:27, Tester wrote:
> Hi there.
>
> I got another problem now.
> I got a linux router with 4 network interfaces on whose i do traffic
> shaping with tc tool.
> I'm constantly changing classes, filters and such. The need to constantly
> change them will remain even after i finish testing all posibilities.
> All works fine until the router doesn't get rebooted when i loose all my tc
> settings. After it comes back i have to make all the changes again and it's
> REALLY annoying to do so. (You try to reconstruct 50 or more lines of
> commands in the specific order ;-) )
>
> A simular problem i encontered with iptables, but I solved it with crontab
> and iptables-save/restore.
> Is there a simular solution for tc?
No.

> How do you cope with this problem?
Scripting.

> One option would be to have a script and constantly change what i do with
> tc in it to so after a reboot it would come back. But his way i would
> constantly have to worry about sychronizing the script with the actual
> changes i make and double my efforts.
>
> Please help me.
I don't have a real solution.  I have a perl script that can discover a htb 
setup.  That can be used to recontruct the commands.
But why don't you create a script that you each adapt and execute?  So you can 
rerun it if your box reboots.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

  reply	other threads:[~2003-05-15 18:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
2003-05-15 18:43 ` Stef Coene [this message]
2003-05-16 22:16 ` John King
2003-05-17  0:56 ` Kenneth Porter
2003-05-17 20:56 ` John King

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-105302428106419@msgid-missing \
    --to=stef.coene@docum.org \
    --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.