# Setting IPMI IP addresses

**URL:** <https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585>\
**Category:** Ansible Project\
**Created:** [June 23, 2015, 6:17pm UTC](https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585 "2015-06-23T18:17:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James8](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@James8](https://forum.ansible.com/u/James8)\
**Post date:** [June 23, 2015, 6:17pm UTC](https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585/1 "2015-06-23T18:17:46Z")

</div>

Hi,  
We have servers with on one subnet and IPMI on another.

So we might have a server with an IP of

10.10.10.50

and an IPMI address of:

10.10.20.57

What we would like to do is use Ansible to set an IPMI address to match the last numbers of the host address

IP: 10.10.10.50  
IPMI: 10.10.20.50

Has anyone already done something like this?

Thanks,  
James

---

<div class="post-metadata">

**Author:** ![Chad\_Anderson](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@Chad\_Anderson](https://forum.ansible.com/u/Chad_Anderson)\
**Post date:** [June 23, 2015, 6:45pm UTC](https://forum.ansible.com/t/setting-ipmi-ip-addresses/18585/2 "2015-06-23T18:45:24Z")

</div>

You'll want to use the bmc-config command and template out your bmc-config.conf.
