Use `ip` instead of unavailable `ifconfig`

Extract default value for `$IP` using `ip` instead of `ifconfig` (unavailable in `stackbrew/ubuntu:12.04` image)

Fixes issue #50.