Web lists-archives.com

Re: Get the external IP address from a Linux box

On 2018-05-24, André Rodier <andre@xxxxxxxxx> wrote:
> Hello,
> 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.