{"id":16424,"date":"2026-04-13T11:15:25","date_gmt":"2026-04-13T11:15:25","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=16424"},"modified":"2026-04-13T11:15:29","modified_gmt":"2026-04-13T11:15:29","slug":"how-to-configure-network-settings-on-almalinux-10","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/","title":{"rendered":"How to Configure Network Settings on AlmaLinux 10"},"content":{"rendered":"\n<p>Configuring network settings in AlmaLinux 10 is an essential skill for Linux administrators, DevOps engineers, and server operators. The RHEL-compatible enterprise Linux distribution AlmaLinux 10 is based on NetworkManager and applications such as nmcli and nmtui to handle IP addresses, DNS configuration, gateways, and network interfaces. Be it a cloud server, VPS, or an on-prem infrastructure, the correct setup of the static IP addresses, DHCP networking, and DNS resolvers will guarantee that your connection is stable and your server is functioning properly.<\/p>\n\n\n\n<p>This guide will teach you how to set <a href=\"https:\/\/almalinux.org\/get-almalinux\/\">AlmaLinux 10<\/a> network configuration using the nmcli commands, interactive nmtui, and NetworkManager key files.<\/p>\n\n\n\n<p><strong>Table of Content<\/strong><\/p>\n\n\n\n<p><a href=\"#How-to-Configure-Network-Settings-on-AlmaLinux-10\">How to Configure Network Settings on AlmaLinux 10<\/a><\/p>\n\n\n\n<p><a href=\"#Understanding-NetworkManager-on-AlmaLinux-10\">1. Understanding NetworkManager on AlmaLinux 10<\/a><\/p>\n\n\n\n<p><a href=\"#Checking-Network-Interfaces-and-IP-Addresses\">2. Checking Network Interfaces and IP Addresses<\/a><\/p>\n\n\n\n<p><a href=\"#Configuring-a-Static-IP-Address-with-nmcli\">3. Configuring a Static IP Address with nmcli<\/a><\/p>\n\n\n\n<p><a href=\"#Setting-up-Network-Settings-using-nmtui-(Text-UI)\">4. Setting up Network Settings using nmtui (Text UI)<\/a><\/p>\n\n\n\n<p><a href=\"#DNS-Configuration-and-Setting-Hostname\">5. DNS Configuration and Setting Hostname<\/a><\/p>\n\n\n\n<p><a href=\"#Configuring-DHCP-(Dynamic-IP-Address)\">6. Configuring DHCP (Dynamic IP Address)<\/a><\/p>\n\n\n\n<p><a href=\"#Adding-a-New-Network-Interface-Connection\">7. Adding a New Network Interface Connection<\/a><\/p>\n\n\n\n<p><a href=\"#Configuring-Static-Routes\">8. Configuring Static Routes<\/a><\/p>\n\n\n\n<p><a href=\"#Network-Security-Basics-and-Firewall\">9. Network Security Basics and Firewall<\/a><\/p>\n\n\n\n<p><a href=\"#Conclusion\">Conclusion<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Configure-Network-Settings-on-AlmaLinux-10\"><a id=\"post-16424-_5mv9xklsd48d\"><\/a>How to Configure Network Settings on AlmaLinux 10<\/h2>\n\n\n\n<p>Administrators usually set network settings on AlmaLinux 10 using NetworkManager and the nmcli command-line tool to manage interfaces, IP addresses, gateways, and DNS servers. The initial step is to verify the available interfaces with ip addr or nmcli device status, and finally to configure the connection with either DHCP (ipv4.method auto) or a fixed IP (ipv4.method manual) and the required address, subnet, gateway, and DNS values.<\/p>\n\n\n\n<p>Once the changes have been applied via nmcli connection up &lt;interface&gt;, ensure that the connection is established by running ping or ip a. A correct AlmaLinux 10 network setup provides stable server connectivity, good remote access, and optimal Linux server performance on cloud, <a href=\"https:\/\/www.greenwebpage.com\/vps-hosting.php\">VPS<\/a>, or enterprise platforms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Understanding-NetworkManager-on-AlmaLinux-10\"><a id=\"post-16424-_m4fi5pgahisv\"><\/a>1. Understanding NetworkManager on AlmaLinux 10<\/h2>\n\n\n\n<p>AlmaLinux 10, similarly to its RHEL counterpart, uses NetworkManager to configure the network. The ifcfg scripts found in \/etc\/sysconfig\/network-scripts\/ are no longer used in RHEL 9 and are completely eliminated in RHEL 10 \/ AlmaLinux 10. The connections between networks are now saved as .nmconnection keyfiles in the system-connections directory (\/etc\/NetworkManager).<\/p>\n\n\n\n<p>Check to see that NetworkManager is running:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>systemctl status NetworkManager<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"924\" height=\"473\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-1.png\" alt=\"\" class=\"wp-image-16425\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-1.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-1-300x154.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-1-768x393.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Enable and start if not running.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>systemctl enable &#8211;now NetworkManager<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Checking-Network-Interfaces-and-IP-Addresses\"><a id=\"post-16424-_rojra8renvcl\"><\/a>2. Checking Network Interfaces and IP Addresses<\/h2>\n\n\n\n<p>Audit your existing network setup first before changes are implemented. AlmaLinux 10 uses predictable network interface names like ens160, eth0, or enp3s0, depending on the hardware.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_2gdu5pz4kale\"><\/a>List all interfaces and IP addresses.<\/h3>\n\n\n\n<p>Display network interfaces and IPs.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ip addr show<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"922\" height=\"533\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-2.png\" alt=\"ip addr show\" class=\"wp-image-16426\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-2.png 922w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-2-300x173.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-2-768x444.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Small overview of the entire device.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli device status<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"924\" height=\"157\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-3.png\" alt=\"nmcli device status\" class=\"wp-image-16427\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-3.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-3-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-3-768x130.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>List all current connections.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection show<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"183\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-4.png\" alt=\"nmcli connection show\" class=\"wp-image-16428\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-4.png 925w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-4-300x59.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-4-768x152.png 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Let\u2019s show the routing table.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ip route show<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"187\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-5.png\" alt=\"ip route show\" class=\"wp-image-16429\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-5.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-5-300x61.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-5-768x156.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Configuring-a-Static-IP-Address-with-nmcli\"><a id=\"post-16424-_degotwrt4zas\"><\/a>3. Configuring a Static IP Address with nmcli<\/h2>\n\n\n\n<p>The most common network configuration task on servers is to <a href=\"https:\/\/greenwebpage.com\/community\/how-to-set-static-ip-address-on-ubuntu-24-04\/\">set a static IP address<\/a> on AlmaLinux 10. The fixed IP is necessary because you do not want your server to change its address every time it goes online, which is very crucial to web servers, database hosts, and SSH access.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_zcmr155ik6vu\"><\/a>STEP 01: Find interface name<\/h3>\n\n\n\n<p>Run nmcli device status to find the name of your target interface.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli device status<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"157\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-6.png\" alt=\"nmcli device status\" class=\"wp-image-16430\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-6.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-6-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-6-768x130.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_yzhj2fmuoljq\"><\/a>STEP 02: Configure IP address<\/h3>\n\n\n\n<p>nmcli connection modify can be used to give your preferred IP and subnet mask. Specify IP address and subnet.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.address 192.168.1.100\/24<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"120\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-7.png\" alt=\"nmcli connection modify ens160 IPv4.address 192.168.1.100\/24\" class=\"wp-image-16431\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-7.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-7-300x39.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-7-768x100.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_s3sjyyhpjssk\"><\/a>STEP 03: Set gateway &amp; DNS<\/h3>\n\n\n\n<p>Set up the default route and DNS resolver to route to the internet.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.gateway 192.168.1.1<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"109\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-8.png\" alt=\"nmcli connection modify ens160 IPv4.gateway 192.168.1.1\" class=\"wp-image-16432\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-8.png 925w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-8-300x35.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-8-768x90.png 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Set primary and secondary DNS.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.dns &#8220;1.1.1.1 8.8.8.8&#8221;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"110\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-9.png\" alt=\"\" class=\"wp-image-16433\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-9.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-9-300x36.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-9-768x92.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Switch to manual (disable DHCP).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.method manual<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"92\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-10.png\" alt=\"\" class=\"wp-image-16434\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-10.png 921w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-10-300x30.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-10-768x77.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_h8qo94d9k3z6\"><\/a>Step 04: Reconnect to apply changes<\/h3>\n\n\n\n<p>Now, reconnect the network to apply the modifications.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection down ens160 &amp;&amp; nmcli connection up ens160<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"225\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-11.png\" alt=\"nmcli connection down ens160 &amp;&amp; nmcli connection up ens160\" class=\"wp-image-16435\" style=\"width:923px;height:auto\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-11.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-11-300x73.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-11-768x187.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-16424-_cbs65s7w49q5\"><\/a>STEP 05: Apply and verify<\/h3>\n\n\n\n<p>Test the connection by bouncing to check that the configuration is in effect. Let\u2019s see static IP using nmcli (change ens160 to your interface).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"916\" height=\"561\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-12.png\" alt=\"nmcli\" class=\"wp-image-16436\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-12.png 916w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-12-300x184.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-12-768x470.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>SSH alert<\/strong>: When using <a href=\"https:\/\/greenwebpage.com\/community\/how-to-enable-ssh-on-ubuntu-24-04\/\">SSH<\/a>, running the connection down will kill your connection. Single nmcli connection modify can edit all parameters simultaneously, and reboot &#8211; or nmcli device reapply ens160 can be a gentler apply.<\/p>\n\n\n\n<p>Use a command to set all the parameters including static IP configuration.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 \\<\/p>\n<p>IPv4.address 192.168.1.100\/24 \\<\/p>\n<p>IPv4.gateway 192.168.1.1 \\<\/p>\n<p>IPv4.dns &#8220;1.1.1.1 8.8.8.8&#8221; \\<\/p>\n<p>IPv4.method manual \\<\/p>\n<p>connection.autoconnect yes<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Setting-up-Network-Settings-using-nmtui-(Text-UI)\"><a id=\"post-16424-_6tq9jpuf4qrd\"><\/a>4. Setting up Network Settings using nmtui (Text UI)<\/h2>\n\n\n\n<p>Nmtui (NetworkManager Text User Interface) will be the best choice in case you want an interactive menu-based interface as opposed to typing down commands. It is already installed in all AlmaLinux 10 systems.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmtui<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>When you get inside nmtui, use the arrow keys and Enter. Click on Edit a connection and hit Enter.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"476\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-13.png\" alt=\"network manager tui\" class=\"wp-image-16437\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-13.png 904w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-13-300x158.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-13-768x404.png 768w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Choose your network interface (e.g., ens160).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"661\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-14.png\" alt=\"choose network interface in nmtui\" class=\"wp-image-16438\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-14.png 872w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-14-300x227.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-14-768x582.png 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Change Automatic to Manual Under IPv4 Configuration. Then, press Add next to Addresses and enter your IP (e.g., 192.168.1.100\/24). Enter the Gateway (192.168.1.1) and DNS servers. Finally, click the OK button and select Activate a connection to implement.<\/p>\n\n\n\n<p><strong>Pro tip<\/strong>: nmtui works best with headless server configurations, where you desire guided configuration without learning nmcli syntax. It also is compatible with simple terminal emulators when using over SSH.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"DNS-Configuration-and-Setting-Hostname\"><a id=\"post-16424-_kzwmuaiyutuo\"><\/a>5. DNS Configuration and Setting Hostname<\/h2>\n\n\n\n<p>Let\u2019s see the system hostname.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>hostnamectl<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"574\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-15.png\" alt=\"hostnamectl\" class=\"wp-image-16439\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-15.png 921w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-15-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-15-768x479.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Time is a complete qualified domain name (FQDN).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>hostnamectl set-hostname webserver.example.com<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"74\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-16.png\" alt=\"\" class=\"wp-image-16440\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-16.png 921w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-16-300x24.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-16-768x62.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Let\u2019s verify the system hostname.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>hostnamectl<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"545\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-17.png\" alt=\"hostnamectl\" class=\"wp-image-16441\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-17.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-17-300x177.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-17-768x453.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Configuring DNS Resolvers<\/p>\n\n\n\n<p>NetworkManager is used to manage DNS on AlmaLinux 10, and set DNS via nmcli. Let\u2019s create DNS servers (Cloudflare + Google).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.dns &#8220;1.1.1.1 8.8.8.8&#8221;<\/p>\n<p>nmcli connection up ens160<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"212\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-18.png\" alt=\"nmcli modify connection\" class=\"wp-image-16442\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-18.png 924w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-18-300x69.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-18-768x176.png 768w\" sizes=\"(max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Verify DNS resolution.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>cat \/etc\/resolv.conf<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"186\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-19.png\" alt=\"cat \/etc\/resolv.conf\" class=\"wp-image-16443\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-19.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-19-300x60.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-19-768x155.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Configuring-DHCP-(Dynamic-IP-Address)\"><a id=\"post-16424-_y4anzcgkm7qs\"><\/a>6. Configuring DHCP (Dynamic IP Address)<\/h2>\n\n\n\n<p>In order to revert an interface to DHCP (after setting a fixed IP). Let\u2019s switch to DHCP mode\/automatic.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 IPv4.method auto<\/p>\n<p>nmcli connection modify ens160 IPv4.address &#8220;&#8221;<\/p>\n<p>nmcli connection modify ens160 IPv4.gateway &#8220;&#8221;<\/p>\n<p>nmcli connection modify ens160 IPv4.dns &#8220;&#8221;<\/p>\n<p>nmcli connection up ens160<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"295\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-20.png\" alt=\"nmcli connection modify  dhcp\" class=\"wp-image-16444\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-20.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-20-300x96.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-20-768x245.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Adding-a-New-Network-Interface-Connection\"><a id=\"post-16424-_43y076yu42zj\"><\/a>7. Adding a New Network Interface Connection<\/h2>\n\n\n\n<p>To add a second NIC or to give a named connection profile to an interface without one (yet). Let\u2019s add a new static Ethernet connection.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection add \\<\/p>\n<p>type ethernet \\<\/p>\n<p>con-name &#8220;LAN-static&#8221; \\<\/p>\n<p>ifname eth1 \\<\/p>\n<p>ipv4.addresses 10.0.0.50\/24 \\<\/p>\n<p>ipv4.gateway 10.0.0.1 \\<\/p>\n<p>ipv4.dns &#8220;1.1.1.1&#8221; \\<\/p>\n<p>ipv4.method manual<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"339\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-21.png\" alt=\"nmcli connection add\" class=\"wp-image-16445\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-21.png 922w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-21-300x110.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-21-768x282.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, add a new DHCP connection.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection add type ethernet con-name &#8220;eth1-dhcp&#8221; ifname eth1 ipv4.method auto<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"160\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-22.png\" alt=\"nmcli connection add type ethernet con-name &quot;eth1-dhcp&quot; ifname eth1 ipv4.method auto\" class=\"wp-image-16446\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-22.png 921w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-22-300x52.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-22-768x133.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Configuring-Static-Routes\"><a id=\"post-16424-_uac5ffm6c7g0\"><\/a>8. Configuring Static Routes<\/h2>\n\n\n\n<p>You have to specify the static routes when your AlmaLinux server has to communicate with the hosts that belong to other networks. Let\u2019s add a static route using nmcli (survives reboots).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 \\<\/p>\n<p>+ipv4.routes &#8220;10.10.0.0\/16 192.168.1.254&#8221;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"103\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-23.png\" alt=\"nmcli connection modify\" class=\"wp-image-16447\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-23.png 922w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-23-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-23-768x86.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Apply the change.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli device reapply ens160<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-24.png\" alt=\"nmcli device reapply ens160\" class=\"wp-image-16448\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-24.png 918w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-24-300x33.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-24-768x85.png 768w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Finally, verify routes.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ip route show<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"261\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-25.png\" alt=\"ip route show\" class=\"wp-image-16449\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-25.png 921w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-25-300x85.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-25-768x218.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can remove a static route.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nmcli connection modify ens160 \\<\/p>\n<p>-ipv4.routes &#8220;10.10.0.0\/16 192.168.1.254&#8221;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"111\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-26.png\" alt=\"nmcli connection modify\" class=\"wp-image-16450\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-26.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-26-300x36.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-26-768x92.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Network-Security-Basics-and-Firewall\"><a id=\"post-16424-_ygod3bxy85oc\"><\/a>9. Network Security Basics and Firewall<\/h2>\n\n\n\n<p>The default firewall daemon in AlmaLinux 10 is firewalld. Firewall rules and network configuration operate in tandem- with a static IP you can do nothing with unless the firewall allows your service ports to pass.<\/p>\n\n\n\n<p>Let\u2019s check firewalld status.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>systemctl status firewalld<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"479\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-27.png\" alt=\"systemctl status firewalld\" class=\"wp-image-16451\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-27.png 925w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-27-300x155.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-27-768x398.png 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Allow SSH, HTTP, and HTTPS permanently.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>firewall-cmd &#8211;permanent &#8211;add-service={ssh,http,https}<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"222\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-28.png\" alt=\"firewall-cmd --permanent --add-service={ssh,http,https}\" class=\"wp-image-16452\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-28.png 925w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-28-300x72.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-28-768x184.png 768w\" sizes=\"(max-width: 925px) 100vw, 925px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Now, allow a custom port (e.g., 8080\/tcp).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>firewall-cmd &#8211;permanent &#8211;add-port=8080\/tcp<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"98\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-29.png\" alt=\"firewall-cmd --permanent --add-port=8080\/tcp\" class=\"wp-image-16453\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-29.png 923w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-29-300x32.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-29-768x82.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Reload to apply changes<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>firewall-cmd &#8211;reload<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"929\" height=\"115\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-30.png\" alt=\"firewall-cmd --reload\" class=\"wp-image-16454\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-30.png 929w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-30-300x37.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-30-768x95.png 768w\" sizes=\"(max-width: 929px) 100vw, 929px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can also list all rules.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>firewall-cmd &#8211;list-all<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"919\" height=\"494\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-31.png\" alt=\"firewall-cmd --list-all\" class=\"wp-image-16455\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-31.png 919w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-31-300x161.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/word-image-16424-31-768x413.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-16424-_lpa1wy3v1wmz\"><\/a>Conclusion<\/h2>\n\n\n\n<p>To configure network settings on AlmaLinux 10, use the nmcli command-line tool powered by NetworkManager, the default and only supported networking system in AlmaLinux 10. Run nmcli connection modify &lt;interface&gt; IPv4.address &lt;IP\/prefix&gt; IPv4.gateway &lt;gateway&gt; IPv4.dns &#8220;&lt;DNS&gt;&#8221; IPv4.method manual to assign a static IP, then apply it with nmcli connection up &lt;interface&gt;.<\/p>\n\n\n\n<p>For an interactive approach, launch nmtui in the terminal and navigate the menu to set your IP, gateway, and DNS without memorizing any commands. All configurations are stored as keyfiles in \/etc\/NetworkManager\/system-connections\/ and persist across reboots as long as connection.autoconnect is set to yes.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Configuring network settings in AlmaLinux 10 is an essential skill for Linux administrators, DevOps engineers, and server operators. The RHEL-compatible enterprise Linux distribution AlmaLinux 10 is based on NetworkManager and applications such as nmcli and nmtui to handle IP addresses, DNS configuration, gateways, and network interfaces. Be it a cloud server, VPS, or an on-prem [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":16460,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[1024,741,495,493,742],"class_list":["post-16424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-almalinux-10","tag-network-configuration","tag-nmcli","tag-nmtui","tag-static-ip-address"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-13T11:15:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-13T11:15:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Configure Network Settings on AlmaLinux 10\",\"datePublished\":\"2026-04-13T11:15:25+00:00\",\"dateModified\":\"2026-04-13T11:15:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\"},\"wordCount\":1294,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg\",\"keywords\":[\"AlmaLinux 10\",\"Network Configuration\",\"nmcli\",\"nmtui\",\"Static IP Address\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\",\"name\":\"How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg\",\"datePublished\":\"2026-04-13T11:15:25+00:00\",\"dateModified\":\"2026-04-13T11:15:29+00:00\",\"description\":\"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Configure Network Settings on AlmaLinux 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Network Settings on AlmaLinux 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community","description":"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community","og_description":"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/","og_site_name":"Greenwebpage Community","article_published_time":"2026-04-13T11:15:25+00:00","article_modified_time":"2026-04-13T11:15:29+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Configure Network Settings on AlmaLinux 10","datePublished":"2026-04-13T11:15:25+00:00","dateModified":"2026-04-13T11:15:29+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/"},"wordCount":1294,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg","keywords":["AlmaLinux 10","Network Configuration","nmcli","nmtui","Static IP Address"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/","url":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/","name":"How to Configure Network Settings on AlmaLinux 10 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg","datePublished":"2026-04-13T11:15:25+00:00","dateModified":"2026-04-13T11:15:29+00:00","description":"This guide will teach you how to set AlmaLinux 10 network configuration using the nmcli commands, interactive nmtui, and NetworkManager.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/04\/How-to-Configure-Network-Settings-on-AlmaLinux-10.jpg","width":1020,"height":600,"caption":"How to Configure Network Settings on AlmaLinux 10"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-configure-network-settings-on-almalinux-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Configure Network Settings on AlmaLinux 10"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/16424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=16424"}],"version-history":[{"count":4,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/16424\/revisions"}],"predecessor-version":[{"id":16459,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/16424\/revisions\/16459"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/16460"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=16424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=16424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=16424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}