Without an understanding on what boundaries you subnet, I can't really advise further. I subnet on class 'B' and 'C' boundaries so figuring out what submnet a machine is in is a cake walk.

Take a look at this UDF

Topic: CalcLogicalSubnet () - Returns the logical subnet ID
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.