use IPMASK instead of hard coding 10.50 and 10.10