Questions tagged [ifconfig]
a command from Linux POSIX operating system able to give information about the IP network.
9
questions
27
votes
2
answers
37k
views
How does Mac OSX prioritize network interfaces when routing?
To give a concrete example, how does OSX choose which of these default entries from netstat -nr to route to?
Destination Gateway Flags Refs Use Netif Expire
0/1 ...
76
votes
3
answers
98k
views
Can someone please explain ifconfig output in Mac OS X?
When I do ifconfig on my Mac, I get a list of the following interfaces:
lo0
gif0
stf0
en0
fw0
en1
vmnet8
vmnet1
I wonder what each interface is. Also, which of these is the IP interface ? I don't ...
7
votes
1
answer
7k
views
ifconfig shows multiple network interfaces
When I run ifconfigon my Macbook air 2018 with MacOS Mojave 10.14.6 I get this:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP&...
4
votes
5
answers
4k
views
What cross-platform command-line tool allows me to get my external IP address?
How do I get my external IP address from the Windows and Linux command line?
On Windows, ipconfig shows an internal network IP address, but it does not show the external one.
21
votes
2
answers
7k
views
ip versus ifconfig
After reading this answer, I began my quest for the difference between ip and ifconfig for *nix systems. I soon learned that ip had "more" features than ifconfig, but what's the real difference? Is ...
14
votes
1
answer
39k
views
What is creating the utun0 network interface on OSX? What is for? What is it exactly?
What is creating the utun0 network interface on OSX? What is it being used for? What is it exactly?
The interface only appears after connecting to the Ethernet or turning on the Wi-Fi and goes away ...
9
votes
5
answers
61k
views
Change IP address permanently with ifconfig in Debian
I know there are several tutorials on how to manually change IP settings. However, I have yet to find a solution that fits my needs. I need to be able to script something that changes the IP address ...
5
votes
2
answers
12k
views
How do I use a single wireless adapter for both an access point and client on Raspberry Pi?
I have been able to create a wireless access point on my Raspberry Pi using a USB Wi-Fi dongle using hostapd on wlan0. What I would like to be able to do is have the access point be on some virtual ...
1
vote
1
answer
10k
views
How to run 'ifconfig wlan0 down/up' with a comm user?
I need to run ifconfig wlan0 down and ifconfig wlan0 up with my common user.
How can I perform this?