# Static ip address

**URL:** <https://forums.percona.com/t/static-ip-address/13607>\
**Category:** PMM 2.x\
**Created:** [December 22, 2021, 5:22pm UTC](https://forums.percona.com/t/static-ip-address/13607 "2021-12-22T17:22:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chase\_Miller](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/chase_miller/32/5394_2.png) [@Chase\_Miller](https://forums.percona.com/u/Chase_Miller)\
**Post date:** [December 22, 2021, 5:22pm UTC](https://forums.percona.com/t/static-ip-address/13607/1 "2021-12-22T17:22:44Z")

</div>

after signing static ip address, on reboot, why is it losing the static info?

cm

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [December 23, 2021, 4:27am UTC](https://forums.percona.com/t/static-ip-address/13607/2 "2021-12-23T04:27:03Z")

</div>

We’ll need a bit more information than that…is this issue on your PMM client machine(s) or on your PMM Server. How are you going about assigning a static IP? and when you say losing static info are you saying after reboot it reverts to dynamic IP? Any additional info would be very helpful in pointing you in the right direction!

---

<div class="post-metadata">

**Author:** ![Chase\_Miller](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/chase_miller/32/5394_2.png) [@Chase\_Miller](https://forums.percona.com/u/Chase_Miller)\
**Post date:** [December 23, 2021, 3:11pm UTC](https://forums.percona.com/t/static-ip-address/13607/3 "2021-12-23T15:11:07Z")

</div>

Step 1. we downloaded the PMM ova file and imported into vmware  
Step 2. it works with DHCP address, we want a static address  
Step 3. We follow the instructions at the bottom of this page, [https://www.percona.com/doc/percona-monitoring-and-management/2.x/setting-up/server/virtual-appliance.html](https://www.percona.com/doc/percona-monitoring-and-management/2.x/setting-up/server/virtual-appliance.html)  
Step 4. Verify that we can communicate to PMM on new static ip address  
Step 5. Reboot; server now it back to DHCP.

cm

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [December 23, 2021, 11:07pm UTC](https://forums.percona.com/t/static-ip-address/13607/4 "2021-12-23T23:07:40Z")

</div>

Strange!

Are you using VMWare ESX, ESXi or Workstation? I have an ESXi Server here that I test with so I can give it a try on my side…

Just so I have the flow right, you’re using the latest PMM OVA (2.25.0) and assigning a static IP then you reboot the PMM VM or the VM Server along with the PMM VM?

---

<div class="post-metadata">

**Author:** ![Chase\_Miller](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/chase_miller/32/5394_2.png) [@Chase\_Miller](https://forums.percona.com/u/Chase_Miller)\
**Post date:** [December 23, 2021, 11:14pm UTC](https://forums.percona.com/t/static-ip-address/13607/5 "2021-12-23T23:14:58Z")

</div>

Esxi  
Just reboot the pmm vm

Yes using the latest version

---

<div class="post-metadata">

**Author:** ![steve.hoffman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/steve.hoffman/32/66_2.png) [@steve.hoffman](https://forums.percona.com/u/steve.hoffman)\
**Post date:** [December 23, 2021, 11:45pm UTC](https://forums.percona.com/t/static-ip-address/13607/6 "2021-12-23T23:45:13Z")

</div>

After you set your IP and restart the network BUT BEFORE you reboot run this: `echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg`.

Your configuration is getting clobbered by cloud-init so this will tell it not to touch networking settings…I did this and it works…I’m also going to update the docs to show the same!
