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? Any help will be greatly appreciated. Thank you, Deepak Seshadri Technical Support Engineer Broadband Maritime, Inc. 61 Broadway, Suite 1905 New York, NY 10006 Tel: 1-212-405-1055 Fax: 1-212-214-0949 E-mail: dseshadri@broadbandmaritime.com This message is for the named person''s use only. It may contain confidential, proprietary or legally privileged material. You, must not, directly or indirectly, disclose, distribute, forward or copy any part of this message or any of its attachments without the permission of Broadband Maritime Inc. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.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/
> 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?Hello Jason, I was wondering if ip route2 consults any settings file while the machine boots up. For example, *iptables-save* saves the iptables commands to the /etc/sysconfig/iptables. Next time the machine boots up the firewall rules get loaded from this file. So along the same lines, I was wondering if ip route 2 did something to that effect. Thank you for your input though. Regards, Deepak _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/