Sc 1278 sc 1279

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