Configure network card (IP) After system installation completes 1. Enter Setup command after landing system
2. Select Networkconfiguration and press run Tool
3. Select device configuration, direct return, do not press Save&quit or quit
4. Here is a network card eth0, we direct return
5. Select Use DHCP to assign IP addresses automatically, DNS can be configured to not configure. Then click OK
6. Click Save
7. Select Save&quit
8. Select Quit, Exit
9. When the network card configuration is complete, we need to start the NIC. command Line Input ifup eth0, will start eth0 this network card. Hint done indicates successful start. Enter Ifconfig to view the acquired IP. Ping the acquired IP with another host to see if you can ping it. 10. Configure the NIC to boot from boot.
Cat/etc/sysconfig/network-scripts/ifcfg-eth0 can see if the boot is starting from the configuration file.
Onboot if it equals no, then we need to change to Yes.
You can perform the following sed substitution command to replace the Onboot=no in the file with the Onboot=yes
Set-i ' S#onboot=no#onboot=yes#g '/etc/sysconfig/network-scripts/ifcfg-eth0
After the configuration is complete, the NIC will boot from boot.
11. Configure Network Card FAQ (1) ifup eth0, the NIC does not start or cannot be found first: Check the network card is configured. Second: detects whether the DHCP service and NAT service for VMware virtual machines are started. (2) After the network card is started, you can ping it to the extranet under Linux, but do not ping it under Linux First: Check that the VMware virtual machine's VMNET8 network adapter is started. Second: Check the Linux firewall is off.