Sotto Debian (venerando server con Woody) come posso rendere definitive le modifiche apportate da route?
Mi spiego meglio con un esempio:aggiungo la seguente rete (192.168.101.0)
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default FW_QPB 0.0.0.0 UG 0 0 0 eth0
# route add -net 192.168.101.0 netmask 255.255.255.0 gw 192.168.1.199 dev eth0
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.101.0 192.168.1.199 255.255.255.0 UG 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth0
default FW_QPB 0.0.0.0 UG 0 0 0 eth0
Se pero' riavvio la macchina l'ultima impostazione viene persa e l'otuput torna quello di prima:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default FW_QPB 0.0.0.0 UG 0 0 0 eth0
Come posso rendere definitiva la modifica?
Grazie per l'aiuto.