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?

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@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