ip mask arithmetics for base VPC
higher layer BaseVpc class