/Etc/sysconfig/network-scripts/ifcfg-eth0 configuration file, which is a system self-contained limited network configuration file, you can set the network configuration during the installation process, the related configuration file is saved in the ifcfg-eth0, such as configuring the network as DHCP during installation, the content in this file is DHCP. After successful installation, you can use the graphic tools provided by the application layer to modify network configurations and manually specify IP addresses.
The parameters are as follows:
Device = physical device name
Ipaddr = IP Address
Netmask = mask Value
Network = network address
Broadcast = broadcast address
Gateway = gateway address
Onboot = [Yes | no] (whether to activate the device during boot)
Userctl = [Yes | no] (whether non-root users can control the device)
Bootproto = [none | static | BOOTP | DHCP] (no protocol used during boot | static allocation | BOOTP protocol | DHCP protocol)
Hwaddr = MAC address
Ipv6init = [Yes | no] (whether IPv6 is allowed)
Ipv6addr = IPv6 address