![]() ![]() ![]() For the above example of enp2s0, the configuration file is /etc/sysconfig/network-scripts/ifcfg-enp2s0.Īs an example, to set its IP to 1.2.3.4 with netmask 255.255.255.0, gateway 4.3.2.1, DNS 114.114.114.114, the content will be like NM_CONTROLLED="yes"įor more details of the configuration and other options, you may check the the Interface Configuration Options from this QA. Find the interface you want to set the addressįind the interface name to set, such as enp2s0.įor interface NAME, the configuration file is stored in /etc/sysconfig/network-scripts/ifcfg-NAME. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |