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
4answers
57 views

How do I find out linux gateway IP address?

I have CentOS 6.7 with two Internet connections eth0 - dynamic IP address and dynamic gateway via DHCP (controlled by NetworkManager) ppp0 - dynamic IP address and dynamic gateway (configured with ...
-1
votes
1answer
16 views

Allow run /sbin/ifconfig to user

So, I want to allow some user to execute ifconfig. I'd created a special group "if" and done user to own this group. And now I'm going to do "chown root:if ifconfig". But I think: What wrong thing ...
1
vote
0answers
21 views

ifconfig output different for non-root user

we use a montoring system to capture network traffic. the output as root user is fine: eth0 Link encap:Ethernet HWaddr 00:1E:67:E6:D6:FE inet addr:149.56.19.13 Bcast:149.56.19.255 ...
-3
votes
1answer
54 views

Ubuntu Server IP address not listed in ifconfig

I am not sure why the command "ifconfig" did not show my IP address, but I was still able to reach other hosts in the same network. It happens too many times to me and I did try to search but no luck ...
1
vote
2answers
43 views

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

Linux + why dropping issue displayed from ifconfig but not from ethtool?

we have Linux VM red hat 7.2 version with two LAN interfaces the Linux machines are ruining on ESXi - 5.5.0 and we have very strange issue , the conflict is between the ifconfig command to ethtool ...
0
votes
2answers
89 views

Redhat 7.1 - increase NIC ring buffer

My target is to increase the ring buffer ( I have Linux red-hat 7.1 ) , but I get the following: ethtool -G eth1 rx 8192 Cannot set device ring parameters: Invalid argument so how to enable this ...
0
votes
1answer
36 views

linux + dropped value from ifconfig

please advice what could be the root cause for dropped problem as the following: ( dropped 2201101 ) on Linux red-hat 7.1 eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 inet ...
1
vote
1answer
55 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
25 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
147 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 ...
2
votes
2answers
57 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
20 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
86 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
82 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
76 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
80 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
93 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
174 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
336 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
211 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
194 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
444 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
69 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
58 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
191 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
331 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
635 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
119 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
240 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
115 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
166 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
133 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
105 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
185 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
4k 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
3k 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
277 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 ...
-2
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
101 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
881 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
140 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
3k 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
245 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
2k 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
418 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
176 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 ...