Home >Operation and Maintenance >CentOS >How to configure centos system to access the Internet

How to configure centos system to access the Internet

王林
王林Original
2020-03-23 16:01:505744browse

How to configure centos system to access the Internet

1. Change the network connection to bridge mode

How to configure centos system to access the Internet

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.

How to configure centos system to access the Internet

3. Ping the external network

How to configure centos system to access the Internet

## Recommended related video tutorials:

linux video tutorial

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn