linux etcsysconfignetwork
The file you mentioned, /etc/sysconfig/network, is a configuration file in Linux that is used to configure the network settings for the system.
Some of the common settings that can be found in this file include:
- HOSTNAME: Specifies the hostname for the system.
- NETWORKING: Enables or disables networking on the system.
- NETWORKING_IPV6: Enables or disables IPv6 networking on the system.
- GATEWAY: Specifies the default gateway for the system.
- DNS1, DNS2: Specifies the DNS servers to use for name resolution.
- NM_CONTROLLED: Specifies whether the network interfaces are managed by NetworkManager.
These are just a few examples, and the actual content of the file may vary depending on the Linux distribution and version you are using
原文地址: https://www.cveoy.top/t/topic/iXr6 著作权归作者所有。请勿转载和采集!