If you have a different set of IP addresses for dialin, even in the same subnet, you could probably do a calculation off of that. You can see from this script how to get address info, and then you can try a greater than, less than scenario with the IP address portion. Let me know how it goes!

$ip = substr(@IPADDRESS0,5,7) ; Original middle 2 octets
$oct2 = rtrim(ltrim(substr($IP,1,3))) ; Get 2nd octet
$oct3 = rtrim(ltrim(substr($IP,5,3))) ; Get 3nd octet
$mid = $oct2 + "." + $oct3 ; Formatted concatenated middle 2 octets

------------------
Richard Stern

_________________________
Richard Stern