I create some script for a static route, called "my.rc.route" and i put it on /etc/rc.local, so everytime the server get restarted the script shall run after all the startup process.
I feel a bit strange to find there were some line on my script being skipped by the system, randomly.
Anyone deal with this situation? Where to track/ log to read?
I paste my "my.rc.route" here, answered Gnudiff.
#!/bin/bash
ip ro add table arieluna 10.254.254.248/29 dev lan proto kernel scope link src 10.254.254.254
ip ro add table arieluna 10.222.23.0/24 dev vlan17 proto kernel scope link src 10.222.23.1
ip ro add table arieluna 10.222.22.0/24 dev vlan16 proto kernel scope link src 10.222.22.1
ip ro add table arieluna 10.222.21.0/24 dev vlan15 proto kernel scope link src 10.222.21.1
ip ro add table arieluna 10.222.20.0/24 dev vlan14 proto kernel scope link src 10.222.20.1
ip ro add table arieluna 10.222.19.0/24 dev vlan13 proto kernel scope link src 10.222.19.1
ip ro add table arieluna 10.222.18.0/24 dev vlan12 proto kernel scope link src 10.222.18.1
ip ro add table arieluna 10.222.17.0/24 dev vlan11 proto kernel scope link src 10.222.17.1
ip ro add table arieluna 10.222.16.0/24 dev vlan10 proto kernel scope link src 10.222.16.1
ip ro add table arieluna 10.222.24.0/24 dev vlan18 proto kernel scope link src 10.222.24.1