* [LARTC] how to save iproute
@ 2006-08-01 9:28 Oscar Mechanic
0 siblings, 0 replies; only message in thread
From: Oscar Mechanic @ 2006-08-01 9:28 UTC (permalink / raw)
To: lartc
Say if I have a few routes like this
ip rule add from 19.21.12.12 lookup 200
ip route add default via 10.0.0.253
ip rule add to 13.1.2.2 lookup 201
ip route add default via 10.0.0.254
ip route add default via 10.0.0.254
How do I save them, I have looked through the list and have googled this
Q for some time and do not have an concrete answers. I have read that
you just save and rerun the command but that does not work as the "from
all to" is not valid it has to be the "to" without the "from all". I
have used multiple versions of iproute2 and still the same problem. I
written a script and put in many sed's to get around problems but its
nasty code. Surely someone solved this is there a "saveall" script or
bin that is distro independant.
Thanks.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-01 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-01 9:28 [LARTC] how to save iproute Oscar Mechanic
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.