I just set up a second IP adress on my Ubuntu server and now I'm trying to change the default outgoing IP adress to the new one with
ip route replace default via <old-ip> src <new-ip>
.
But whenever I restart the networking service, it gets changed to the old IP adress.