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

0
votes
1answer
36 views

What initiates parsing of the /etc/sysconfig/network-scripts/ifcfg-* interface scripts?

I have been searching for a while and looking at source code and various scripts on the Linux filesystem and still have been unable to figure out what ultimately initiates the reading of the scripts ...
2
votes
0answers
24 views

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: ...
0
votes
1answer
58 views

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 ...
1
vote
2answers
38 views

FreeBSD interface up/down monitoring

How to get informed about specific interface status in FreeBSD? ifconfig <ifname> | grep "status: active" works fine but I want to avoid polling and be informed as fast as possible about ...
0
votes
0answers
11 views

how change scope link on created interface

for example cat /proc/net/if_inet6 | grep fe80 fe8000000000000002e0edfffe21989d 0c 40 20 80 vlan3xxx fe8000000000000002e0edfffe21989d 09 40 20 80 vlan2xxx fe8000000000000002e0edfffe21989d 0a 40 20 80 ...
0
votes
1answer
58 views

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

What is the difference between Errors , Dropped , Overruns , Frame and Carrier in the Ifconfig ?
0
votes
0answers
56 views

My server doesn't respond to ping6

I'm trying to enable ipv6 on my webserver. The server runs FreeBSD 10 and I'd like to enable ipv6 access to my websites. That's the long term goal. The goal here would be at least to have a server ...
1
vote
2answers
55 views

How does ifconfig calculate packet loss?

Does the dropped packets output of ifconfig refer to the number of frames lost on the local subnet (i.e. datalink layer) or the number of lost IP datagrams at the IP layer or is it TCP retransmission ...
0
votes
1answer
71 views

Tracking pppoe interfaces

I have a set of PPP interfaces on my Linux server. But on bouncing(ifdown; ifup) the interfaces which are not working, the PPP interfaces takes the lowest possible interface number. If I have a PPP ...
0
votes
1answer
68 views

binding range of IPs in Centos, not working

I'm trying to bind 8 x /24 subnets in Centos. I set up the usual primary in /etc/sysconfig/network-scripts/ifcg-eth0 for the default /29 assigned to the box. All good, I'm in ssh fine. Now, I'm ...
-2
votes
2answers
117 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 ...
4
votes
1answer
305 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
172 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; ...
0
votes
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
115 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
280 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
64 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
55 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
148 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
85 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
285 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
507 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
104 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?
3
votes
1answer
166 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
106 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
143 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
111 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 ...
2
votes
1answer
101 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
171 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
24 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 ...
30
votes
4answers
3k 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
2k 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
248 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
4k 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
98 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
1k 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
795 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
129 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
2k 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
218 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
388 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
164 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
3k 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
123 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
1k 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
1k 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
95 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
132 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
6k 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: ...