in reply to Searching for two lines that begin with the same string

In addition to the suggetions above, I would also probably try to use Net::Netmask to make sure none of the networks overlap either.

-Paul

  • Comment on Re: Searching for two lines that begin with the same string

Replies are listed 'Best First'.
Re^2: Searching for two lines that begin with the same string
by tgrossner (Novice) on Dec 18, 2006 at 19:47 UTC
    Oddly enough, its ok if the netmasks overlap, we do some of that for failover reasons...for instance, 2 /23's and 1 /24 for the same group of addresses...the "router" this comes from will follow the most specific prefix.