تغییر تنظیمات شبکه در CentOS 7
علی ذوالفقار
1399/01/27 13:35:23 (3)
systemctl restart network config file /etc/sysconfig/network-scripts/ifcfg-eth0 config : [root@centos-w1 ~]# more /etc/sysconfig/network-scripts/ifcfg-ens32
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens32
UUID=27267714-4adb-4843-b609-7995d1df64f3
DEVICE=ens32
ONBOOT=yes
IPADDR=192.168.0.218
PREFIX=22
GATEWAY=192.168.0.171
DNS1=217.218.127.127
ZONE=public
https://www.cyberciti.biz/faq/rhel-centos-linux-7-restart-networking-command-line/
Animated gif 01: systemctl command in action
Back