0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ubuntu22.04のネットワークを管理しているソフトを特定する方法

Posted at

ネットワーク接続を管理するとき、OSにもよりますが複数の方法がありますよね
debian系のosならnetplanだとか、systemd-networkdだとか、他にも複数の管理ツールがあります
それぞれ設定方法が違って、設定ファイルのパスを間違えれば適応されないし
合ってたとしても違う管理ツールの設定をしていたらもちろん適応されません

まずはどのツールで管理されているのか特定したいです
最近改めてその方法を知ったので書き残しておきます

環境

  • OS: ubuntu22.04
  • kernel: 5.15.0-130-generic
  • systemd: 249.11-0ubuntu3.12

k8sのコントロールプレーンとして稼働させているVM上のubuntuです

ネットワークを管理しているツールの特定

といってもそこまで仰々しいものではなく、言われてみればという内容なのですが

bash
sudo systemctl is-active "<任意の管理ツール>"

これの出力結果がactiveかinactiveか確認するというだけのものです
activeであると分かればあとは対応する設定方法を調べて適応するだけです

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?