# Assign additional ip address to a nic in windows server

**URL:** <https://forum.ansible.com/t/assign-additional-ip-address-to-a-nic-in-windows-server/30888>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [July 27, 2019, 8:06pm UTC](https://forum.ansible.com/t/assign-additional-ip-address-to-a-nic-in-windows-server/30888 "2019-07-27T20:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jems-APB](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Jems-APB](https://forum.ansible.com/u/Jems-APB)\
**Post date:** [July 27, 2019, 8:06pm UTC](https://forum.ansible.com/t/assign-additional-ip-address-to-a-nic-in-windows-server/30888/1 "2019-07-27T20:06:37Z")

</div>

I am new to Ansible , need to assign additional ip address to nic on windows server, please share which module i should use

---

<div class="post-metadata">

**Author:** ![Igor\_Turovsky](https://avatars.discourse-cdn.com/v4/letter/i/cdc98d/32.png) [@Igor\_Turovsky](https://forum.ansible.com/u/Igor_Turovsky)\
**Post date:** [July 28, 2019, 10:09am UTC](https://forum.ansible.com/t/assign-additional-ip-address-to-a-nic-in-windows-server/30888/2 "2019-07-28T10:09:25Z")

</div>

There is no Windows NIC management module in Ansible. You will need either to create new one or use win\_command/win\_shell modules.

сб, 27 июл. 2019 г. в 23:06, arnav patro \<[arnav.patro@gmail.com](mailto:arnav.patro@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![Jems-APB](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Jems-APB](https://forum.ansible.com/u/Jems-APB)\
**Post date:** [July 28, 2019, 2:47pm UTC](https://forum.ansible.com/t/assign-additional-ip-address-to-a-nic-in-windows-server/30888/3 "2019-07-28T14:47:42Z")

</div>

Thanks,

Need to assign secondary IP to 4 servers… Tried with win\_shell but successfully assign ip to first servers from the inventory. not sure how to define a loop so that all server get unique ip … running the playbook from AWX. Can you please help…
