getip Build # Surprise! make make clean cp getip /to/where/ever/ Usage # default is eth1 ./getip # Specify interface ./getip eth0