Establish the direct route to the gateway earlier.

By establishing the route prior to interface configuration
we avoid traffic loops. Report and fix by Niels Peen.
Resolves #5
when clearing the log, ensure that is cleared globally