Get the correct interface subnet