I am trying to make a function that can accept and parse IP Networks in the formats "192.0.2.0/24" and "192.0.2.0/255.255.255.0". I am able to parse both for