ifconfig

Antivirus, forensics, intrusion detection, cryptography, etc.
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

ifconfig

#1 Post by labbe5 »

type in terminal :

ifconfig, and some information will be available about your network.

If your are behind a firewall or proxy, a private ip is assigned to you which will start with 10, 172 or 192.

It is a way to check if your firewall or proxy setup works as expected.

UPDATE :
ip address as an alternative.
Last edited by labbe5 on Wed 25 Oct 2017, 16:58, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

I seem to have several IP addresses, depending on what tool I ask. How do I tell which IP address to use when setting up P2P VOIP?

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#3 Post by mcewanw »

Flash wrote:I seem to have several IP addresses, depending on what tool I ask. How do I tell which IP address to use when setting up P2P VOIP?
If you use ifconfig, it may indicate local loopback interface lo as 127.0.0.1, ignore that one.

If you are connected by ethernet then it may be something like eth0 (or new naming scheme starts 'en') and use the address given there (e.g. on my network it is 192.168.1.10 but that's just an example).

If you are connected by wifi, might be interface wlan0 (or something else starting with wl for wireless lan), so you would use the IP address supplied for that.

Some detail about how interfaces might be named (including recent changes to the naming scheme) can be found here:

https://www.freedesktop.org/wiki/Softwa ... faceNames/

William
github mcewanw

User avatar
drunkjedi
Posts: 882
Joined: Mon 25 May 2015, 02:50

#4 Post by drunkjedi »

For your external ip you can always query http://icanhazip.com/ like puppy does.

But some people don't like that....
:twisted: :twisted:

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#5 Post by jamesbond »

If one doesn't like icanhazip, one can always try http://ipinfodb.com/ :wink:
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#6 Post by 01micko »

drunkjedi wrote:For your external ip you can always query http://icanhazip.com/ like puppy does.

But some people don't like that....
:twisted: :twisted:
icanhazip died, as far as woof goes, last year.
Puppy Linux Blog - contact me for access

wyzguy
Posts: 37
Joined: Sun 14 Oct 2012, 01:20

external ip address

#7 Post by wyzguy »

labbe5,
For external IP address, google: whatsmyip.org
wyzguy

Post Reply