pmak0
02-22-2002, 01:13 AM
I know how to modify the iproute2 settings on a Linux box by using the "ip route *" and "ip rule *" commands.
But how do I save the settings such that they will remain if the machine gets rebooted?
priyadi
02-22-2002, 01:37 AM
Originally posted by pmak0
I know how to modify the iproute2 settings on a Linux box by using the "ip route *" and "ip rule *" commands.
But how do I save the settings such that they will remain if the machine gets rebooted?
You should create a shell script that get executed on every reboot (put it in your rc.local file). AFAIK, you cannot save the currently active iproute2 settings.
pmak0
02-22-2002, 01:40 AM
> You should create a shell script that get executed on
> every reboot (put it in your rc.local file).
Hmm, I guess I'll do it that way if I can't think of a better way... but doesn't iproute2 load the configuration data from somewhere (does anyone know where)? I think it would be better to modify that.