{"id":174,"date":"2025-09-30T16:20:58","date_gmt":"2025-09-30T14:20:58","guid":{"rendered":"https:\/\/techbygiusi.com\/?p=174"},"modified":"2026-04-09T19:42:58","modified_gmt":"2026-04-09T17:42:58","slug":"proxmox-node-ip-address-change-with-ceph","status":"publish","type":"post","link":"https:\/\/techbygiusi.com\/index.php\/guide\/proxmox-node-ip-address-change-with-ceph\/","title":{"rendered":"Proxmox Node IP Address Change with Ceph"},"content":{"rendered":"\n<h6 class=\"wp-block-heading\">Overview<\/h6>\n\n\n\n<p>This guide explains how to change a Proxmox node&#8217;s IP address, including updates to networking, Corosync, and Ceph configuration, all in one process.<\/p>\n\n\n\n<p>In this example, the IP addresses are being changed from the <code>10.10.20.0\/24<\/code> subnet to the <code>10.10.0.0\/24<\/code> subnet.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Step 1: Update Network Configuration<\/h6>\n\n\n\n<p>Edit the network interfaces file to set the new IP address and gateway:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/network\/interfaces<\/code><\/pre>\n\n\n\n<p>Edit the hosts file and update any entries with the new IP:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/hosts<\/code><\/pre>\n\n\n\n<p>Change the DNS server if needed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/resolv.conf<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 2: Update Corosync Configuration<\/h6>\n\n\n\n<p>Update the Corosync config file and\u00a0<strong>replace only the IP address of the current node<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/pve\/corosync.conf<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 3: Update Known Hosts (if Master Node IP is Changing)<\/h6>\n\n\n\n<p>If you are changing the\u00a0<strong>master node&#8217;s<\/strong>\u00a0IP address, update:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/pve\/priv\/known_hosts<\/code><\/pre>\n\n\n\n<p>Insert the\u00a0<strong>new IP<\/strong>\u00a0of the master node.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Step 4: Update Ceph Configuration (If Using Ceph)<\/h6>\n\n\n\n<p>Edit the Ceph configuration to reflect the new networks:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/ceph\/ceph.conf<\/code><\/pre>\n\n\n\n<p>Modify these lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cluster_network = 10.10.20.0\/24,10.10.0.0\/24\npublic_network  = 10.10.20.0\/24,10.10.0.0\/24<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 5: Reboot the Node<\/h6>\n\n\n\n<p>Reboot to apply network and service changes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 6: Remove Old Monitor (MON) via GUI<\/h6>\n\n\n\n<p>In the Proxmox web interface, delete the MON of the node you changed.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Step 7: Temporarily Edit\u00a0<code>ceph.conf<\/code>\u00a0Again<\/h6>\n\n\n\n<p>Before recreating the MON, temporarily restrict\u00a0<code>public_network<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/pve\/ceph.conf<\/code><\/pre>\n\n\n\n<p>Modify:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_network = 10.10.0.0\/24<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 8: Create the New Monitor (MON)<\/h6>\n\n\n\n<p>Use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pveceph mon create<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Step 9: Restore Original\u00a0<code>ceph.conf<\/code><\/h6>\n\n\n\n<p>Edit\u00a0<code>ceph.conf<\/code>\u00a0again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/pve\/ceph.conf<\/code><\/pre>\n\n\n\n<p>Restore:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_network = 10.10.20.0\/24,10.10.0.0\/24<\/code><\/pre>\n\n\n\n<p>Make sure the\u00a0<code>[mon.&lt;hostname>]<\/code>\u00a0section contains:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;mon.work]\npublic_addr = 10.10.0.12<\/code><\/pre>\n\n\n\n<p>Replace\u00a0<code>work<\/code>\u00a0and\u00a0<code>10.10.0.12<\/code>\u00a0with your actual hostname and new IP.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Repeat for Other Nodes<\/h6>\n\n\n\n<p>Repeat the whole process on any additional nodes (e.g. 3 total).<\/p>\n\n\n\n<p>After completing the change on the last node, you can simplify the network configuration to only:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_network  = 10.10.0.0\/24\ncluster_network = 10.10.0.0\/24<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">\u00a0Final Reboot<\/h6>\n\n\n\n<p>Reboot the final node:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This guide explains how to change a Proxmox node&#8217;s IP address, including updates to networking, Corosync, and Ceph configuration, all in one process. In this example, the IP addresses are being changed from the 10.10.20.0\/24 subnet to the 10.10.0.0\/24 subnet. Step 1: Update Network Configuration Edit the network interfaces file to set the new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[12,10],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-guide","tag-linux","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":2,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/posts\/174\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techbygiusi.com\/index.php\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}