# ipv4 broadcast address

**URL:** <https://forum.ansible.com/t/ipv4-broadcast-address/16930>\
**Category:** Ansible Project\
**Created:** [December 1, 2014, 11:15pm UTC](https://forum.ansible.com/t/ipv4-broadcast-address/16930 "2014-12-01T23:15:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Gray](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@Peter\_Gray](https://forum.ansible.com/u/Peter_Gray)\
**Post date:** [December 1, 2014, 11:15pm UTC](https://forum.ansible.com/t/ipv4-broadcast-address/16930/1 "2014-12-01T23:15:53Z")

</div>

Ansible does not seem to be setting a fact for the broadcast address on eth0 when pulling facts from a mint 16 linux host.  
It gets a lot of other stuff: EG

},  
“ansible\_default\_ipv4”: {  
“address”: “10.25.26.2”,  
“alias”: “eth0”,  
“gateway”: “10.25.26.1”,  
“interface”: “eth0”,  
“macaddress”: “f8:b1:56:cb:3e:47”,  
“mtu”: 1500,  
“netmask”: “255.255.254.0”,  
“network”: “10.25.26.0”,  
“type”: “ether”  
},

Why no broadcast address?

I know I can compute the broadcast address from the netmask and network entries, but that seems rather difficult. In fact, I cannot work out how to do it without a callout to a local script.

Any ideas welcome on either solution really.

BTW, new ansible user here.
