2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Rocky Linux で使用されるネットワーク設定に関連するコマンド

Posted at
  1. nmcli

    • ネットワークデバイスの一覧表示: nmcli device status
    • 利用可能なWi-Fiネットワークのリスト表示: nmcli dev wifi list
    • 新しいWi-Fi接続の作成: nmcli dev wifi connect [SSID名] password [パスワード]
  2. nmtui

    • インタラクティブなテキストインターフェースの起動: nmtui
    • ここからネットワークの接続設定や編集が可能です。
  3. ifconfig

    • インターフェースの設定情報表示: ifconfig
    • 特定のインターフェース(例:eth0)のIPアドレス設定: ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
  4. ip

    • インターフェースの一覧表示: ip link show
    • 特定のインターフェース(例:eth0)のIPアドレス設定: ip addr add 192.168.1.2/24 dev eth0
  5. route

    • ルーティングテーブルの表示: route -n
    • 新しいルートの追加: route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.1
  6. netstat

    • アクティブな接続の表示: netstat -ant
    • リッスン中のポートの表示: netstat -tuln
  7. ss

    • アクティブなTCP接続の表示: ss -t -a
    • サーバー上のリッスン中のポート表示: ss -ltn
  8. iwconfig

    • ワイヤレスインターフェースの設定情報表示: iwconfig
    • 特定のワイヤレスインターフェース(例:wlan0)のESSID設定: iwconfig wlan0 essid [SSID名]
  9. ping

    • ネットワークホスト(例:google.com)への接続テスト: ping google.com
  10. traceroute

    • パケットが目的地までの経路表示: traceroute google.com
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?