nmcli NetworkManager on CentOS/RHEL 8 Linux

Centos ve Redhat işletim sisteminde aşağıdaki komutları kullanarak network’ü kapatıp açabilirsiniz. Yaptığınız bir ayar değişikliği varsa aktif olacaktır.

sudo nmcli networking off
sudo nmcli networking on
[root@centos74 ~]# nmcli

enp0s3: connected to enp0s3
“Intel 82540EM”
ethernet (e1000), 08:00:27:34:DF:06, hw, mtu 1500
ip4 default
inet4 192.168.1.210/24
route4 192.168.1.0/24
route4 0.0.0.0/0
inet6 fe80::a00:27ff:fe34:df06/64
route6 fe80::/64
route6 ff00::/8

enp0s8: disconnected
“Intel 82540EM”
ethernet (e1000), 08:00:27:F8:02:B9, hw, mtu 1500

lo: unmanaged
“lo”
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
servers: 8.8.8.8 192.168.1.1
interface: enp0s3

Use “nmcli device show” to get complete information about known devices and
“nmcli connection show” to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.

Bir Cevap Yazın

EnglishTurkish
%d blogcu bunu beğendi: