# VMWare source doesn't take ipv4 address of VM

**URL:** <https://forum.ansible.com/t/vmware-source-doesnt-take-ipv4-address-of-vm/32798>\
**Category:** AWX Project\
**Tags:** windows, vmware, awx\
**Created:** [April 28, 2020, 4:05pm UTC](https://forum.ansible.com/t/vmware-source-doesnt-take-ipv4-address-of-vm/32798 "2020-04-28T16:05:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![astrakid](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/astrakid/32/1789_2.png) [@astrakid](https://forum.ansible.com/u/astrakid)\
**Post date:** [April 28, 2020, 4:05pm UTC](https://forum.ansible.com/t/vmware-source-doesnt-take-ipv4-address-of-vm/32798/1 "2020-04-28T16:05:15Z")

</div>

hi,

when fetching my inventory from vmware source (awx 11.1) it is using ipv6 adress instead of ipv4 address. this is even the case if ipv6 is disabled on the guest (windows server in this case). VMWare gui only shows the ipv4 address after disabling ipv6 on guest system.  
but the vmware source always creates the host with ipv6 address in “ipaddress” field (and ansible\_host and ansible\_ssh\_host).

how can i change that behaviour? i don’t use ipv6 at all and would like to disable ipv6 at all (which i didi on linux host already which is running awx).

any hel is appreciated.

kind regards,  
andre

---

<div class="post-metadata">

**Author:** ![astrakid](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/astrakid/32/1789_2.png) [@astrakid](https://forum.ansible.com/u/astrakid)\
**Post date:** [April 29, 2020, 6:25am UTC](https://forum.ansible.com/t/vmware-source-doesnt-take-ipv4-address-of-vm/32798/2 "2020-04-29T06:25:53Z")

</div>

I think i found the root cause. if ethernet adapter is not vmxnet3 vmware-source-script seems to get the ipv6 address from vsphere. we changed the network cards to vmxnet3 and now it works.
