Update ip.rb

Change made to acomodate AIX systems.  Correlates to /lib/netmask.rb and /lib/util/netmask.rb.