网络设置 发表于 2019-10-25 | 分类于 network 字数统计: | 阅读时长 ≈ 网卡配置配置网卡ifcfg-eth2 虚拟机配置eth2网卡,每次虚拟机重启不能自动获取ip,所以如下操作 123456789/etc/sysconfig/network-scriptscat ifcfg-eth22DEVICE=eth2HWADDR=08:00:27:d7:58:c8TYPE=EthernetUUID=c89ca729-525a-40e4-93ec-ad073841c318ONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=dhcp linux 网卡配置详解 ifcfg-eth0 12345yum -y install NetworkManagerservice NetworkManager statusservice NetworkManager start如果一直报NetworkManager 已死,但 pid 文件仍存,就直接reboot,nmcli con centos6 查看机器网卡uuid