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.
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 :)
|All times are GMT -5. The time now is 09:33 AM.|