[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Get the external IP address from a Linux box



Le 25/05/2018 à 02:17, Alan Greenberger a écrit :
On 2018-05-24, André Rodier <andre@rodier.me> wrote:

I am looking for a native package on Debian, that can give me the
external IP address of the machine.

Assuming you are looking for the public internet address of your router,
you could try:
/usr/sbin/arp -n
and it may show up on a line with the HWadress of your router.

Nope. That would just show the internal address of the router.


Reply to: