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.
46
questions with no upvoted or accepted answers
3
votes
0
answers
173
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 ...
2
votes
0
answers
189
views
Network interface statistics: tx_dropped value always 0
I am writing a program that collects and displays network interface metrics located in the /sys/class/net/ folder.
When I was reading about the meaning of rx_dropped value, I came to the conclusion ...
2
votes
0
answers
215
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: <...
2
votes
1
answer
811
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
1
answer
218
views
Route Table Multiple Subnet Entries?
So just as a bit of context, this is for a VM running that does call processing. So I was looking at the route table on the VM, and noticed that it has this:
12.12.12.64/28 dev bond15 proto kernel ...
1
vote
1
answer
4k
views
iptables - bridge / routing between two independent LANs (and router)
I can't find a solution in a network like in the drawing below.
I need to be able to open admin page of router 2 on LAN2 from a pc in
a LAN1, w/o routing throught Internet.
I have a "bridge" PC with ...
1
vote
0
answers
797
views
Meaning of rx_fcs_errors
On my server I do see RX frame errors in ifconfig:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether d0:50:99:30:f6:81 txqueuelen 1000 (Ethernet)
RX packets ...
1
vote
0
answers
657
views
Linux virtual network - no internet connection
I created virtual network, however I can't connect to the internet with it.
sudo ip link add name br0 type veth peer name br1
sudo ip link set br0 up
I am checking it with:
curl --interface br0 ...
1
vote
1
answer
1k
views
Only route WLAN over VPN
I am trying to set up my RP3 in such a way that WiFi connections are routed over an L2TP VPN. I've got the VPN working and with the following settings all traffic is routed over the VPN connection (...
1
vote
0
answers
51
views
Is it possible to create a second network device with a specific name?
Due to a licence server requirement I need to have an eth0 or eth1 named network device. However, my current configuration only has a network device named enp8s0. I am using a CentOS 7 linux system.
...
1
vote
0
answers
942
views
Safely restart network via ssh to set static ip
In my /etc/network/interfaces.d/eth0 I have set:
auto eth0
iface eth0 inet static
address 10.0.0.25
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 8.8.8.8 8.8.4.4
Which shall ...
1
vote
0
answers
7k
views
Failed to bring up eth0; can't establish any network connections
So for 1,5 years now I was running a DigitalOcean droplet without any problems. did apt-get upgrade several times, changed some things - all fine!
Last night suddenly all my alarms went off and my ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
674
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
0
answers
326
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
0
answers
1k
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 ...
1
vote
3
answers
321
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)
- ...
0
votes
0
answers
29
views
Unable to brKali Linux 2023.3 RTNETLINK answers: No such device
As stated in title, I'm unable to bring any Ralink up. WLAN0 is in Dormant while WLAN1 is in Default. Yet nether will come up. How does one bring it from dormant to default?
# lsusb
Bus 001 Device ...
0
votes
0
answers
126
views
Can't create a pseudo network interface on Debian 11
I have a KVM based Debian 11 (bullseye) VPS with internet access on eth0 network adapter. The public IP has been assigned by DHCP. The IPs and Routes are as what follows:
ifconfig and iptable BEFORE ...
0
votes
1
answer
1k
views
List "hardware" Network Interfaces Controllers
When using ifconfig or ip link show commands, it lists not only hardware interfaces, but also software interfaces - I would expect only the physically interfaces?
Note: I am running on MacOS.
ip link ...
0
votes
0
answers
448
views
Adding IPv6 interface into ifconfig worked but host unreachable when use it
I have VPS run on Ubuntu 20.04, I was asking to Customer Service of my VPS Provider, she said their service (VPS) currently is not supporting IPv6. Since she is not technical support, I believe my VPS ...
0
votes
2
answers
158
views
Why is the mac address that appears on my computer the same?
I use the 2 ethernet interface on the my system board, eth0 / eth1(usb to ethernet) like the followings.
root@E3-RDP:~# ifconfig
eth0 Link encap:Ethernet HWaddr ae:a1:99:48:86:79
inet addr:10.10.0....
0
votes
1
answer
502
views
Ubuntu secondary IP drops out after a few hours
I'm running Ubuntu 18.10 on a VPS.
Ever since upgrading (I'm pretty sure) from 16.04, my secondary IP address just stops receiving traffic after it's been up for a few hours.
I'll have two pings ...
0
votes
1
answer
651
views
Ubuntu: Multiple interfaces, one lan only
I have 2 interfaces:
wlan0: Connected to normal network with DHCP (has internet)
eth0: Connected to LAN only. Used for PXE boot and NFS
The network-manager service is not installed on this machine.
...
0
votes
0
answers
2k
views
Debian ignores static IP assignment
My etc/network/interfaces file originally only included info regarding lo:
# The loopback network interface
auto lo
iface lo inet loopback
ifconfig shows me that eth0 is getting an IP from DHCP.
...
0
votes
0
answers
734
views
Routing traffic between two subnets
I am connecting some number of embedded linux devices to a main LAN using a DHCP server and routing tables. On the main LAN (192.168.1.0/24) I have a PC connected and the first embedded linux device. ...
0
votes
0
answers
744
views
Ubuntu 16.04 VPS dropping massive amount of RX Packets
Having networking issues with a Ubuntu 16.04 VPS, causing extremely slow speeds (we're talking about 100kbps). Running ifconfig is showing over a million dropped RX packets from eth0 (no errors) and I ...
0
votes
0
answers
1k
views
Why can't I ping 127.0.0.1 from some network interfaces?
I'm on OS Sierra.
This is (part of) what I get on ifconfig
...
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 98:01:a7:b4:91:63
inet6 fe80::4e:52ae:9fa8:...
0
votes
1
answer
397
views
Can I change names of network interfaces arbitrary?
I have installed OpenWRT on VirtualBox.
There are four interfaces:
br-lan
eth0
eth1
lo
Why do they call that way? Are they variables? Can I name them arbitrary?
foo-bar
xyz0
xyz1
bo
Like so:
...
0
votes
0
answers
259
views
ifconfig displays public IP address
I've logged via ssh to remote host. When I type ifconfig output contains:
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 106.120.101.39 netmask 255.255.255.128 ...
0
votes
0
answers
2k
views
OpenWRT always shows only one network interface (`lo`), although there are many in a config
I’m running OpenWRT in VMWare Workstation 12 Player on Windows 10 64bit.
When I run ifconfig in my OpenWRT, I always get only one network interface, lo. Never more:
Although there are several ...
0
votes
0
answers
135
views
Server responds to an IP address which is not assigned
I have a rather out-of-date debian server, which has only one assigned IP address - 10.1.1.2 - this address is assigned manually in /etc/network/interfaces
However, I just discovered that the server ...
0
votes
1
answer
1k
views
Linux ifconfig shows excessive RX packets and bytes
I'm trying to track down some network issues and I could use some pointers. It seems to me that there's a lot of traffic, much of which is apparently generated by retransmissions. Unfortunately my ...
0
votes
1
answer
673
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
0
answers
778
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
1
answer
1k
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
0
answers
2k
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
0
answers
365
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
0
answers
311
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
1
answer
40
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
1
answer
618
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
0
answers
1k
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 ...
0
votes
1
answer
170
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
1
answer
205
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 ...
-1
votes
1
answer
1k
views
Ubuntu 18.04 keeps creating virtual interface ens160:0, how to prevent?
I am running a Pi-hole server on Ubuntu 18.04 that for some reason keeps making a virtual interface ens160:0
user@pihole2:/etc$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
-1
votes
1
answer
2k
views
Netmask for point to point ip address?
In a point to point tunnel, I was able to have the same IP twice. It looks like a bug, I think that might be related to some internal representation of the netmask. It can be reproduced with the steps ...