Re: How to save ip route 2 commands

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux