If starting IP is higher than the ending IP, they will be swapped.