This will not survive a network reconfiguration.
You should use the configuration database as you did with the network.
Adapt the following command:
db routes set 0.0.0.0/0 static Description “default gw” Device eno1 Metric “” Router IP_DEFAULT_GATEWAY
You can apply the configuration with signal-event interface-update
.
Warning: you could loose connection in case of mistakes.