1
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?

More than 1 year has passed since last update.

nmcli

Last updated at Posted at 2023-07-25
[linuxstudy@localhost ~]$ nmcli
ens33: 接続済み to ens33
        "Intel 82545EM"
        ethernet (e1000), 00:0C:29:36:8C:6F, hw, mtu 1500
        ip4 デフォルト
        inet4 192.168.253.139/24
        route4 0.0.0.0/0
        route4 192.168.253.0/24
ens33: 接続済み to ens33
        "Intel 82545EM"
        ethernet (e1000), 00:0C:29:36:8C:6F, hw, mtu 1500
        ip4 デフォルト
        inet4 192.168.253.139/24
        route4 0.0.0.0/0
        route4 192.168.253.0/24
        inet6 fe80::7b18:ba6f:58cb:d149/64
        route6 fe80::/64
        route6 ff00::/8

virbr0: 切断済み
        "virbr0"
        bridge, 52:54:00:DC:97:4D, sw, mtu 1500

lo: 管理無し
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

virbr0-nic: 管理無し
        "virbr0-nic"
        tun, 52:54:00:DC:97:4D, sw, mtu 1500

DNS configuration:
        servers: 192.168.253.2
[linuxstudy@localhost ~]$ nmcli general
STATE     CONNECTIVITY  WIFI-HW  WIFI  WWAN-HW  WWAN 
接続済み  完全          有効     有効  有効     有効 
[[linuxstudy@localhost ~]$ nmcli device 
DEVICE      TYPE      STATE     CONNECTION 
ens33       ethernet  接続済み  ens33      
virbr0      bridge    切断済み  --         
lo          loopback  管理無し  --         
virbr0-nic  tun       管理無し  --         
[linuxstudy@localhost ~]$ nmcli connection
NAME   UUID                                  TYPE      DEVICE 
ens33  ae703e2b-089a-4424-b099-c003e03946a4  ethernet  ens33  
[linuxstudy@localhost ~]$ nmcli networking
enabled
[linuxstudy@localhost ~]$ nmcli radio
WIFI-HW  WIFI  WWAN-HW  WWAN 
有効     有効  有効     有効 
[linuxstudy@localhost ~]$ nmcli general hostname xxxx
[linuxstudy@localhost ~]$ nmcli general hostname 
xxxx
[linuxstudy@localhost ~]$ cat /etc/hostname
xxxx
[linuxstudy@localhost ~]$ ping xxxx
PING xxxx (192.168.253.139) 56(84) bytes of data.
64 bytes from xxxx (192.168.253.139): icmp_seq=1 ttl=64 time=0.603 ms
64 bytes from xxxx (192.168.253.139): icmp_seq=2 ttl=64 time=0.174 ms
1
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
1
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?