1. 修改網(wǎng)絡(luò)配置文件
vi /etc/sysconfig/network-scripts/ifcfg-ens33
centos7修改網(wǎng)絡(luò)配置.png
2. 重啟網(wǎng)絡(luò)服務(wù)
service network restart
3. 查看網(wǎng)絡(luò)連接
ip addr
centos7網(wǎng)絡(luò)連接.png
vi /etc/sysconfig/network-scripts/ifcfg-ens33
centos7修改網(wǎng)絡(luò)配置.png
service network restart
ip addr
centos7網(wǎng)絡(luò)連接.png