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
6
votes
2 answers

How can I list all virtual networks for a given network interface in linux?

How do I list all virtual networks created for a given network interface card? E.g. I have added a virtual network like this, ifconfig eth0:0 inet6 add ::123/64 It's responding fine. And I know I can use that network, because I added it. But if I…
nmdias
  • 163
  • 1
  • 1
  • 4
6
votes
1 answer

How to add a broadcast address to loopback with ifconfig on a OS/X?

I am trying to use ifconfig to turn on broadcast on my loopback interface. It currently reads: lo0: flags=8049 mtu 16384 As you can see, no broadcast address! :( :( :( I tried this on OS/X but it did not work and it…
chrisapotek
  • 585
  • 2
  • 6
  • 17
6
votes
2 answers

What does RUNNING in ifconfig output mean?

Does anyone know what the RUNNING flag in ifconfig output means? (I don't know that it matters much, but this is on a Solaris 10 box.) The only thing I've been able to find on it so far is this forum post. Even assuming that's accurate, I'd…
Bill Horvath
  • 163
  • 1
  • 1
  • 6
6
votes
4 answers

How can I reset the statistics reported by ifconfig?

I'm trying to trace a possible link problem on one of our servers' ethernet interfaces. ifconfig reports a large number of error packets. I've asked the hosting company to make some changes to the setup and would like to reset the interface counters…
Dave Cheney
  • 18,567
  • 8
  • 49
  • 56
5
votes
1 answer

IP served by OpenVPN doesn't take ipp.txt into account

I'm facing some troubles right now with an OpenVPN server an former colleague set up (I'm not too into it ATM). We're using OpenVPN for a private network of ~200 clients (to be more specific, only 15 clients, with VMs on them, bridged to the same…
Guillaume Fenollar
  • 261
  • 1
  • 2
  • 5
5
votes
1 answer

Is "inet addr" my or "bcast" my machine's actual IP?

I'm trying to connect from one machine to the other (for Postgres), and I'm confused about how to configure my IP address, both from a allow connections from IP address X and from a connect to machine A on IP address X standpoint, assuming there…
Johnny 5
  • 183
  • 1
  • 1
  • 4
5
votes
4 answers

Server answers only on one IP. Why?

ifconfig -a eth0 Link encap:Ethernet HWaddr 00:25:90:60:1B:FC inet addr:10.0.47.42 Bcast:10.255.255.255 Mask:255.255.255.248 inet6 addr: fe80::225:90ff:fe60:1bfc/64 Scope:Link UP BROADCAST RUNNING MULTICAST …
chubbyk
  • 883
  • 2
  • 10
  • 15
5
votes
2 answers

ifconfig showing wrong RX/TX byte count

ifconfig tells for eth0 some RX = 2,8GB, TX = 1,3GB value that cannot be real, since I recently transmitted many 10GB+ files over eth0. I would like to know if that's just some ordinary integer overflow (4GB limit) or if that's an indicator that…
nils
5
votes
7 answers

How to list all the ip addresses of a server

When I type ifconfig, I see that my server has an new ip address each day. The ip addresses belong to a set of ip addresses. How do I find out all the ip addresses of my server?
Anonymous
  • 101
  • 1
  • 1
  • 3
5
votes
3 answers

Why does ifconfig reset the default gateway route?

In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature? As fas as I remember Linux doesn't change the default gateway in this case.
Eugene Yarmash
  • 2,433
  • 5
  • 34
  • 54
4
votes
1 answer

FreeBSD 11 not showing RX,TX packets and counts

I am having a FreeBSD 11 system in which I get the following output for ifconfig command # ifconfig lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen…
Gagan93
  • 153
  • 1
  • 9
4
votes
1 answer

Debian - static ip, /etc/network/interfaces

I tried to set a static IP on my Debian 8.1 (in VirtualBox), so I edited the /etc/network/interface file : # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.51 netmask…
kolm3
  • 41
  • 1
  • 2
4
votes
2 answers

LVS-TUN: ifconfig shows errors and collisions for tunl0 interface?

Check_MK has sent me an email as follows: ***** Nagios ***** Notification Type: PROBLEM Service: Interface 5 Host: foo Address: x.y.z.t State: CRITICAL Date/Time: Fri May 3 10:02:40 ICT 2013 Additional Info: CRIT - [tunl0] (up) speed unknown,…
quanta
  • 51,413
  • 19
  • 159
  • 217
4
votes
3 answers

Privileges for ifconfig

In order to do ifconfig in Linux and change the IP and VIP does it require root privileges? Or it is also possible to do this via a non-root account?
user76678
  • 349
  • 3
  • 5
  • 16
4
votes
4 answers

No outbound internet connection after restarting CentOS 6.3

After restarting a headless CentOS 6.3 machine, it lost outbound internet connectivity, i.e. I can still connect to the server via SSH (ssh root@**.126.18.56), but stuff such as ping google.com gives google.com: unknown host, and yum list…
grssnbchr
  • 157
  • 2
  • 8
1
2
3
13 14