Questions tagged [ifconfig]

a command from Linux POSIX operating system able to give information about the IP network.

143 questions
74
votes
3 answers

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 see eth0 anywhere, which I assume is the standard…
euphoria83
  • 969
  • 2
  • 8
  • 8
32
votes
3 answers

what is the difference between eth1 and eno1?

What is the difference between the network interface name ethX (e.g. eth1) and enoX (e.g. eno1), given by ifconfig or lshw ?
Covich
  • 431
  • 1
  • 4
  • 6
26
votes
2 answers

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 10.10.99.100 UGSc 0 …
studgeek
  • 2,345
  • 1
  • 28
  • 28
21
votes
2 answers

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 there any reason not to use ifconfig when it…
Pylsa
  • 30,630
  • 16
  • 89
  • 116
19
votes
2 answers

How to see network traffic per interface in FreeBSD?

want to see an amount of traffic passed through interface since boot. It's an ISPManager VDS with FreeBSD 8.0, and ifconfig -L epair521b -B does nothing. Want to have output like Linux's ifconfig: lo Link encap:Local Loopback ... RX…
kagali-san
  • 1,724
  • 4
  • 19
  • 32
15
votes
5 answers

How to restore MAC address in Linux?

I have changed my MAC address in my Linux machine using ifconfig. Now the problem is I have not saved my original MAC address. I want to restore it without rebooting. Is there a way to do it?
narayanpatra
  • 687
  • 3
  • 9
  • 18
13
votes
1 answer

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 after restart. It does not show up in the Network…
Ray de Groat
  • 131
  • 1
  • 1
  • 6
9
votes
5 answers

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 settings of a host machine. I have tried…
Richard
  • 901
  • 4
  • 10
  • 14
8
votes
1 answer

Network interface for VPN connection explanation

I'd like to know exactly what is happening when I create a connection with my company's VPN. When I connect (using OpenVPN), I see the following network interface by using ifconfig: utun3: flags=8051 mtu 1500 …
wheresmycookie
  • 209
  • 2
  • 5
7
votes
4 answers

How to detect VPN disconnection with vpnc?

What is the easiest way to detect that a vpnc connection on Linux/Ubuntu has disconnected? Manually, I think the way to detect is to check whether the interface (tun0) appears in /sbin/ifconfig output. Is there a better way to find out immediately,…
Abhinav
  • 2,050
  • 4
  • 20
  • 25
6
votes
1 answer

What does the "-->" notation mean in the output of ifconfig?

I have a VPN connection set up on my OS X machine, and when I run ifconfig in the terminal I get the following response: utun0: flags=8051 mtu 1500 inet 10.8.0.6 --> 10.8.0.5 netmask 0xffffffff Can someone…
clcain
  • 113
  • 7
6
votes
3 answers

Run ifconfig without sudo

I have an embedded Linux running on a imx6 platform. This is a freescale embedded linux. The problem is that there is no sudo available for this linux, but I need to activate and deactivate the wlan0 device by a user. I tried to add the user to the…
Irgendw Pointer
  • 269
  • 2
  • 3
  • 10
6
votes
1 answer

VMware vmnet2 routes collide with en0

I am getting the following error when starting a vagrant box: gajus:vagrant gajus$ vagrant up Bringing machine 'default' up with 'vmware_fusion' provider... ==> default: Checking if box 'puppetlabs/centos-6.5-64-puppet' is up to date... ==> default:…
Gajus
  • 391
  • 7
  • 18
6
votes
1 answer

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 mtu 16384 options=1203 inet 127.0.0.1 netmask 0xff000000 inet6 ::1…
Sean
  • 73
  • 1
  • 4
5
votes
1 answer

FreeBSD turning off offloading

How can I turn off the following in FreeBSD? tx checksum offloading rx checksum offloading tcp segment offloading large segment offloading
SivaDotRender
  • 245
  • 1
  • 3
  • 10
1
2 3
9 10