[Add] Get machine's external ip

Signed-off-by: Han-Pei Lin <aeglos.tw@gmail.com>