Add gateway workaround & cleaning old ip set on an interface

Workaround for the way the gateway is added. Now we clean the previous interface's ip before adding a new one.