Home > Article > Operation and Maintenance > How to configure the network card in linux?
If the newly installed Linux server uses DHCP, you need to manually configure the network card information.
Linux configuration network card steps:
1. Ifconfig command checks you, there is no ip address information
2. Enter the /etc/sysconfig/network-scripts directory
3. ll ifcfg-*
Find the network card configuration file ifcfg-ens32
4. The configuration file before editing is as shown in the figure. The marked places need to be edited
5. Edit The following content is as follows, exit and save
6. Restart the network card
systemctl restart network
7. Test
Related learning recommendations: linux video tutorial
The above is the detailed content of How to configure the network card in linux?. For more information, please follow other related articles on the PHP Chinese website!