Added subnet parsing