protected int drawHostAddress(int hostRange[]){
  if (hostRange[1] == hostRange[0]) {
    return hostRange[0];
  }
  return hostRange[0] + rng.nextInt(hostRange[1] - hostRange[0]);
}

protected int drawHostAddress ( int hostRange [ ] ) { if ( hostRange [ 1 ] == hostRange [ 0 ] ) { return hostRange [ 0 ] ; } return hostRange [ 0 ] + rng . nextInt ( hostRange [ 1 ] - hostRange [ 0 ] ) ; }
draws a random host address from the configured address range
