Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-29-2009, 08:17 PM   #1
Registered: Nov 2006
Posts: 91

Rep: Reputation: 27
iptables-save type command for iproute2 commands?

Does anyone know of any scripts or packages that implement a way to save and restore your tc and ip packet routing and shaping configuration to a file for reloading at boot or restoring in case of a mess up?

iptables offers iptables-save and iptables-restore, but I can't find a similar utility for iproute2 commands.


Old 11-29-2009, 08:22 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
As far as the tc settings, how do you put them in place in the first place?

I just use a bash script containing the tc configuration, which I execute via a call from my firewall script. So, when the firewall is enabled, it runs the tc script, which creates queueing disciplines, etc.; when the firewall goes down, it removes the qdiscs by calling the same script with a "stop" argument.

Sorry if I'm missing something-- please explain if I am



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iproute2 + iptables + multiple routes + squid + with kernel 2.6.29 oskrchile Linux - Networking 3 05-08-2009 04:39 AM
Some help with iptables and iproute2 or route Histamine Linux - Networking 1 11-28-2007 02:53 PM
ip command not found of iproute2 wahaha Linux - Networking 1 08-11-2006 08:20 AM
iptables save commands are not working tarheel92x Linux - Networking 1 01-19-2004 05:16 PM
iptables and iproute2+tc source code thanhnx Linux - Networking 1 02-19-2003 07:39 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration