SevOne

SevOne

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

A package of workflows for working with IPv4 networks 

Mon March 25, 2024 02:48 PM

Purpose of Workflow: This package includes a set of workflows for working with IPv4 networks. Each workflow serves a specific purpose, such as converting a slash notation bit count into a subnet mask or finding the next IP address in a sequence.

Description: This package includes the following workflows:

  • cidr_2_mask: This workflow converts a slash notation bit count into a dotted decimal subnet mask. It requires the "bits" variable as input.
  • Convert_IP_From_Binary: This workflow converts an array of bits into a dotted decimal IP address. It requires the "Bits_Array" variable as inputs.
  • Convert_IP_To_Binary: This workflow converts a dotted decimal IP address or netmask to an array of bits. It requires the "Address" variable as inputs.
  • Get_Hosts_Count_For_Network: This workflow takes a network in CIDR notation (e.g. 192.168.109.0/24) and returns the number of hosts possible in the network. It requires the "Network" variable as input.
  • Get_Next_IP_Address: Given an IP address, this workflow increments it and returns the next IP address in the sequence. It requires the "Previous_IP" variable as input.
  • Get_Next_IP_Network: This workflow finds the highest IP network in an array of /24 CIDR networks, then increments the third octet and returns the next /24 CIDR network. It requires the "Network_CIDR_Array" variable as input.
  • Increment_IP_Address: Given an IP address, this workflow increments it and returns the an IP address a specified number of increments forward in the sequence. It requires the "Previous_IP" variable as input.
  • Validate_IP: This workflow returns true if a given IPv4 address or CIDR network is valid. It requires the "IP" variable as input.

 

RNA Version: 2022.8 or later

No integration required

No authentication required

 

Expected results: Each workflow returns the expected output based on the input variables provided.

Statistics
0 Favorited
16 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
zip file
IPv4_Networking_2023-03-22_20_18_30.zip   6 KB   1 version
Uploaded - Mon March 25, 2024