Add IPs.
Fix IP mask calculation.