Questions tagged [ifconfig]

ifconfig is a system administration utility in Unix-like operating systems to configure, control, and query TCP/IP network interface parameters from a command line interface (CLI) or in system configuration scripts.

ifconfig (short for interface configuration) is a system administration utility in Unix-like operating systems to configure, control, and query TCP/IP network interface parameters from a command line interface (CLI) or in system configuration scripts. Ifconfig originally appeared in 4.2BSD as part of the BSD TCP/IP suite.

Source: Wikipedia.

206 questions
3
votes
1 answer

With CentOS 6 and LXC, "ifconfig" is unable to see network interface (but busybox "ifconfig" works fine)

I've just started working with LXC under CentOS 6 (via the libvirt adapter). If I create an LXC container, I'm unable to see any network interfaces when using the native system tools: # ifconfig -a # The behavior is very odd; specifying an…
larsks
  • 43,623
  • 14
  • 121
  • 180
3
votes
4 answers

Configure static IPv6 on Ubuntu

I'm trying to configure IPv6 on a dedicated Ubuntu server. My provider gave me a "/64" (whatever that is - I'm still confused) of IPv6 addresses. However, when I try to use them, I can't ping anything. What do I do? :( # ping6 ipv6.google.com …
3
votes
2 answers

Why can I listen on an IP not listed by ifconfig?

I'm putting my hands on a legacy system (a Xen cluster) and I'm trying to understand its architecture. It seems that there are services listening on an IP (say, 1.2.3.4) that doesn't show up in ifconfig output: # ifconfig eth0 Link…
Alessandro
  • 181
  • 5
3
votes
2 answers

FreeBSD 8.0 "Watchdog Timeout" drops ethernet connection

Recently my FreeBSD 8.0 (GENERIC) box was hit with a large amount of requests from an IP in Taiwan, trying to guess passwords and all of that stuff. Anyway, long story short, I noticed at a certain point I couldn't ssh into the box. After logging in…
JBirch
  • 175
  • 2
  • 8
3
votes
6 answers

Ifconfig Alias Address Assigned by DHCP

I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP using the command: ifconfig eth0:0 192.168.1.11…
Steve
  • 225
  • 3
  • 9
2
votes
0 answers

Network interface statistics: tx_dropped value always 0

I am writing a program that collects and displays network interface metrics located in the /sys/class/net/ folder. When I was reading about the meaning of rx_dropped value, I came to the conclusion that this value as many possible causes, such as…
imll
  • 123
  • 3
2
votes
1 answer

What is this virtual interface? And how can I remove it?

I am using RHEL 7.4 and had both a virbr0 and virbr1. I want to remove them both. I was able to remove virbr0 by stopping and disabling the default virtual kvm. libvirtd isn't running, yet I still have virbr1. Initially I followed…
2
votes
2 answers

Static Public IP Address on Amazon EC2

I am running Ubuntu on a Amazon EC2 Server. I have a Public IP Address (52.38.20.76). I am unable to bind the public IP address to UDP Port: udp listen 52.38.20.76:3478: Cannot assign requested address So, I am trying to change ifconfig to show the…
Daryl
  • 123
  • 1
  • 5
2
votes
0 answers

rx bytes increases on transfer out

When I transfer data from one machine to another, I'm seeing an increase in both RX bytes and TX bytes according to both ifconfig and ip -s link: before the transfer, on sending node: 2: eth2: mtu 9000 qdisc mq…
astralfenix
  • 163
  • 1
  • 4
2
votes
1 answer

ifup default route missing

One of our severs is behaving strangely with networking on startup. We've been using configuration changes and ifup/ifdown to try to isolate the issue, with frustratingly inconsistent results. We have a configuration that is consistent with other…
righdforsa
  • 283
  • 4
  • 13
2
votes
2 answers

FreeBSD interface up/down monitoring

How to get informed about specific interface status in FreeBSD? ifconfig | grep "status: active" works fine but I want to avoid polling and be informed as fast as possible about ifup/ifdown.
2
votes
1 answer

What is the difference between Errors , Dropped , Overruns , Frame and Carrier

What is the difference between Errors , Dropped , Overruns , Frame and Carrier in the Ifconfig ?
stevGates
  • 139
  • 1
  • 5
2
votes
1 answer

Which kernel parameters should be adjusted to fix RX overruns?

I have a Centos 6 server that handles a lot of traffic. I see RX overruns increasing all the time: RX packets:11191345002 errors:0 dropped:0 overruns:35592596 frame:0 TX packets:15262461573 errors:0 dropped:0 overruns:0 carrier:0 RX…
Fernando
  • 1,189
  • 6
  • 23
  • 32
2
votes
2 answers

What would cause ifconfig NIC frame drop counts to increase SLOWLY (90-100 frames per day)?

I have a web appliance running CentOS 5.11. It sees a fair amount of traffic (apologies, I don't have specific numbers but I know it's in use). For some reason, I'm seeing ifconfig error counts slowly incrementing on it. eth0 Link…
Mike B
  • 11,871
  • 42
  • 107
  • 168
2
votes
4 answers

ifconfig dirties inode on proc (Linux)

I'm currently checking HD access with the following echo 1 > /proc/sys/vm/block_dump tail -f /tmp/syslog and this log message pops up once in a while: Aug 31 22:44:18 Frasse kernel: [ 4818.570038] ifconfig(2817): dirtied inode 4026531841 (net) on…
Jonas Byström
  • 194
  • 2
  • 12