From: Jason Boxman Date: Thu, 10 Feb 2005 20:03:35 +0000 Subject: Re: [LARTC] How to save ip route 2 commands Message-Id: <200502101503.35492.jasonb@edseek.com> List-Id: References: <200502101954.j1AJsRDY079953@jkcpub.iserver.net> In-Reply-To: <200502101954.j1AJsRDY079953@jkcpub.iserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 10 February 2005 14:54, Deepak Seshadri wrote: > Hello List, > > I configured a GRE tunnel between a Linux server & Cisco. I would like to > save the commands somewhere so that next time the machine boots up the > tunnel will be formed automatically. One way is to put the commands in > rc.local file. But I want to know if there is a way to save these commands > through the IP route 2 utility. Doesn't ip route 2 utility offer a way to > save the configurations/commands? Does it save the settings in some files, > may be in /etc or some directory? iproute2 lets you save information by putting the commands in a text file, prefixing it with #!/bin/sh, and setting the executable bit. Why do you seek an alternate method? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/