kb

Netplan gateway4 is dead – long live route

as you maybe know in netplan gateway4 is deprecated. what you can use instead?

to get away from a deprecated syntax in your linux environment (example ubuntu 22.04.x) you are using the routes and via syntax.

below an example (note: the ip adresses must match with your network. those are just for your better understanding)