* [LARTC] tc save restore QoS options
@ 2003-05-15 18:27 Tester
2003-05-15 18:43 ` Stef Coene
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Tester @ 2003-05-15 18:27 UTC (permalink / raw)
To: lartc
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?
How do you cope with this problem?
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.
Have a nice day.
-Tester
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] tc save restore QoS options
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
@ 2003-05-15 18:43 ` Stef Coene
2003-05-16 22:16 ` John King
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-05-15 18:43 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] tc save restore QoS options
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
2003-05-15 18:43 ` Stef Coene
@ 2003-05-16 22:16 ` John King
2003-05-17 0:56 ` Kenneth Porter
2003-05-17 20:56 ` John King
3 siblings, 0 replies; 5+ messages in thread
From: John King @ 2003-05-16 22:16 UTC (permalink / raw)
To: lartc
This might help.
ftp://k12linux/pub/tc/tc_gen.tar.gz
Put it in it's own directory to untar.
A script generator based on htb with easy to tweak config files.
I use it on dual redundant bridges that use spanning tree to block one
box.
You can also use it to generate a rule set for iptables, which I will be
doing this summer.
jk
On Fri, 2003-05-16 at 13:09, John King wrote:
> This might help.
>
> A script generator based on htb and easy to tweak config files.
>
> I use it on dual redundant bridges that use spanning tree to block one
> box.
>
> You can also use it to generate a rule set for iptables, which I will be
> doing this summer.
>
> Put it in it's own directory to untar.
>
> jk
>
>
>
> On Thu, 2003-05-15 at 11:43, Stef Coene wrote:
> > 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/
> >
> --
> John King
> Multnomah ESD
> Phone: 503-257-1542
> FAX: 503-257-1538
> ** Note If you really want me to read it,
> don't send it in MicroSoft format.
--
John King
Multnomah ESD
Phone: 503-257-1542
FAX: 503-257-1538
** Note If you really want me to read it,
don't send it in MicroSoft format.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] tc save restore QoS options
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
2003-05-15 18:43 ` Stef Coene
2003-05-16 22:16 ` John King
@ 2003-05-17 0:56 ` Kenneth Porter
2003-05-17 20:56 ` John King
3 siblings, 0 replies; 5+ messages in thread
From: Kenneth Porter @ 2003-05-17 0:56 UTC (permalink / raw)
To: lartc
--On Friday, May 16, 2003 3:16 PM -0700 John King <jking@mesd.k12.or.us>
wrote:
> ftp://k12linux/pub/tc/tc_gen.tar.gz
URL is broken, hostname is broken. Looks like you have an internal hostname
there.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] tc save restore QoS options
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
` (2 preceding siblings ...)
2003-05-17 0:56 ` Kenneth Porter
@ 2003-05-17 20:56 ` John King
3 siblings, 0 replies; 5+ messages in thread
From: John King @ 2003-05-17 20:56 UTC (permalink / raw)
To: lartc
Sorry about that must have dosed off for a second.
ftp://k12linux.mesd.k12.or.us/pub/tc/tc_gen.tar.gz
> This might help.
> ftp://k12linux/pub/tc/tc_gen.tar.gz
> Put it in it's own directory to untar.
>
> A script generator based on htb with easy to tweak config files.
>
> I use it on dual redundant bridges that use spanning tree to block one
> box.
> You can also use it to generate a rule set for iptables, which I will be
> doing this summer.
>
> jk
> > --
> > John King
> > Multnomah ESD
> > Phone: 503-257-1542
> > FAX: 503-257-1538
> > ** Note If you really want me to read it,
> > don't send it in MicroSoft format.
--
John King <jking@mesd.k12.or.us>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-05-17 20:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-15 18:27 [LARTC] tc save restore QoS options Tester
2003-05-15 18:43 ` Stef Coene
2003-05-16 22:16 ` John King
2003-05-17 0:56 ` Kenneth Porter
2003-05-17 20:56 ` John King
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.