Dears…
If I have 2 WAN with pppoe-out, I want pppoe-out1 to connect immediately and pppoe-out2 after 10 sec
so can we delay PPPoE Active Discovery Initialization (PADI) that sent from mikrotik router ?
Dears…
If I have 2 WAN with pppoe-out, I want pppoe-out1 to connect immediately and pppoe-out2 after 10 sec
so can we delay PPPoE Active Discovery Initialization (PADI) that sent from mikrotik router ?
This is really strange request. Why is this behavior necessary? Perhaps there is a configuration you can make that will address the issue without having to do something strange.
I don’t understand exactly why you would want to do something like this. However, you may be able to accomplish this with a scheduler entry to run at reboot. Have the script it runs disable the secondary interface then “delay” 10 to 60 seconds, whatever you need, before enabling the interface again.
I don’t know if the run on reboot script will run before the pppoe interfaces have a chance to come up or not. It may just be a race and you may not be able to reliably determine which will happen first on any particular boot.
I am making the assumption that you want this to happen on boot, rather than every time you lose your connection on pppoe-out1.
Dears …
I’m not good in scripting
what I want is when pppoe-out1 disconnected then wait 5 sec to reconnect and when pppoe-out2 disconnected then wait 10 sec to reconnect
any one can help ?