Ensure that we skip the aliases entry.
Refactor out some of this into ip.rb so it can be reused in other
ip/* files.