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

learn more… | top users | synonyms

1
vote
1answer
18 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.
0
votes
0answers
11 views

ifconfig en1 inet 4 IP address only (no netmask or broadcast address)

Is there an elegant way to get just the inet 4 IP address from ifconfig en1, i.e without the netmask and broadcast address? The only way I can get this info currently is: ifconfig en1 | grep inet | ...
1
vote
2answers
57 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 ...
2
votes
1answer
30 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 ...
0
votes
3answers
96 views

ipconfig \all, not working on linux fedora

I am new to linux. I am trying to run "ifconfig" on linux fedora. It is working but when I run "ifconfig \all" or "ifconfig /flushdns",it gives me error i.e. "device not find", even if i try as super ...
1
vote
0answers
26 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 ...
0
votes
1answer
86 views

Fixed ppp interface name?

I have many pptp vpn tunnels or servers to connect to and linux would assign ppp0 for the 1st connection, ppp1 for 2nd connection and so on. I need the interfaces to be fixed so i can forward the ...
1
vote
0answers
73 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
249 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
1answer
52 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 ...
2
votes
1answer
82 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
0
votes
0answers
18 views

Why are there so many network interfaces in OS X? [duplicate]

The ifconfig command prints this output: lo0 gif0 stf0 en0 en1 fw0 en2 bridge0 p2p0 vnic0 vnic1 Is it normal to have all these interfaces?
0
votes
0answers
94 views

ifconfig shows no active connection (Mac os X)

I'm running os x 10.9.1. In terminal, just ran the ifconfig command, and despite having an active internet connection via USB dongle, none of the interfaces read any inet or inet6 address (except ...
0
votes
0answers
152 views

Why can we add virtual interface using `iw dev <devname> interface add…`

I knows that with mac80211 we can create multiple virtual interfaces on one physical device. From iw's official docs I found this could be done by these two commands: iw dev <devname> interface ...
1
vote
0answers
64 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
33 views

Will dead network hardware still show up in Ubuntu ifconfig?

I have an Intel NUC and I suspect the onboard ethernet port died, but I'm surprised it still shows up in Ubuntu as eth0 in ifconfig. Is this behavior to be expected, or should I suspect some other ...
1
vote
1answer
93 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
1answer
596 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 ...
3
votes
1answer
253 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 ...
0
votes
3answers
92 views

What is the IP address of my home computer from the perspective of the outside world? [duplicate]

What is the IP address of my home computer from the perspective of the outside world? I need this in order to grant myself permissions to connect to a mysql database on a work server. I'm working on ...
2
votes
1answer
688 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
1answer
139 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 ...
0
votes
0answers
66 views

How to create new localhost interface in Windows?

In *unix you can write: sudo ifconfig lo0 127.0.2.1 up But how to do this command line in Windows?
1
vote
0answers
434 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 ...
0
votes
1answer
580 views

ifconfig, ethernet device name too long and get truncated, how do I know the actual name?

I'm trying openSUSE 13.1 x86, but immediately encounter an annoying problem. In this openSUSE version, compared to 12.2, ifconfig does not show network device name as eth0, eth1 etc, but use a ...
0
votes
2answers
306 views

ifconfig command on mac does not show IP address

When I run ifconfig, eth0 is not shown, and only en0 is displayed: >> ifconfig en0 | grep inet inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255 When I type My IP in Google, my IP ...
2
votes
0answers
4k 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 ...
1
vote
2answers
448 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) ...
0
votes
2answers
1k views

Enabling eth0 or eth1 for internal network in computer without internet access

I am installing virtual box in computer without internet access. I am not sure this computer has network adapter (Ethernet) or not. I have two virtual machine which can communicate each other (I ...
0
votes
1answer
328 views

CE interface in Solaris 10 drops mac address (per ifconfig)

I recently installed Solaris 10 1/13 and proprietary TCP PEP software on a new hard drive within an old Sun v210. When the PEP software starts, the Sun's CE0 interface loses its "ether" address, ...
0
votes
1answer
4k views

how to test a VLAN set up under OS X Mavericks

I tried to set up an "internal" VLAN, with my mac (running Mavericks) routing this segregated traffic to one of the hardware interfaces. I think this should work irrespective of how people connect to ...
1
vote
1answer
195 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 ...
0
votes
0answers
133 views

VMware Fusion 5 Ignoring dhcpd.conf

I'm trying to set a static IP for my CentOS 6.4 VM that I'm running via VMware Fusion 5. Steps I took: ran ifconfig, copied HWaddr shut down VM. added to the end of /Library/Preferences/VMware\ ...
3
votes
1answer
712 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 - ...
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 ...
0
votes
2answers
78 views

Check NIC is connected to a router

I have access to a remote machine which has two network interfaces, eth0 is connected to same network I am in, so I am able to connect to it. But I need to test some usecases on eth1 but I am not sure ...
0
votes
1answer
367 views

Convert ifconfig command to iproute2

I am using this ifconfig command to set IP on a network interface ifconfig eth0 x.x.x.x netmask x.x.x.x mtu 1400 Now they say that ifconfig is deprecated and I should use iproute2. I converted ...
1
vote
3answers
718 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
4k 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 wifi dongle using hostapd on wlan0. What I would like to be able to do is have the access point be on some virtual ...
0
votes
1answer
355 views

how to change ip address in the correct way on linux?

I'm working with wheezy. I have configured the /etc/network/interfaces file so that the wlan gets the ip address from the dhcp server. after that I have imposed a different static ip address in the ...
0
votes
1answer
168 views

What are ifconfig.me/forwarded IP addreses?

When I use the ifconfig.me service, by running the following command: $> curl ifconfig.me/forwarded I returns a list of IP addresses. does anyone know what this IP addresses are. I am behind a ...
0
votes
2answers
101 views

Linux: Any distro-independent way to change and persist IP settings?

Are there any distribution-independent mechanisms for tasks like assigning static IP addresses, adding or deleting routes, etc and, then, also be able to persist the changes so made? AFAIK, each ...
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
342 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
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?
8
votes
2answers
16k 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 ...
-1
votes
1answer
157 views

Configure the Ethernet Interface from the Command Line

I have connected to a Virtual Server with an SSH client using IP address: 172.xx.xx.154/22 I have been asked to configure eth1 to 172.xx.xx.155/24 with gateway IP Address of: 172.xx.xx.1 Any help ...
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 ...