Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ifconfig]

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

0
votes
1answer
33 views

OracleLinux 7.5 Virtual Box No IP

Host is Mac OS High Sierra VBox version is 5.2.16 Guest is Oracle Linux 7 VM Network Adaper type is Bridged I installed and set this VM on whilst on network 172.16.21.0, and it worked fine with the ...
0
votes
2answers
62 views

How to change the MAC address of a networking interface on FreeBSD 11.1

I'm trying to change the MAC address of my network card (a generic card using an Intel chipset) on my. system that is running FreeBSD (FREEBSD 11.1-RELEASE-p7). I get the following output when I ...
0
votes
2answers
698 views

“”ping 8.8.8.8 connect: Network is unreachable“” in centOS 7 on VMware workstation 14

I am trying to work with centOS 7 which I installed on VMware workstation. But it doesn't have internet connection: $ ping 8.8.8.8 connect: Network is unreachable $ ping www.google.com ping: www....
0
votes
1answer
69 views

DNS 127.0.1.1 not working because of an unknown issue

I have an internet connection through Ethernet LAN cable (connected on interface eth7). My Ubuntu OS shows that internet is connected. However, when I search on the browser, page shows that I am not ...
0
votes
1answer
1k views

Ubuntu 18.04 New Netplan / IP Configuration (pointopoint?) (Need Example)

I have a Root-Server with Proxmox installed. Until now, i always had Ubuntu 16. Now i upgraded a VM to Ubuntu 18 and i need a example for the new netplan Configuration. This was my old interfaces ...
0
votes
1answer
114 views

Changing MAC address of an interface without making it down

All the examples I see on internet for changing the mac address of an interface in linux, first makes the interface down and then update the mac address and finally bring the interface up. But, I can ...
0
votes
0answers
77 views

linux fine tuning after setting the MTU to jumbo frame

We want to set the MTU to 9000 bytes on our Linux machines (distribution is Redhat 7) In this case, how would I tune the memory page size according to MTU size of 9000 bytes? Also, what are the ...
2
votes
1answer
57 views

How to find source code of specific version of linux tools, i.e. ifconfig

I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from ifconfig, and it would assume that there was no : (colon) after the ...
2
votes
0answers
162 views

How does tcpdump configure an interface it begins to capture packets from?

On an Arago embedded linux system, an interface would normally be able to ping other destinations on the network. However, the pings stop working when using a utility such as iperf or scp to send TCP ...
0
votes
1answer
61 views

VPS internet has been killed. How do I fix it?

I am working with a friend on a VPS we use. Recently out root password was leaked and out internet has been completely ruined. ifconfig wan't recognised as a valid command or anything. I managed to ...
3
votes
1answer
484 views

Why does ifconfig only show the first IP of a network interface configured with systemd-networkd?

So I'm not sure what's going on here, but I've duplicated this problem on multiple different servers on Ubuntu 17.04 (up to date) yet I can't find any other reports of this, so I have to imagine I'm ...
2
votes
1answer
4k views

SIOCSIFFLAGS: Operation not permitted

I am trying to connect my TP-Link AC600 wireless adapter through the USB port to connect to Kali linux Rolling but I am having issues getting it to show up with ifconfig root@kali:~# ifconfig ...
1
vote
3answers
2k views

how to delete SSID data from Debian wifi interface?

I have Debian distribution and when I want to reset the WIFI connection I run the following command: ifconfig wlan0 down and I also delete the wpasupplicant.conf file but when starting the network ...
0
votes
2answers
247 views

Physical and wireless interfaces in macOS

I have a MacBook Pro (Retina, 13-inch, Late 2013) running macOS 10.12.1. I know from reading another answer: There's no eth0 on default configurations of OS X. By default, en0 and en1 are your ...
3
votes
1answer
48 views

Identify the ethN interface containing a particular octet in CentOS

I have a specific need to identify which interface a part of an octet (e.g. xx.xx.xx.112) belongs to on a CentOS machine My initial idea was to dump the output of ifconfig and parse it manually to ...
2
votes
2answers
406 views

Is it possible to restrict connection to database in Docker container at particular interface on Ubuntu 16?

I have MySQL database on a server (I use Percona in Docker container) with several network interfaces. My system is Ubuntu 16.04.2 LTS. ifconfig eth0 Link encap:... inet addr:95.*.*.*...
0
votes
1answer
340 views

Linux ifconfig - what does ifconfig | grep -Po “HWaddr \K.*$”

I was hoping somebody could explain bit by bit what each part of this command does. ifconfig | grep -Po "HWaddr \K.*$" e.g. what The -Po is for?
-3
votes
1answer
395 views

When I type in ifconfig to the command line, what does the information mean? [closed]

When I type in ifconfig I see a lot of information, what does it mean? Especially the information under the heading eth0.
0
votes
2answers
606 views

Trying to find my public ipv6 address for ubuntu server and godaddy

I have just set up ubuntu server, and I cant figure out this stupid xfinity router/modem. So what I've managed to do is set a static ipv6 on ubuntu server iface enp4s0 inet6 static address 2601:407:...
0
votes
0answers
178 views

ipconfig on Windows and ifconfig on Linux showing different things

Yesterday I tried to determine my gateway IP address so that I could check what and how many devices there were on my network. First I tried with Linux by using the ifconfig command in the terminal ...
2
votes
1answer
102 views

wlan0 RX/TX packets increase but no connection established

I am wondering why the wlan0 interface on my Raspberry Pi configured as a HotSpot and not connected to any client has its "RX/TX packets" counters from ifconfig increase continuously? Since no client ...
3
votes
1answer
202 views

How do I make ifconfig/dhclient setting permanent in FreeBSD?

Lately, for the purpose of smoke-testing the Perl 5 core distribution, I have been using VirtualBox to install VMs of various versions of FreeBSD on a Linux x86_64 host. In my first attempt at doing ...
2
votes
1answer
7k views

“ifconfig” gives an error on Bash on Ubuntu on Windows

When I try using the command "ifconfig" on Bash on Ubuntu on Windows(WSL), it gives me an error like this :- root@example:~# ifconfig Warning: cannot open /proc/net/dev (No such file or directory)...
0
votes
2answers
95 views

What is the purpose of configuring the netmask on an ipv4 interface on a Linux machine?

I am wondering what is the netmask used for in the Linux network stack. Let's assume I have an interface eth0 configured to ip 1.1.1.1 and netmask 255.255.255.0 now I am sending a packet to 1.1.1.2 ...
1
vote
1answer
190 views

Linux Web Server Cannot ping localhost or anything on the internet

My ubuntu 12.04 server was working fine a few days ago. I didn't change any server configurations, but today all of a sudden I can't ping anything. What could be the potential issue here? I can't even ...
1
vote
1answer
2k views

Not able to spoof Mac Address in Kali Linux

I tried the following to spoof my mac address:- ifconfig wlan0 down macchanger -a wlan0 ifconfig wlan0 up (Even tried to stop and start network-manager with the above command) I also changed ...
0
votes
1answer
2k views

wlan1 showing as weird characters

When I do ifconfig, it shows wlan1 as wlanx00c0ca8476b6 What in the world is this gibberish? Note: This is showing up for my usb wifi adapter. My internal wlan0 shows up fine. Note: I did an ...
1
vote
0answers
929 views

iwconfig wlanX channel … - SET fails due to device being busy

I'm using a Debian Jessie on a Sony Vaio VPCEB3M1E. Some information about my wireless card: :~$ sudo ifconfig wlan0 IEEE 802.11bgn ESSID:"********" Mode:Managed Frequency:2.412 GHz Access ...
2
votes
0answers
103 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: flags=4163<UP,...
0
votes
1answer
2k views

Linux + why dropping issue displayed from ifconfig but not from ethtool?

we have Linux VM red hat 7.2 version with two LAN interfaces the Linux machines are ruining on ESXi - 5.5.0 and we have very strange issue , the conflict is between the ifconfig command to ethtool ...
5
votes
2answers
16k views

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 ?
0
votes
1answer
47 views

Piping stdout from a command to stdin of two commands in sh

tee [using >()] command is not working because it is not supported in sh (bourne shell). What I am trying to achieve is sending the output of "ifconfig -a" to two different commands. This is my ...
1
vote
1answer
363 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: flags=...
1
vote
2answers
2k 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
533 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
167 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
156 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 192.168.3.123/...
2
votes
1answer
111 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 10....
0
votes
3answers
1k 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
373 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 lo ...
0
votes
1answer
1k 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
645 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
2k 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
186 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
3k 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
1
vote
0answers
175 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 ...
9
votes
1answer
20k 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
82 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
244 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 ...
4
votes
2answers
7k 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 ...