Hi,
I need to have a permanent route to a network in the routing table. If I put in the console the command
route add -net 16.1.0.0 netmask 255.255.0.0 dev eth0
everythin works fine but when I reboot the system I have to do it again!!! and I need to do it automatically!
I tried putting one script in /etc/init.d with a link in /etc/rc2.d but it's not working. I also modified the /etc/rc.local file but it was the same...
Where do I have to modify to succeed
Greetings,
Samuel.
I need to have a permanent route to a network in the routing table. If I put in the console the command
route add -net 16.1.0.0 netmask 255.255.0.0 dev eth0
everythin works fine but when I reboot the system I have to do it again!!! and I need to do it automatically!
I tried putting one script in /etc/init.d with a link in /etc/rc2.d but it's not working. I also modified the /etc/rc.local file but it was the same...
Where do I have to modify to succeed
Greetings,
Samuel.
Comment