2019-07-22_centos7 modify fixed ip

IP addr view, as shown, the card named

Look is ens32 or ens33

Modify the network card configuration file vi / etc / sysconfig / network-scripts / ifcfg-ens33 (last name for the card)

Dynamic IP addresses need to modify two places

(1)bootproto=dhcp

(2)onboot=yes

After the modification restart the network services to systemctl restart network

 

Guess you like

Origin www.cnblogs.com/wbly2019/p/11226963.html