{"id":14544,"date":"2025-06-17T09:51:30","date_gmt":"2025-06-17T09:51:30","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=14544"},"modified":"2025-06-17T09:54:12","modified_gmt":"2025-06-17T09:54:12","slug":"how-to-change-an-ip-address-on-debian-12","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/","title":{"rendered":"How to Change an IP Address on Debian 12"},"content":{"rendered":"\n<p>Whether you&#8217;re setting up a server, fixing a connection issue, or testing a service, changing the IP address on Debian 12 is a straightforward task. It can boost both your network&#8217;s security and its overall reliability. In this guide, we&#8217;ll explore every option you might need, from giving your machine a permanent static address to swapping back and forth between DHCP and manual settings.<\/p>\n\n\n\n<p>This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Change-an-IP-Address-on-Debian-12\">How to Change an IP Address on Debian 12?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Method-1:-Editing-the-\/etc\/network\/interfaces-File\">Method 1: Editing the \/etc\/network\/interfaces File<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Using-the-nmcli\">Method 2: Using the nmcli (Command-line Tool)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-3:-Using-the-nmtui\">Method 3: Using the nmtui (Text-based Interface)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-4:-Using-NetworkManager\">Method 4: Using NetworkManager (Graphical-based Interface)<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Change-an-IP-Address-on-Debian-12\"><a id=\"post-14544-_w3xjvd3xgqsz\"><\/a>How to Change an IP Address on Debian 12?<\/h2>\n\n\n\n<p>Debian 12, nicknamed Bookworm, relies mainly on systemd-networkd for servers and NetworkManager for desktop workstations. Which tool you use depends on how you&#8217;ve set up your system and what you&#8217;re most comfortable with. Take a moment to check your current setup so you know where to start and avoid unnecessary headaches.<\/p>\n\n\n\n<p><strong>Prerequisite: Create a Backup File<\/strong><\/p>\n\n\n\n<p>Before you tweak any network settings, make a quick backup of the current file with this command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo cp \/etc\/network\/interfaces \/etc\/network\/interfaces.bak<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>Let&#8217;s dive into the first method and get started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-1:-Editing-the-\/etc\/network\/interfaces-File\"><a id=\"post-14544-_7n6o2ynl0g0z\"><\/a>Method 1: Editing the \/etc\/network\/interfaces File<\/h3>\n\n\n\n<p>On Debian 12, the file \/etc\/network\/interfaces tells the system how to set up each network port. Here, add IP address, netmask, gateway, and DNS values in that file. Once you save the change, restart networking so the new settings load.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_o8lvcc6xgj31\"><\/a>Step 1: Open \/etc\/network\/interfaces File<\/h4>\n\n\n\n<p>Start by opening the configuration file with the sudo rights you need. You can do that in the nano terminal editor like this:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nano \/etc\/network\/interfaces<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1147\" height=\"97\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-1.png\" alt=\"sudo nano \/etc\/network\/interfaces\" class=\"wp-image-14545\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-1.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-1-300x25.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-1-1024x87.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-1-768x65.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_v8khqrgkm9ok\"><\/a>Step 2: Configure Network Interface<\/h4>\n\n\n\n<p>Scroll through the file until you see a line that begins with iface; that line shows you which device is being set. Suppose you want to adjust the Ethernet port lo, add these lines for a static setup (substituting your numbers as needed):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>auto lo <br>iface lo inet static<\/p>\n<p>address 192.168.157.135<\/p>\n<p>netmask 255.255.255.0<\/p>\n<p>gateway 192.168.157.135<\/p>\n<p>dns-nameservers 8.8.8.8 8.8.4.4<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>Users can replace or modify the addresses with their own:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1140\" height=\"759\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2.png\" alt=\"Configuring network interface\" class=\"wp-image-14546\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2.png 1140w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2-300x200.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2-1024x682.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2-768x511.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-2-900x600.png 900w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can swap the example values for your real network data right here. When you finish, save the file by pressing Ctrl-O, then hit Ctrl-X to exit.<\/p>\n\n\n\n<p><strong>Note<\/strong>: If you do not yet know the correct interface name, run nmcli connection show and check the Device Name column for a match.<\/p>\n\n\n\n<p><strong>IMPORTANT<\/strong>: Before you do anything else, double-check that the default gateway matches the assigned IP address if you&#8217;re using NAT or a bridged network. If it doesn&#8217;t, find the line that reads iface lo inet dhcp and swap dhcp for static, then repeat the steps above.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_hbfrdr4mhvwg\"><\/a>Step 3: Restart the Networking Service<\/h4>\n\n\n\n<p>Now you need to apply the new settings by rebooting the machine:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo systemctl restart NetworkManager.service<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1147\" height=\"122\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-3.png\" alt=\"sudo systemctl restart NetworkManager.service\" class=\"wp-image-14547\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-3.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-3-300x32.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-3-1024x109.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-3-768x82.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_81gw8wf7hi9x\"><\/a>Step 4: Confirm the Changed IP Address<\/h4>\n\n\n\n<p>It&#8217;s a good idea to confirm that the address is stuck:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ip a<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1151\" height=\"735\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-4.png\" alt=\"ip a\" class=\"wp-image-14548\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-4.png 1151w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-4-300x192.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-4-1024x654.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-4-768x490.png 768w\" sizes=\"(max-width: 1151px) 100vw, 1151px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>If everything went smoothly, the static IP is now active, thanks to the edits you made in \/etc\/network\/interfaces on Debian 12.<\/p>\n\n\n\n<p><strong>Note<\/strong>: Remember that each method-debconf, this file, or any other-uses its own separate set of rules when it comes to changing an IP address on Debian.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-2:-Using-the-nmcli\"><a id=\"post-14544-_84rc1k4qk5pt\"><\/a>Method 2: Using the nmcli<\/h3>\n\n\n\n<p>If you prefer a command-line tool, nmcli is built into NetworkManager and lets you tweak connections right from the terminal. With it, you can set the IP address, prefix length, gateway, and DNS servers all in one go.<\/p>\n\n\n\n<p>If you want to set a new IP address on Debian 12 with nmcli, just work through these short steps:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_jnrjqjr0oh00\"><\/a>Step 1: List Network Connections<\/h4>\n\n\n\n<p>First, bring up a list of all network connections by running nmcli, followed by connection show. The output shows each connection with its name, UUID, type, and device:<\/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=\"1141\" height=\"194\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-5.png\" alt=\"nmcli connection show\" class=\"wp-image-14549\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-5.png 1141w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-5-300x51.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-5-1024x174.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-5-768x131.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_m4vb0oe9fpvk\"><\/a>Step 2: Configure Network Connection<\/h4>\n\n\n\n<p>No, we pick the Ethernet connection you want to change, for example, lo, and use its friendly name, &#8216;lo&#8217;, in the commands that follow. Now, configure\/modify connection settings. Such as an IP address<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Assign\/Set Static IP Address<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection modify &#8216;lo&#8217; ipv4.address 192.168.157.135\/24<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"173\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-6.png\" alt=\"sudo nmcli connection modify 'lo' ipv4.address 192.168.157.135\/24\" class=\"wp-image-14550\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-6.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-6-300x45.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-6-1024x154.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-6-768x116.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Set Default Gateway<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection modify &#8216;lo&#8217; ipv4.gateway 192.168.157.2<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-7.png\" alt=\"sudo nmcli connection modify 'lo' ipv4.gateway 192.168.157.2\" class=\"wp-image-14551\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-7.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-7-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-7-1024x93.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-7-768x70.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Change Configuration from Automatic to Static<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection modify &#8216;lo&#8217; 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=\"1150\" height=\"103\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-8.png\" alt=\"sudo nmcli connection modify 'lo' ipv4.method manual\" class=\"wp-image-14552\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-8.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-8-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-8-1024x92.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-8-768x69.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Optionally set DNS servers, like Google&#8217;s<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection modify &#8216;lo&#8217; ipv4.dns &#8216;8.8.8.8&#8217;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-9.png\" alt=\"sudo nmcli connection modify 'lo' ipv4.dns '8.8.8.8'\" class=\"wp-image-14553\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-9.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-9-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-9-1024x91.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-9-768x68.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Activate\/Enable the Connection<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection up &#8216;lo&#8217;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"174\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-10.png\" alt=\"sudo nmcli connection up 'lo'\" class=\"wp-image-14554\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-10.png 1150w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-10-300x45.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-10-1024x155.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-10-768x116.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Finally, bring the connection back up so the new settings take effect.<\/p>\n\n\n\n<p>If you ever need to roll back, simply run the same command but swap up for down to take the connection offline first.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_sbk4kshiuo91\"><\/a>Step 3: Verify Static IP Address<\/h4>\n\n\n\n<p>It&#8217;s a good idea to confirm that the address:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>ip a<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"725\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-11.png\" alt=\"ip a\" class=\"wp-image-14555\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-11.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-11-300x190.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-11-1024x648.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-11-768x486.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Tip: Add or Delete Network Connection<\/strong><\/p>\n\n\n\n<p>To apply any adjustments, restart the NetworkManager service with: sudo systemctl restart NetworkManager. Alternatively, a full system reboot works too:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo nmcli connection add id connection_name # Add New Connection <br>sudo nmcli connection delete id connection_name # Delete Existing Connection<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p>After running those commands, your static IP is now live on Debian 12.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-3:-Using-the-nmtui\"><a id=\"post-14544-_3ei9zb8adi9y\"><\/a>Method 3: Using the nmtui<\/h3>\n\n\n\n<p>nmtui comes with the NetworkManager package and gives you a simple screen menu way to tweak settings. For modifying the IP address via this tool:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_ptxwzx3396vj\"><\/a>Step 1: Launch the nmtui Interface<\/h4>\n\n\n\n<p>Open a terminal, type nmtui, then use the arrow keys and Enter to move around the menus.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_okne2hbiqu2t\"><\/a>Step 2: Edit a Connection<\/h4>\n\n\n\n<p>Pick Edit a connection, then press Enter.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"467\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-12.png\" alt=\"Editing a connection using nmtui\" class=\"wp-image-14556\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-12.png 852w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-12-300x164.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-12-768x421.png 768w\" sizes=\"(max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Highlight the connection you want to adjust-say Wired connection 1-and press Enter again.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"494\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-13.png\" alt=\"Editing a connection using nmtui\" class=\"wp-image-14557\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-13.png 831w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-13-300x178.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-13-768x457.png 768w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You&#8217;ll land on the Edit a connection screen. From there,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to IPv4 CONFIGURATION, press Enter, choose Manual, and tap Enter once more to move forward.<\/li>\n\n\n\n<li>Select the Show button to add or modify the connection&#8217;s IPv4 addresses.<\/li>\n\n\n\n<li>Key in the static IP (192.168.157.10), gateway (192.168.157.2), and DNS servers (8.8.8.8, 8.8.4.4) you wish to assign.<\/li>\n<\/ol>\n\n\n\n<p>Scroll down and click OK to save your entries and return to the previous screen:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"874\" height=\"493\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-14.png\" alt=\"Setting up an ip address using nmtui\" class=\"wp-image-14558\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-14.png 874w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-14-300x169.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-14-768x433.png 768w\" sizes=\"(max-width: 874px) 100vw, 874px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_optqkxxgjybo\"><\/a>Step 3: Restart the NetworkManager Services<\/h4>\n\n\n\n<p>To reboot the NetworkManager services, select the Activate a connection option. Then press Activate\/Deactivate so the new settings take effect. Finally, tap Back and Quit to leave the tool:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"509\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-15.png\" alt=\"Restarting network services using nmtui\" class=\"wp-image-14559\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-15.png 819w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-15-300x186.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-15-768x477.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_va073ke3obig\"><\/a>Step 4: Verify Static IP Address<\/h4>\n\n\n\n<p>You can check the static IP by running the ip command with a switch in a terminal.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1152\" height=\"723\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-16.png\" alt=\"ip a\" class=\"wp-image-14560\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-16.png 1152w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-16-300x188.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-16-1024x643.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-16-768x482.png 768w\" sizes=\"(max-width: 1152px) 100vw, 1152px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This section has walked you through assigning a static IP on Debian 12 with the nmtui interface.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-4:-Using-NetworkManager\"><a id=\"post-14544-_dlb0d1v20o0w\"><\/a>Method 4: Using NetworkManager<\/h3>\n\n\n\n<p>If you installed the desktop version of Debian, NetworkManager is already steering your connections. This option will suit you perfectly if you like clicking buttons instead of typing commands.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_5jvpd7neg5tt\"><\/a>Step 1: Click on the Network Icon<\/h4>\n\n\n\n<p>Start by clicking the small network icon in the top-right corner of the system tray, then choose Wired Settings from the drop-down menu.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"472\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-17.png\" alt=\"Editing network connection from Network Manager\" class=\"wp-image-14561\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-17.png 635w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-17-300x223.png 300w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_ic8plu7vzlb9\"><\/a>Step 2: Access the Network Interface<\/h4>\n\n\n\n<p>Inside the Wired tab, tap the gear wheel next to the active interface you want to change.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"508\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-18.png\" alt=\"Accessing the network interface\" class=\"wp-image-14562\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-18.png 969w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-18-300x157.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-18-768x403.png 768w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_ovj38hzctang\"><\/a>Step 3: Edit Network Information<\/h4>\n\n\n\n<p>In the IPv4 screen, change the Method field from Automatic (DHCP) to Manual. Enter the IP address 192.168.157.135, the subnet mask 255.255.255.0, the gateway 192.168.157.135, and the DNS servers 8.8.4.4, 8.8.8.8. When done, hit Apply to commit your edits.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"776\" height=\"571\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-19.png\" alt=\"Editing network information from network manager\" class=\"wp-image-14563\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-19.png 776w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-19-300x221.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-19-768x565.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-19-160x117.png 160w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Note: If you hit a snag, double-check that the gateway matches the one listed under Details.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_l5y8s4x96up8\"><\/a>Step 4: Restart Network Interface<\/h4>\n\n\n\n<p>Turn the network switch off and back on so Debian reloads the new settings.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"903\" height=\"517\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-20.png\" alt=\"Restarting network interface\" class=\"wp-image-14564\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-20.png 903w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-20-300x172.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-20-768x440.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14544-_fq37zmkrn00t\"><\/a>Step 5: Verification<\/h4>\n\n\n\n<p>To confirm your static IP was applied, return to the Details tab and check the address listed there.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"566\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-21.png\" alt=\"Restarting network interface\" class=\"wp-image-14565\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-21.png 739w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/word-image-14544-21-300x230.png 300w\" sizes=\"(max-width: 739px) 100vw, 739px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>That&#8217;s the static IP that is now active on Debian 12 through the GUI.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-14544-_nnf9ijknj4kf\"><\/a>Conclusion<\/h2>\n\n\n\n<p>You can change the IP address on Debian 12 by editing the \/etc\/network\/interfaces file, or by working with the nmcli command, the nmtui text screen, or the full NetworkManager suite. It configures the static IP address. Each of these methods lets you set the static IP and gateway information so that your machine always uses the same address when it boots.<\/p>\n\n\n\n<p>If you prefer a point-and-click approach, fire up the NetworkManager GUI, select your connection, switch to the IPv4 tab, and enter the details there. This guide has walked you through every feasible way to assign a permanent IP address on Debian 12.<\/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>Whether you&#8217;re setting up a server, fixing a connection issue, or testing a service, changing the IP address on Debian 12 is a straightforward task. It can boost both your network&#8217;s security and its overall reliability. In this guide, we&#8217;ll explore every option you might need, from giving your machine a permanent static address to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14570,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[297,499,741,495,493],"class_list":["post-14544","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-12","tag-ip","tag-network-configuration","tag-nmcli","tag-nmtui"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change an IP Address on Debian 12 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.\" \/>\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-change-an-ip-address-on-debian-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change an IP Address on Debian 12 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-17T09:51:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-17T09:54:12+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.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=\"11 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-change-an-ip-address-on-debian-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Change an IP Address on Debian 12\",\"datePublished\":\"2025-06-17T09:51:30+00:00\",\"dateModified\":\"2025-06-17T09:54:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\"},\"wordCount\":1379,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg\",\"keywords\":[\"Debian 12\",\"ip\",\"Network Configuration\",\"nmcli\",\"nmtui\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\",\"name\":\"How to Change an IP Address on Debian 12 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg\",\"datePublished\":\"2025-06-17T09:51:30+00:00\",\"dateModified\":\"2025-06-17T09:54:12+00:00\",\"description\":\"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg\",\"width\":1020,\"height\":600,\"caption\":\"Change IP address on Debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change an IP Address on Debian 12\"}]},{\"@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 Change an IP Address on Debian 12 - Greenwebpage Community","description":"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.","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-change-an-ip-address-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Change an IP Address on Debian 12 - Greenwebpage Community","og_description":"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-06-17T09:51:30+00:00","article_modified_time":"2025-06-17T09:54:12+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Change an IP Address on Debian 12","datePublished":"2025-06-17T09:51:30+00:00","dateModified":"2025-06-17T09:54:12+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/"},"wordCount":1379,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg","keywords":["Debian 12","ip","Network Configuration","nmcli","nmtui"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/","url":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/","name":"How to Change an IP Address on Debian 12 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg","datePublished":"2025-06-17T09:51:30+00:00","dateModified":"2025-06-17T09:54:12+00:00","description":"This guide walks you through every method for changing the IP address on Debian 12, providing clear, step-by-step instructions.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/06\/Change-IP-address-on-Debian-12.jpg","width":1020,"height":600,"caption":"Change IP address on Debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-change-an-ip-address-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Change an IP Address on Debian 12"}]},{"@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\/14544","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=14544"}],"version-history":[{"count":5,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14544\/revisions"}],"predecessor-version":[{"id":14572,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14544\/revisions\/14572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/14570"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=14544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=14544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=14544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}