Creating and configuring subnets