Questions tagged [ifconfig]

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

Filter by
Sorted by
Tagged with
-3
votes
0answers
44 views

Understanding Mac ifconfig output

I have the following ifconfig output on Mac. But I don't understand most of them. Could anybody help explain the meaning of all the output of ifconfig? Thanks. lo0: flags=8049<UP,LOOPBACK,RUNNING,...
0
votes
0answers
25 views

rhel + Device xxxx has different MAC address than expected

in messages file we have the following error ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Device papa2 has different MAC address than expected, ignoring. is it minor alert , and we should ...
0
votes
0answers
186 views

Ubuntu 18.04: Ifup and Ifdown commands don't work

I want to ifdown / ifup wlp3s0. But it is not working. My guess is that it does not work as wlp3s0 is not listed in /etc/network/interfaces. Would I need to make manual entries into /etc/network/...
1
vote
1answer
71 views

OpenBSD 6.6 wlan DHCP no link, routing issues

I've been bashing my head against this for a few days so I'm asking for help. The machine is a Thinkpad using a Intel PRO 2100 wifi card with the ipw driver (https://man.openbsd.org/ipw). I tried ...
0
votes
0answers
513 views

Instructions to spoof MAC address in OS X High Sierra not working

I am following these instructions to spoof MAC address in High Sierra OS X: https://blog.macsales.com/43777-tech-101-spoofing-a-mac-address-in-macos-high-sierra/ but I get unexpected errors such as: ...
0
votes
1answer
29 views

Why I can't navigate after set a fix IP on a Linux machine virtualized on VMWare?

I am not so into networking and I am finding the following problem trying to configure a fix IP on a Linux virtual machine virtualized on VmWare. The networking mode condigured on VmWare is NAT and ...
-1
votes
1answer
1k views

ifconfig command not working on Kali Linux

I installed Kali Linux in a virtual machine, but the ifconfig command is not working and permission denied. I've searched many answers on YouTube and Google. But there is no command that works. My PC ...
0
votes
1answer
108 views

Why do `ip` and `ifconfig` have different behaviors when the interface is down?

I first shutdown interfaces # Shutdown the interfaces ip link set enp2s0f0 down ip link set enp2s0f1 down Using ifconfig: # Set subnets to interfaces ifconfig enp2s0f0 10.0.0.1/24 ifconfig enp2s0f1 ...
0
votes
0answers
61 views

en3 and hc interfaces when running ifconfig

When running ifconfig I see a few weird interfaces such as XHC20 XHC0 VHC128. From my understanding these are related to USB packet sniffing of some sort, however, I've never used wireshark or even ...
0
votes
1answer
682 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&...
1
vote
0answers
93 views

ifconfig shows a bunch of network interfaces [duplicate]

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&...
0
votes
0answers
19 views

Raspbian and dodgy ip address

I need 2 vlans on my raspberry (no ordinary iface) and what i did was to add a file: pi@rpi:~ $ cat /etc/network/interfaces.d/vlans auto eth0.104 iface eth0.104 inet dhcp vlan-raw-device eth0 ...
0
votes
0answers
29 views

On VirtualBox, bridged NIC won't be assigned IP, unless dhclient is run

I have a VirtualBox 6.0, Red Hat 7.6, guest. Its NAT connection starts fine, but the bridged connection does not get an IP address from DHCP - unless I run the dhclient command. Following is the ...
2
votes
1answer
2k views

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=...
0
votes
1answer
176 views

How to change local network info (ip, netmask, broadcast) using ifconfig

I am following along with the book Linux Basics for Hackers (No Starch Press, 2018) using Kali Linux (2019.1a) with VirtualBox and when changing my network info (chapter 3) I am no longer able to ...
0
votes
1answer
80 views

Ifconfig report some interfaces with strange names on MacOS

The command ifconfig Report some strange interfaces on MacOS OHC6: flags=0<> mtu 0 OHC4: flags=0<> mtu 0 EHC36: flags=0<> mtu 0 EHC38: flags=0<> mtu 0 What is OHC and EHC?
0
votes
1answer
184 views

ppp interface and an ethernet interface both not working together

I have a Rasberry Pi with two network interfaces. One is a ppp interface connecting to a cellular modem over USB. The other is a local ethernet connection with an ethernet cable connected to a ...
1
vote
1answer
606 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
755 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 ...
2
votes
2answers
5k 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
162 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 ...
2
votes
1answer
2k 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
428 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 ...
2
votes
1answer
176 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
271 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
65 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
909 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
12k 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
4k 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
496 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 ...
2
votes
1answer
60 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
598 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
488 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?
-1
votes
1answer
607 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
3answers
1k 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:...
2
votes
1answer
201 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
357 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
112 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
313 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 ...
3
votes
1answer
4k views

Not able to spoof MAC address in Kali Linux

The MAC address is spoofed when the network interface is down or not connected to any AP. But as soon as I connect to any access point it changes the spoofed MAC address to the original address. I ...
1
vote
1answer
4k 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
1k 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
181 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 ...
13
votes
2answers
35k 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
69 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
573 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
3k 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
824 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.