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
68 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
vote
3answers
232 views

Network Configuration

This is my situation: Router A: IP 192.168.1.1 Mask 192.168.1.0/24 - Connected to the internet. Server: - Interface eth0: inet addr:10.1.1.125 Mask:255.255.255.0 (connected to router B) - ...
3
votes
1answer
744 views

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

some nodes in a cluster has higher frame value in ifconfig

I am running a cluster consisting of 22 nodes. (22 nodes under the same 1Gbps switch.) I noticed some nodes in the cluster has higher "frame" value in ifconfig like the following. some nodes (higher ...
1
vote
1answer
478 views

how to stop eth0 bridged connection via eth1 host only connection in a virtual machines?

I have to simulate unplugged network cable for testing issue to all applications we are developing in my company . I have about 6 virtual machines Cent-OS on a virtual box . from a php web page , I ...
1
vote
1answer
732 views

different MTU sizes for bond aliases

I have a bond interface but I want to change the MTU to 1500 only for bond9:22 Is this possible? bond9:22 Link encap:Ethernet HWaddr 00:0E:0C:E4:BE:F9 inet addr:10.7.18.58 ...
0
votes
1answer
38 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 ...
0
votes
1answer
196 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
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 ...
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 ...
0
votes
1answer
883 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
115 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 ...
0
votes
1answer
122 views

Changing IP of the machine at regular intervals

I have a pool of public IP addresses. There are some services in my box which binds to these. What i'm trying to achieve is to automate the IP change process. Best way to do this is to write a script ...
0
votes
1answer
2k views

openvpn: after changing to server mode, client does not create TUN device

I had a previously working configuration with the config files used in a previous question However, I've changed this now to the following configuration using server mode, everything on the logs seem ...
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: ...
1
vote
0answers
24 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 ...
1
vote
0answers
177 views

Peer to peer ipsec tunnel - virtual network interface

I'm trying to create an IPSEC tunnel between two machines (not between two networks). Using ipsec-tools, TUNNEL mode. I think I can cope with all those add and spdadd, but how to create a virtual ...
1
vote
0answers
820 views

How to execute a script only once, immediately after ALL network interfaces are up in OpenSUSE?

I run Opensuse 12.2. I have 3 network interfaces, eth[012] The interfaces are configured in /etc/sysconfig/network/ifcfg-eth[012] I want to execute a script immediately after ALL three interfaces ...
0
votes
0answers
38 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
0answers
21 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
0answers
83 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 ...
0
votes
0answers
456 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 ...
0
votes
0answers
334 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 ...
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?
0
votes
0answers
116 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
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 ...