If you do a double pipe then the GW doesn't matter.

ipconfig | find /i "address" | find " 10."
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.