Fix intranet IP address for OSX.

Also:
    - Remove code for determining default gateway.