I need to execute the following command at boot time
route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006
0x10006 is the interface number of WAN (PPP/SLIP)
The question is
1. As soon as the power is cut off, the 0x10006 interface number will also disappear. When the power is re - powered on, is the command "route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006" still valid?
2. If it is invalid, then how to make the batch processing automatically add the command "route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006" as soon as 0x10006 appears?
route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006
0x10006 is the interface number of WAN (PPP/SLIP)
The question is
1. As soon as the power is cut off, the 0x10006 interface number will also disappear. When the power is re - powered on, is the command "route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006" still valid?
2. If it is invalid, then how to make the batch processing automatically add the command "route add 192.168.1.119 mask 255.255.255.255 200.200.200.5 if 0x10006" as soon as 0x10006 appears?
