「netplan」を使用するときに「gateway4は使用されなくなりました」エラーを解決する方法は?

「netplan」を使用するときに「gateway4は使用されなくなりました」エラーを解決する方法は?

Ubuntu jammyでnetplanを使用して静的IPアドレスを生成しようとしています。私がタイプしたとき

sudo netplan apply

これが結果です

** (generate:41329): WARNING **: 16:53:17.169: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:41327): WARNING **: 16:53:17.379: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

ベストアンサー1

おすすめ記事