NIC configuration: Vi/etc/sysconfig/network-scripts/ifcfg-eth0device=eth0
Hwaddr=00:0c:29:d4:a4:b1
Type=ethernet
Uuid=45744d6c-8ec4-4c68-9342-384515579b07
onboot= "Yes"
Nm_controlled=yes
bootproto= "Static"
Ipaddr= "192.168.1.120"
Gateway= "192.168.1.1" netmask= "255.255.255.0" # # #启用/sbin/ifdown eth0/sbin/ifup eth0service netword restart Firewall chkconfig iptables on|off/etc/selinux/config Disable # # # # # # # # # # # # # # # # 1, edit/etc/udev/rules.d/70- Persistent-net.rules file name= "eth0" line configuration commented out or deleted, the name= "eth1" modified to Name= "eth0" 2, change the network card configuration file,/etc/sysconfig/ Network-scripts/ifcfg-eth0 change the value of HWADDR to the value 3 after address in the/etc/udev/rules.d/70-persistent-net.rules file, modify the/etc/ Sysconfig/network, change the hostname 4, restart the system, reboot.
linux-network configuration and VM cloning Linux issues