Brian Dunning's FileMaker Custom Functions

getBroadcastAddressOctet ( Ip4Octet ; SubnetOctet )

Returns Broadcast Address Octet given Ip4 Octet and Subnet Mask Octet

  Average rating: 4.5 (27 votes) Log in to vote

John Ahearn   John Ahearn
none (yet)
http://none.com

Share on Facebook Share on Twitter

  Sample input:
getBroadcastAddressOctet ( 8, 255 )

getBroadcastAddressOctet ( 8, 254 )

getBroadcastAddressOctet ( 8, 252 )
  Sample output:
8

9

11

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function determins the broadcast octet of a given IP4 Octet and Subnet Octet.
The goal is to find the last possible address within a given subnet that corresponds to the inputted IP address.
Any IP4 address that is within range of the desired subnet address is required, this can be a valid IP or the subnet address itself.

jahearn at gmail dot com

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: