One potential solution is to put a script in /etc/network/if-up.d that executes before any of the other scripts in that directory and waits for a specific condition (e.g. an IP address is assigned, or a route becomes available). I posted an example here: http://askubuntu.com/questions/194632/how-do-i-delay-upstarts-net-device-up-signal-until-a-condition-is-met
One potential solution is to put a script in /etc/network/ if-up.d that executes before any of the other scripts in that directory and waits for a specific condition (e.g. an IP address is assigned, or a route becomes available). I posted an example here: http:// askubuntu. com/questions/ 194632/ how-do- i-delay- upstarts- net-device- up-signal- until-a- condition- is-met