Questions tagged [ifconfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
8 views

Access 3G/4G interface in terminal

I have been monitoring the Wi-Fi and Ethernet interfaces of my computer using terminal tools (I'm a Ubuntu user). I am now required to do that same monitoring and bandwidth measurements in a Linux ...
0
votes
1answer
30 views

ifconfig does not show enp1s0

I am using linux mint ifconfig does not show enp1s0. it just shows enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0....
2
votes
1answer
30 views

How to know the interface from which we received a ping request

I know how to ping to a specific interface using the -I option. I want to know the interface through which I received the ping. I tried to use tcpdump for this but I cannot get any details. I can ...
0
votes
0answers
31 views

How can i get the incoming and outgoing traffic from ifconfig?

I am trying to get the incoming and outgoing traffic of my machine from ifconfig...As of my understanding Rx( total number of packets received) and Tx(total number of packets transmitted). But this ...
1
vote
0answers
23 views

Kali Linux LiveUSB does not find onboard WiFi adapter [closed]

I have a Kali Linux LiveUSB with persistence, but the OS does not detect my laptop's internal WiFi card. Also, ifconfig does not show any wlan0 ports.
1
vote
1answer
28 views

Change private IP address without losing internet access

I start with the following: ens33 Link encap:Ethernet HWaddr 00:0c:29:03:a8:56 inet addr:192.168.0.161 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::dfa6:820:...
0
votes
0answers
49 views

how to get ethernet interface name, why do they vary from eth

On a dell pc, the only ethernet interface off the motherboard shows up as em1. On a newer supermicro server, the interface names are enp137s0f0 On some older supermicro servers, they are eth0..eth3 ...
0
votes
0answers
19 views

ifupdown2: Run another ifup from post-up (nested ifup)

An interface (the master bridge) is initially brought up, and, in it's post-up chain, the childs should be brought up. As we use batman-adv, bridge-ports is not an option: iface dom0-bat inet manual ...
1
vote
1answer
75 views

How can I get the ipv4 address from `ip link` like I used to see with ifconfig?

When I run ip to get the ip address, I'm getting $ ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:...
1
vote
1answer
65 views

Slow internet connection after MAC address spoof

I'd like to ask a question about spoofing MAC addresses. I'm trying it out in my own wifi network just to see how it's done. I'm running ubuntu 16.04 LTS. Let's say my original MAC address is 00:22:...
-4
votes
2answers
200 views

Does `ifconfig` show the MAC address of a network interface following `ether`?

Does ifconfig show the MAC address of a network interface following ether? Does ether mean ethernet? How does it mean Mac address? virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ...
-1
votes
1answer
55 views

Does `lo` have no MAC address?

From https://networkengineering.stackexchange.com/questions/57935/is-a-network-interface-supposed-to-have-no-more-than-one-mac-address/57937?noredirect=1#comment100988_57937 A network interface in ...
0
votes
1answer
38 views

Getting the IP address of a given interface [duplicate]

I need the IP (v4) address of a device I specify. The response will be later used in a script. This is what I have: $ IFACE=eth1 $ ifconfig $IFACE |grep "inet " | awk '{print $2}' 10.0.0.33 Is there ...
0
votes
1answer
609 views

What is the meaning of rx_missed_errors?

When we test the eth card with ethtool -S we get rx_missed_errors: 4649. What is the meaning of rx_missed_errors? Is it a major problem? rx_over_errors: 0 rx_crc_errors: 0 rx_frame_errors: 0 ...
27
votes
2answers
2k views

ip vs ifconfig commands pros and cons

At some point, in some teaching material (from Linux Foundation) on Linux that I came across, the following is mentioned: ip command is more versatile and more efficient than ifconfig because it ...
0
votes
1answer
72 views

How does the networking works in CentOS 7? Specifically, ifconfig?

Goal: To configure the routing of the traffic from VM to the PC and to the internet. to configure the forwarding of the traffic from wlan0 to the eth0 on CentOS7, and vice versa. My topology: VM - (...
2
votes
0answers
199 views

NetworkManager fails to connect with a cloned MAC address

I need to spoof a specific MAC address to be able to connect to the local ethernet. So I filled in the "Cloned MAC address" field in nm-connection-editor. After this, nm-applet shows a spinning icon ...
3
votes
1answer
88 views

IPV6 aliases in rc.conf

I am currently running FreeBSD 12.0-RELEASE-p2, and I can't figure out how to create both IPV4 and IPV6 aliases for a loopback (lo1) interface using rc.conf on boot. Here is a snippet of my rc.conf: ...
1
vote
0answers
85 views

will RHEL process my ifcfg-ens192.bak.xxx file?

Recently, we made a clone of a RHEL VM for testing purposes. One of the steps to make the clone unique was to give it a different IP address than the original machine (Of course). But the method used ...
0
votes
2answers
891 views

How to convert shell output to JSON?

I have this output in the following and I am trying to convert it to JSON api format. I want to know how can I do it. rock64@rockpro64:~$ sh MACscript.sh eth0 11:1d:11:11:11:1d lo 00:00:00:...
0
votes
2answers
133 views

port 1556 listening on tcp6 causing issues

on my RedHat 7, i noticed that network connection for Netbackup stopped working and i tried everything including rurning off my firewall and disabled SELINUX with no luck. the only thing i noticed ...
1
vote
0answers
108 views

traceroute working but telnet time outs with error 28 [closed]

Previously I was able to telnet to a server , but now I am facing timeout error 28. I tried for traceroute it works and shows hopes . I tried below command curl -v -m 5 telnet://ip:portnum I am ...
-2
votes
1answer
51 views

Why is it so hard to get your own local IP address [closed]

There are so many questions asking basically: how do I get my local IP address? None of answers are portable, they all seem like a hack. This seems like such a common need, but there are no good ...
4
votes
2answers
2k views

How to understand ifconfig or ip addr show [closed]

The ifconfig command dumps a lot of information at you, especially if you have a lot of interfaces, and you don't know where they come from. I've read through this tutorial page, which gives a great ...
-1
votes
1answer
604 views

eth: error fetching interface information: Device not found

I have an ubuntu 18.04 linux server. Why does the command(ifconfig eth) says Device not found whereas this command(ifconfig eth0) works? $ ifconfig eth eth: error fetching interface information: ...
1
vote
1answer
48 views

Why is there more than one HWadder while running command ifconfig

I performed the ifconfig command in Linux to find out my mac address. But as there are multiple HWadder in the output I can't find out my MAC address. I also want to know, why do they show multiple ...
0
votes
1answer
2k views

What is 'wlo1' ?

When I run the command ifconfig in the terminal, I get three results: lo, virbr0, wlo1. What is wlo1? Is it useful?
1
vote
1answer
537 views

Disable Power from Ethernet

I'm trying to "turn off" the power that goes to a device over Ethernet. I'm using this card: https://www.startech.com/Networking-IO/Adapter-Cards/4-port-gigabit-poe-pcie-network-card~ST4000PEXPSE; it ...
1
vote
1answer
318 views

Errors from ifconfig?

In my Redhat 7 Linux machine I see - RX errors 413556 and after some time I see the same error value - 413556 ( not increasing ). First question - is it possible to know when this error triggered? ...
2
votes
1answer
232 views

Converting 'ifconfig wlan0:avahi …' command to use ip instead of ifconfig

I am currently working on setting up a wireless mesh network using babeld as the routing algorithm. The documentation is very sparse, and most of the configuration guides I've seen online are using ...
0
votes
1answer
78 views

How to configure multiple physical ethernet ports in RHEL6?

I have an appliance with 4 ethernet ports (eth0, eth1, eth2, and eth3). I have configured some of the ports such that the results of ifconfig is as follows: $ ifconfig eth0 Link encap:Ethernet ...
5
votes
2answers
10k views

Ubuntu 18.04 New Netplan / IP Configuration (pointopoint?)

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 an example for the new netplan configuration. This was my old interfaces ...
2
votes
0answers
24 views

Significance of “@” in “ip a” command [duplicate]

The output of the ip a command in CentOs 7: 259: veth2060b59@if258: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP link/ether c6:1b:2a:b3:f6:c3 brd ff:ff:...
0
votes
2answers
141 views

what is the best approach to capture the MTU value

I am using the follwing to find the mtu value ifconfig | grep mtu eno17832: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 but in my ...
1
vote
0answers
508 views

Cannot receive DHCP OFFER

Recently my ethernet connection can't work. Seems that I can't receive DHCP OFFER sending by the DHCP server. My computer : OS : Ubuntu 17.10 Kernel : Linux version 4.13.0-38-generic (buildd@lgw01-...
0
votes
1answer
2k views

What is BROWSER_ONLY option in ifcfg-* network configuration files?

In my RHEL 7 minimal installation with Virtualization profile I found that interfaces configured with network manager(s) contain BROWSER_ONLY=no option, which is always set to no by default. Server is ...
0
votes
1answer
347 views

FreeBSD ifconfig failed when trying to connect to OpenVPN server

I am trying to connect to remote server with OpenVPN client, built into pfSense. I am failing and inspecting OpenVPN log wich says that (from bottom to top): Exiting due to fatal error FreeBSD ...
0
votes
1answer
198 views

Debian Standard network interface doesn't work, have to use USB enx00e04c6803a1 [closed]

I've been using Debian GNU/Linux unstable (sid) for five months now without problems. A few days ago my computer wouldn't connect through ens33 (the Ethernet port at the back of my desktop, embedded ...
1
vote
1answer
3k views

Virtual NIC: “SIOCSIFFLAGS: Cannot assign requested address” but gets created

I am having some trouble with the apparently easy task of creating a virtual network adapter on a physical network card in my Linux system (custom distribution, Debian-based). If I run ifconfig eth0:...
9
votes
3answers
3k views

How to capture the first IP address from a ifconfig command?

How to capture the first IP address that comes from ifconfig command? ifconfig -a enw178032: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 100.14.22.12 netmask 255.255.0.0 ...
2
votes
1answer
3k views

how to know if my servers should use jumbo frames ( MTU )

we have some redhat servers , cluster servers ( as mabri cluster ) few questions: which linux command print the current MTU value ? , ( we not configured yet MTU in ifcfg file ) what is the default ...
1
vote
0answers
424 views

ifconfig shows the interface but no IP

I'm troubleshooting some networking issues on our 2-interface centos machine. The machine has two interfaces, for 162.* and 172.* subnetworks. The machine used to work properly but as of today I can ...
-4
votes
1answer
3k views

Mac address not showing in ifconfig [closed]

My MAC address is not showing in kali linux using the ifconfig command. There is no option for Hwr inside wlan0 which should contain the MAC address how do I find my MAC address?
3
votes
5answers
1k views

How to show only interfaces starting with a certain pattern

Open-Vswitch creates virtual interfaces, they all have this pattern: s[digit]-eth[digit] For example: s1-eth1, s1-eth2, s12-eth3, s2-eth3 ... I want to show information of -for example- all ...
0
votes
1answer
169 views

ifconfig command issue

My goal is to connect to centos6 machine which is sitting on VMware , using putty tool from my windows machine. To connect with putty as you know I need ip address of my Centos6 machine. Thats the ...
5
votes
1answer
231 views

FreeBSD mixes names of similar USB to ethernet adapters

I have two Asix USB to ethernet adapters. The FreeBSD determines those as ue1 and ue2 adapters. The problem is, that on reboot, sometimes the interface ue1 become ue2 and viceversa, which pretty much ...
0
votes
1answer
731 views

Why won't dhcpd listen on the virtual interface

I think I might be missing something simple, but I'm at the point of needing some extra eyes on the problem. I have a need for 2 separate networks to be on the same NIC (eth1): 192.168.0.0/24 and 192....
1
vote
1answer
479 views

dhclient says it's bound to address - but ifconfig doesn't

I started dhclient with: syslog: ... Dec 27 03:26:03 HOST dhclient[13412]: DHCPDISCOVER on enp4s0 to 255.255.255.255 port 67 interval 3 (xid=0x859ef640) Dec 27 03:26:03 HOST dhclient[13435]: ...
7
votes
4answers
3k views

Create an array with all network interfaces in bash

I want to create an array in Bash which to contain all active network interfaces. I have managed to create a for loop printing them but when I try to create the array, it just contains the last lo ...
0
votes
1answer
27 views

Can an interface status be active without an IP address assigned to it?

Looking at the output of ifconfig or ip link show. Can an interface status be UP/RUNNING/active without an IP address assigned to it?