Home >Operation and Maintenance >CentOS >How to configure centos system to access the Internet
1. Change the network connection to bridge mode
2. Switch to the /etc/sysconfig/network-scripts network card directory, And open the efcfg-eno16777736 configuration file (depending on the actual situation) and make the following modifications:
(Recommended tutorial: centos usage tutorial)
dhcp defaults to dynamic acquisition ip, if it is a fixed IP, change it to static. Then IPV6 is blocked and changed to no, IPV4 is changed to yes, and JNBOOT is changed to yes.
3. Ping the external network
The above is the detailed content of How to configure centos system to access the Internet. For more information, please follow other related articles on the PHP Chinese website!