I have just installed a Centos system with a VM. I cannot find the ipv4 address using the ifconfig command. Depressed !! As a result, I checked a lot of information on the network and found that it was ipv4 and was last enabled. The following is a solution. 1. vim open/etc/sysconfig/network-scripts/ifcfg-eth02. change ONBOOT = no to ONBOOT = yes, save and exit 3. remember not to forget to restart the network. Se
I have just installed a Centos system with a VM. I cannot find the ipv4 address using the ifconfig command. Depressed !! As a result, I checked a lot of information on the network and found that it was ipv4 and was last enabled. The following is a solution.
1. vim open/etc/sysconfig/network-scripts/ifcfg-eth0
2. change ONBOOT = no to ONBOOT = yes, save and exit
3. remember not to forget to restart the network. Service network restart