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.

ifconfig (short for interface configuration) 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. Ifconfig originally appeared in 4.2BSD as part of the BSD TCP/IP suite.

Source: Wikipedia.

206 questions
1
vote
3 answers

configuring network interfaces on redhat linux

I'm trying to configure the ip address, broadcast and subnet mask of a series of interfaces. However, I'd like to configure the IP Address independent of the broadcast address and vice versa. In other words, when I use the command ifconfig eth5…
synchronicity
  • 85
  • 1
  • 2
  • 7
1
vote
1 answer

Debian 10 backward compatibility with eth0

Noticed when upgrading to Debian 10 (Buster) that the public eth0 network interface is now called ens5 on AWS EC2. Is there a way to create a symbolic link or similar so that legacy applications that have eth0 hardcoded can continue to reference…
Justin
  • 5,328
  • 19
  • 64
  • 84
1
vote
1 answer

commands to make ethernet interfaces up down using ip command

I was using following commands to up the devices # ifconfig p1p1:1 10.250.0.0 netmask 255.255.0.0 up # ifconfig p1p1:2 10.251.0.0 netmask 255.255.0.0 up # ifconfig p1p1:3 10.252.0.0 netmask 255.255.0.0 up I don't have ifconfig installed currently…
Cheppy
  • 23
  • 1
  • 6
1
vote
1 answer

How can I get ubuntu network interface stats in the terabyte range?

When I query my server's network interface stats using either ifconfig or ip -s they're limited to 999GB and then roll over to 0GB, starting again. Is it possible to change the configuration somehow to allow stats logging in the terabyte range? Or…
Ben
  • 123
  • 6
1
vote
1 answer

NetworkManager adding extra default gateway

Using NetworkManager, I am trying to setup multiple interfaces on different VLANs; the primary interface, em1, is used on a development VLAN; the secondary interface is on a dedicated iSCSI VLAN. I am using kernel arguments to launch the host from…
Matt Clark
  • 685
  • 1
  • 10
  • 26
1
vote
1 answer

Dante SOCKS server with two external interfaces (e.g. Wired Ethernet and Wi-Fi)

I want Dante to transparently choose between either of the two interfaces enp4s0 (Wired Ethernet) and wlp3s0 (Wi-Fi) regardless of their status (up or down). That is when wired, it should choose enp4s0 indeed, when wlp3s0 is added, it should…
1
vote
1 answer

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 scope link src 12.12.12.12 12.12.12.64/28 dev…
0
votes
1 answer

Same IP twice in the same interface

I'm trying to find a bug in a program and I was wondering if it is possible to have the same IP twice in a network interface. For example, have network interface eth1 with ip 192.168.56.174 twice. I haven't been able to find any information on the…
jesusjimsa
  • 103
  • 2
0
votes
1 answer

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 running, to my primary IP and my secondary IP, and the…
jorisw
  • 103
  • 4
0
votes
1 answer

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. If I leave /etc/network/interfaces totally blank,…
0
votes
0 answers

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. Here's what I want to do instead: create a bridge…
E C
  • 99
  • 3
  • 9
0
votes
0 answers

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. The embedded linux device has two ethernet ports…
0
votes
0 answers

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 can't seem to track it down. Here's my ifconfig…
0
votes
0 answers

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 mtu 1500 ether 98:01:a7:b4:91:63 inet6 fe80::4e:52ae:9fa8:2e6c%en0 prefixlen 64 secured scopeid 0x5 inet…
0
votes
1 answer

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: config interface 'wan' option proto 'dhcp' …
Green
  • 177
  • 1
  • 2
  • 7