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

learn more… | top users | synonyms

22
votes
2answers
17k 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 ...
20
votes
2answers
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 ...
9
votes
1answer
11k 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 ...
8
votes
2answers
16k views

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: ...
8
votes
2answers
18k 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
4answers
5k views

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?
4
votes
5answers
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.
4
votes
2answers
824 views

Is `ip` to supersede `ifconfig`

A friend of mine said that ip is supposed to be the successor of ifconfig and iwconfig — yet I found no Wikipedia article about it and have never seen anyone mention or recommend it online even though ...
4
votes
4answers
5k views

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 ...
4
votes
1answer
355 views

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 ...
3
votes
4answers
332 views

Three computers accessing internet but only two network interfaces showing in ´ifconfig´, why?

My gateway(router) is connected to DSL. The gateway connects to 1 wireless transceiver device. 2 fixed computers connect to the router. At the moment of me doing ifconfig 2 fixed computers were ...
3
votes
2answers
311 views

How to set txqueuelen on Mac OS X

How can I set the transmit queue length for a network interface on Mac OSX? On linux the command would be ifconfig en0 txqueuelen 5 but OSX doesn't recognize txqueuelen as a valid option. Where ...
3
votes
2answers
6k views

How do you change your Airport or Ethernet MAC address in Mac OS X 10.6?

I have a MacBook Pro and would like to set a custom MAC address for either my Airport WiFi card, or Ethernet port. In older versions of Mac OS X, you could do it like this: $ sudo ifconfig en0 ether ...
3
votes
1answer
746 views

`ifconfig` isn't showing stats for an alx gigabit card

So I just setup conky on my arch box for monitoring various stats on the desktop, and I'm having a small problem. The relevant text in my conky config: down $alignr ${downspeedf enp9s0} kb/s - ...
2
votes
1answer
1k views

ifconfig - who decided that MAC address should be lowercase?

On some Linux computers, ifconfig displays the MAC address ("HWaddr") hex digits in uppercase. On other Linux computers, the [a-f] digits are lowercase. Why the difference? Are there two competing ...
2
votes
1answer
1k views

How to get current value of txqueuelen on Linux

I know the following command can set txqueuelen in Linux: ifconfig eth1 txqueuelen 4096 But how can I get current txqueuelen of a specific interface? I've tried ifconfig eth1 txqueuelen, it only ...
2
votes
3answers
28k views

Spoof MAC address from IP command

I'm trying to spoof my MAC address on a modified version of Linux (Android). The main problem is that because it has been stripped down, the ifconfig command has been taken out, and I only can use the ...
2
votes
1answer
181 views

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
2
votes
1answer
3k 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 ...
2
votes
1answer
151 views

windows 7: assign static IP address [duplicate]

I want to connect two laptops with a crossover Ethernet cable, in order to synchronize them with ntp. One laptop runs Windows 7, the other one Ubuntu. On Ubuntu, in order to assign a static IP ...
2
votes
1answer
33 views

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<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 inet ...
2
votes
0answers
5k views

Ubuntu network keeps giving Network Disconnected - You are now offline message

On the face of it, you will find that this is a common question but please read it completely to understand the specific issue that I have. I am running Ubuntu 12.04.4. I keep getting this network ...
2
votes
0answers
338 views

Script to join WPA2 Enterprise wifi

When I head to work with my MBP running OSX 10.7, I have to go through this series: Join Other Network Enter SSID select Security = WPA2 Enterprise generate a pw via my RSA soft token Join ...
1
vote
1answer
30 views

How do I find the SNR of an ethernet connection?

iwconfig reports the signal-to-noise ratio (SNR) of wireless connections, but how do I find the SNR for an ethernet connection? ifconfig does not report it.
1
vote
1answer
60 views

What is the number that comes after the interface name in “ifconfig -a” output?

What are these numbers 2043, 2091, 2276, 2324 that comes after the interface name—such as eth4 in this example—when I use ifconfig -a? eth4 Link encap:Ethernet HWaddr 00:0F:53:27:81:00 ...
1
vote
3answers
782 views

What is the real capacity of a network device (ethtool - MiB or MB?)

MiB = MebiByte = 1024*1024 MB = MegaByte = 1000*1000 ethtool returns speed = 1000MB/s ifconfig documentation indicated it returns units of MiB How can I tell from that ...
1
vote
1answer
350 views

curl ifconfig.me and ifconfig showing different results

If I run curl ifconfig.me I get one IP, and if I run ifconfig, I get other IP's. Why is it so ?
1
vote
1answer
788 views

What does the field `Memory` mean in `ifconfig`?

I find a field Memory in the result of ifconfig command. I am not quite clear about its meaning. By googling, I get some hint from unSpawn's post on this thread that Memory indicate what memory ...
1
vote
2answers
4k views

Trying to figure out route add to mask an IP to a router/gateway in Bash

Not even sure if I worded this correctly, but here’s what I’m trying to do roughly. Take an IP such as: 192.168.100.0 and mask it to 255.255.255.0, and set the gateway of that route to another IP ...
1
vote
1answer
114 views

Where is this IPv6 address coming from?

When I run ifconfig (after rebooting) on my FreeBSD 8.4 system it outputs this: inet6 fe80::225:90ff:fe10:7e84%em0 prefixlen 64 scopeid 0x5 inet6 xxxx:xxxx:1009::2 prefixlen 64 ...
1
vote
2answers
2k views

ppp0 strange default router address

I'm using 3G-modem to provide an Internet connection to my Linux box. So, when I issue ifconfig command, I see the following: ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 ...
1
vote
1answer
2k views

How to set NIC in promiscuous mode on mac book air?

I am trying to run my nic on MacOSx at promiscuous mode and then use tshark / tcpdump Option1: ifconfig en0 promisc but I get this message: ifconfig: promisc: bad value Option 2: I tried sudo ...
1
vote
1answer
2k views

ifconfig ignores alias on IPv6

When I add an IPv4 address for the interface eth0:0 with ifconfig, it is created correctly: ifconfig eth0:0 add 192.168.10.10 This can be verified by ifconfig or "ip a". When I add an IPv6 address ...
1
vote
2answers
131 views

Can't connect to localhost on mac WebServer from other computers on same local network

When I execute ifconfig in terminal, I see under the en0 > inet > 192.168.0.10 which is my machine's ip, but when I enter it into my PC or iPhone's browser, it doesn't work, how do I connect to my ...
1
vote
1answer
1k views

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 ...
1
vote
1answer
3k 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?
1
vote
1answer
3k views

Install Ubuntu, eth0 not detected?

I have installed Ubuntu laptop Toshiba Satellite L640?, and I had difficulty, that is how to enable network interfaces, eth0 was not detected when running ifconfig.
1
vote
1answer
2k views

What does eth0:cp1 refer to in ifconfig on CentOS?

I have a basic ubuntu background and am not familiar with the output of an ifconfig on a CentOS server I'm looking at, can someone explain the eth0:cp1, and eth0:cp2 entries here? How are they ...
1
vote
2answers
3k views

Delete eth0 avahi from the ifconfig list

Hello this is the response I get from ifconfig. Now I have two eth0 things being showed up. I need to delete the second one which says eth0:avahi. I posted my ifconfig's response on a site as I has ...
1
vote
0answers
31 views

How can I set up my ethernet on a fresh install of Fedora Server 23?

I am using Fedora Server 23, and cannot get my ethernet connection to work. It works fine on Ubunutu, OS X, and Windows 7 on the same machine. [root@localhost etc]# ifconfig ens5: ...
1
vote
1answer
34 views

linux red-hat 7.1 version + dropped increasing from ifconfig

please advice what could be the root cause for dropped increasing problem? as the following: ( we see dropped 2201101 , and this value increased evry sec ....) on Linux red-hat 7.1 eth1: ...
1
vote
2answers
61 views

How to configure multiple subnets

I have a scenario in which one computer needs to be a member of two subnets on the same physical network - 192.168.2.0/24 and 192.168.3.0/24. I have achieved this using ifconfig eth0:1 ...
1
vote
0answers
38 views

How to show all IPs of network interfaces using “ifconfig”?

I am using the Kali Linux distribution and I came across this issue that I can't solve: when I type the command ifconfig in the terminal I get the following network interface infos: As you can see ...
1
vote
0answers
97 views

Can ping URL but cannot access via cURL or wget

I am experiencing an issue where I can ping, but I cannot use wget or curl. This is the output from these commands. I have copied a working Vagrant VM from one Win7 PC to another and this is the ...
1
vote
1answer
465 views

wlan0/wlan1 wont show up with ifconfig

I'm running linux mint (virtual machine) and wifi0/wifi1 interface simply wont show up. Wifi is working properly. I have internal wireless card (not USB or anything). Is there a problem with drivers ...
1
vote
0answers
89 views

IP for virtual interface gets assigned to physical interface

I'm configuring a physical NIC and a virtual interface based on it as follows in /etc/network/interfaces: auto eth0 iface eth0 inet dhcp auto eth0:1 iface eth0:1 inet manual post-up ifconfig ...
1
vote
0answers
500 views

Why does “sudo ifconfig eth0 down” followed by “sudo ifconfig eth0 up” stop dhcp?

I am playing around in Ubuntu 12.04 trying to learn about networking. I learned that you can delete a network interface by running sudo ifconfig name_of_network_interface down However, when I do ...
1
vote
2answers
478 views

Concise IP information in OS X Terminal

Is there a command for the OS X Terminal that shows you only the most vital IP configuration information about your machine? I know there is "ifconfig" but that brings up a bunch of (in most cases) ...
1
vote
1answer
219 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
1
vote
2answers
1k views

ifupdown: interface does not get properly configured

Since some days ago, I'm suffering a traumatic problem with Debian Wheezy. Every time I boot the server, the only up interface is loopback. I have configured a static IP at /etc/network/interfaces ...