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.

learn more… | top users | synonyms

-2
votes
2answers
30 views

What does the command “ifconfig <interface> 0.0.0.0” do? [closed]

The question is direct, what does the given command do, and what is it used for? ifconfig <interface-name> 0.0.0.0 I know that 0.0.0.0 means all IP addresses on my local machine. Also if I ...
3
votes
0answers
96 views

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 ...
2
votes
1answer
102 views

Track Source IP of dropped packets

I've got a Linux server running CentOS 7, and I've been facing an issue where the RX dropped packet count keeps increasing. I believe it may be caused by a faulty cable/connector in the network; ...
1
vote
0answers
11 views

what the best approach to get the network values on Linux machines [duplicate]

what the major difference between ip addr command to ifconfig -a command? both command are give the same values network IP's ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc ...
0
votes
1answer
36 views

redirect IP on osx

On my Mac OS X (10.6.8) I'd like to make all requests for 111.111.111.111 go to 222.222.222.222 for all ports. To test this, I have a webserver at 222.222.222.222:80 which will respond with a page for ...
0
votes
0answers
78 views

When does “Determining if ip address x.x.x.y is already in use” apply

I've just setup a couple of C-Class IPs on different servers and I noticed after adding the ifcfg-eth0-range0 script and restarting the network interface I always get messages like Determining if ip ...
1
vote
2answers
50 views

Release old IP and redirect user to new IP

I have a device that can be accessed over a local network in order to configure the device. One of the settings is to change the IP address of the local interface. The problem is that when I change ...
0
votes
1answer
49 views

Network Config: Difference between Windows and Debian

We have a so called "LAB"-Network(VLAN). The Switch and Firewall are configured to allow access from the ip 10.150.151.1 (Windows Client in LAB) and 10.150.151.10(Debian Client in LAB) to a mail ...
1
vote
1answer
92 views

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

e1000g1 not running how to check if hardware is ok

system : Solaris 10 T2000 When I use the ifconfig -a I see the e1000g1 is UP but there is no RUNNING state. With dladm show-dev I get down. When I replace the cable from e1000g1 to e1000g3 (not ...
0
votes
0answers
183 views

VIP (using corosync + pacemaker) not accepting traffic until ifdown / ifup is called

I'm running Corosync + Pacemaker on Ubuntu 14.4. I set up two nodes with two VIPs, and when I bring pacemaker down in one node, the VIPs do go to the other, but no traffic actually goes through the ...
2
votes
2answers
226 views

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

Alternative ways to track dropped packets and report output

Instead of tailing /var/log/messages or doing a continuous ping is there a way with ifconfig or ethtool to track dropped packets, collisions, or tx/rx errors in real time?
2
votes
1answer
87 views

Difference between ip link eth down and ip link dev eth down

What's the difference between ip link set eth0 down and ip link set dev eth0 down ? The difference between the commands does not appear to be documented anywhere.
0
votes
0answers
72 views

How to terminate any ip/ip tunnel which has this host as destination

I am in a situation where I want to terminate any tunnels at one device. I.e. I want to be able to create a tunnel to this device from any source ip adress. Something which can inspect a packet, see ...
0
votes
2answers
89 views

Is it possible to configure carp using /etc/network/interfaces?

Lots of tutorials out there show to set-up carp using ifconfig: https://www.netbsd.org/docs/guide/en/chap-carp.html I'm wondering if it's possible to do the same using /etc/network/interfaces? For ...
0
votes
1answer
81 views

Add bound IPs to /etc/network/interfaces, without network downtime

Setup is Ubuntu 14.04.1 LTS or Debian 7. I can assign bound IPs to network interfaces without network downtime with ifconfig, but it doesn't persist across restarts (unless you use rc.local, which ...
1
vote
0answers
68 views

Granting user enough privileges to run ifconfig on IllumOS (OmniOS)

I sense this should be a very simple question, but somehow I cannot find a solution. I have a non-root user and I would like to grant this user enough permissions or privileges, so he can run ...
3
votes
2answers
147 views

How to set the order of ipv6?

an output on my server shows IPv6 in the following order: inet6 addr: 2xxx:xxx:aaac:3e::10/48 Scope:Global inet6 addr: 2xxx:xxx:aaac:3e::1/48 Scope:Global inet6 addr: 2xxx:xxx:aaac:3e::2/48 ...
0
votes
1answer
22 views

How to fix non-working ethernet under Linux, with RX permanently increasing?

I have a system with the latest Linux Mint. An ethernet cable which yields internet with no special action from me under Windows 8.1 is detected under Linux, but does not seem to work. Running ...
28
votes
4answers
2k views

Where is the statement of deprecation of ifconfig (on linux)?

A lot of people is stating that the ifconfig command is deprecated in favor of the ipone (on linux at least). This is often used as an argumentation to switch from ifconfig to ip (see some comment ...
1
vote
1answer
1k views

Debian up in /etc/network/interfaces not working

I'm trying to add a secondary IPv6 address to eth0 on Debian Sid. I added the following lines to /etc/network/interfaces: iface eth0 inet6 static address [IPv6 address #1] netmask 64 gateway ...
0
votes
1answer
199 views

OpenVPN cannot connect to local machine that has two NIC cards

This is my first time EVER posting to these forums. Most of the time when I have an issue I can usually solve them by searching forums/Google. But this one issue has me stumped! My company just ...
-3
votes
1answer
3k views

“ifconfig” command not found and networking tools package information needed [closed]

I have 2 questions : 1) "ifconfig" command is not found in centos 7, i tried to find in /sbin, there also command is not available. Doesn't this essential tool not included in minimal installation ( ...
0
votes
1answer
79 views

ifconfig TX/RX on gateway

I have a linux gateway which does nat for a couple of machines behind it. I got complains that we have way more monthly traffic gigs more than we should so the first thing I look was check the ...
2
votes
2answers
660 views

ip link set not assigning IP Address but ifup does

Since ip is set to replace ifconfig, I'm trying to get myself used to using the ip suite of commands. I'm trying to enable my NIC with ip link set eth3 up That doesn't assign an IPv4 address ...
0
votes
1answer
657 views

ifconfig maximum value of RX/TX bytes

I have a server with over a year uptime which shows 9 TIB outgoing traffic. I was wondering how accurate this number really is? It's running linux 2.6.32 kernel. What I would also like to know that ...
0
votes
1answer
113 views

i2b2 VM: Copy VM won't give me a valid IP address

After downloading a VM image and making a copy of it, I tried booting up both of them on the same Windows workstation using VMWare Player. I am unable to get an IP address for the second one in my ...
0
votes
2answers
1k views

How to give my KVM guests network connectivity? [closed]

I'm completely new to KVM and the whole idea of virtualisation, but have been reading about it for a couple of days and playing with it for the last few hours. Creating, installing, cloning etc... ...
0
votes
0answers
173 views

Debian on VM has web access but can't be pinged

I have just installed Debian on a Virtual Machine. I have internet access on the VM and installed SSH. I then did a ifconfig and discovered that the IP address is 10.0.2.15 which is strange as the ...
1
vote
1answer
1k views

How to make my linux vm attach to an openvswitch bridge?

I am following this tutorial: http://networkstatic.net/wp-content/uploads/2012/04/openvswitch.openflow.gre_.tutorial1.pdf In brief: br0 is connected to the actual net, br1 is an isolated bridge to ...
2
votes
1answer
296 views

Find number of TCP bytes transmitted

I have rhel4 and rhel6 hosts. I can use netstat -s to see information on the number of segments sent/received. I can use ifconfig to see the number of bytes sent/received on a given interface (for ...
0
votes
2answers
151 views

Assign private IP via DHCP + public IP

I would like my Ubuntu VM to have both a private IP and a public IP. The private IP should be supplied by my DHCP server. Currently I am trying this: auto lo iface lo inet loopback # The primary ...
1
vote
1answer
2k views

How do I add a broadcast IP to the loopback interface under os/x using ifconfig when my machine has no network? [duplicate]

I'm new to advanced network administration and I would like to do some testing with UDP broadcasting, so I need a broadcast address on my loopback interface. The machine is offline, in other words, ...
0
votes
1answer
111 views

Configure IP addresses for virtual interfaces only

In my current CentOS ifconfig, I have eth0 and the range of virtual interfaces eth0:0 - eth0:3 each taking up a unique address in the subnet 69.xx.yy.194/29 (gateway = .193, broadcast = .199) Now I ...
1
vote
1answer
954 views

Kickstart: ifcfg-eth0 file genorated by kickstart when install from network but from initrd when install form USB

When I install Fedora 19 with a kickstart file and via network, the generated ifcfg-eth0 file is genorated by the kickstart: # Generated by parse-kickstart However if I use the same kickstart file ...
1
vote
1answer
978 views

how to configure static ipv6 and additional ipv6 with same vlan?

I'm having trouble with configuration static ipv6 address and additonal ipv6 on same interface(eth4). static ipv6 configuraiton issue firstly, I configure below vi /etc/network/interfaces auto ...
0
votes
0answers
87 views

How to detect on Linux that given MAC (HWaddr) is a virtual MAC and will change after rebooting?

Is it possible on Linux to detect automatically that given MAC (HWaddr in ifconfig output) is a virtual MAC and will change after rebooting. or alternatively is there a way to detect virtual network ...
0
votes
1answer
119 views

DNS resolution lost when starting sub-interface

I am starting a sub-interface off of my existing eth0, and its supposed to be an instant thing, so I'm trying to avoid using a config file. When I issue: ifconfig eth0:1 192.168.0.2 up The ...
0
votes
2answers
5k views

Sub-interface already in use on another host - brand new interface

I created a sub-interface on a RHEL box, eth0:1, and copied the eth0 config and changed all the settings to reflect eth0:1 and the IP address. However, when I issue ifup eth0:1 I receive this error: ...
26
votes
3answers
14k views

How to get TX/RX bytes without ifconfig?

Since ifconfig is apparently being deprecated in major Linux distributions, I thought I'd learn something about the ip tool that's supposed to be used instead of ifconfig. And here I ran into a ...
2
votes
2answers
386 views

OpenSuse: How to bring up the IPv6 stack after an “ifconfig eth0 down”

here is my config for eth0 /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='5.1.0.2/24' IPADDR_V6='5:1:0:1::2/64' MTU='' NAME='82540EM Gigabit Ethernet ...
7
votes
2answers
14k views

ifconfig eth0 RX dropped packets

The problem The ifconfig command shows more and more dropped packets in the RX section. So, there seem to be a problem to some packets arriving from the Internet to my server. The questions What ...
0
votes
1answer
673 views

Issue with ifconfig in a shell script (using cron)

If I execute this script manually in Debian: #!/bin/bash /sbin/ifconfig wlan0 down /sbin/ifconfig wlan0 up sudo iwconfig wlan0 essid "WLAN_NETWORK" sudo iwconfig wlan0 key myPassword sudo dhclient ...
2
votes
2answers
3k views

How do I configure Xen's virtualization of interfaces (eth0 to peth0)?

I installed Xen a while ago but had not yet booted up with the hypervisor. Well I did yesterday and all hell broke loose. I completely lost internet connectivity on my server because of Xen. When I ...
0
votes
2answers
3k views

IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready & IPv6: ADDRCONF(NETDEV_UP): xenbr2: link is not ready on Ubuntu Server - Xen bridge

Hi all, I am having some problems getting a Xen bridge up in Ubuntu precise with Xen. I created a first bridge on eth1 with no problems, but the exact same process for eth2 yields the following ...
0
votes
1answer
107 views

Xen dom0 and domu ifconfig returns different stats

I expected that when I use ifconfig command to display network traffic RX and TX values both for dom0 and domu machine, there are differences. I run once ping inside the domu. domu ifconfig command ...
1
vote
1answer
139 views

Virtual interface gets static IP, actual interface doesn't?

I have a server running Debian 6 with two static IP addresses assigned: eth0 and eth0:1 (virtual interface of eth0). On boot, both should get their assigned IPs...but eth0 does not. ...
-1
votes
1answer
66 views

Process that consumes more bandwidth [closed]

When I do an ifconfig I see that my interfaces eth0 RX is about some Gigabytes, even I did not run any video or audio over the network nor do some peer to peer staff, please all I need is to identify ...
4
votes
2answers
1k views

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 ...