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
0
votes
1 answer

Can't ping 253.100.156.93 from Linux

At a remote location, there is a chinese ethernet enabled POS printer. It somehow garbled it's configuration, and its self-test now says that its IP address is 253.100.156.93, (which is inside a IANA reserved block) No biggie, I thought - I will…
0
votes
0 answers

ifconfig displays public IP address

I've logged via ssh to remote host. When I type ifconfig output contains: ens160: flags=4163 mtu 1500 inet 106.120.101.39 netmask 255.255.255.128 broadcast 106.120.101.127 IP address 106.120.101.39 does…
k13i
  • 113
  • 1
  • 4
0
votes
1 answer

linux fine tuning after setting the MTU to jumbo frame

We want to set the MTU to 9000 bytes on our Linux machines (distribution is Redhat 7) In this case, how would I tune the memory page size according to MTU size of 9000 bytes? Also, what are the risks associated with setting the MTU to 9000 Bytes?…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

ifconfig up does not execute from cron

I'm attempting to combine Scott Lowe's guide to creating a namespace with this answer on forwarding traffic between two interfaces. I have this script that runs on each reboot using the cron @reboot directive: (I am using the script because none of…
Brandon Lebedev
  • 237
  • 1
  • 2
  • 11
0
votes
2 answers

How to access guest virtual with CentOS using additional ip?

I have a dedicated server in Hetzner. In which I have installed CentOS 7.4, inside it I have KVM with another CentOS 7.4. I have requested an additional ip from Hetzner that has a Mac separated for virtualization purposes. I would like the guest to…
xav
  • 153
  • 2
  • 5
0
votes
2 answers

Can only bring up one interface at a time

I took a look at the most relevant question, and am a step further but am not sure where to go from here. I am currently trying to connect two ethernet interfaces but am having trouble establishing a connection to both interfaces at the same time.…
Max
  • 237
  • 2
  • 4
  • 8
0
votes
0 answers

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 interfaces in /etc/config/network specified: Also, I…
Green
  • 177
  • 1
  • 2
  • 7
0
votes
4 answers

Running a bash script as root on boot

i have a script that calculate an ip address (using gateway address) than change, the script work when i launch it manually with sudo sudo ./changework.sh i want this script to run during bootup time i sudo cp changework.sh…
0
votes
0 answers

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 responds to the IP address 10.1.1.49 as…
Bman
  • 1
  • 1
0
votes
2 answers

Accidentally changed ip on external NIC and can't get back into server. How can i reconnect

I was SSH'd into a server today and I changed the ip of my externally facing NIC and now I can't SSH back to the server. I ran the following command: ifconfig eno1 netmask 255.255.255.0 When I meant to run it for eno2. I'm still connected to…
Joe W
  • 205
  • 1
  • 3
  • 11
0
votes
1 answer

openvpn - Why do I have 2 tun interfaces on my server?

I have just configured watching this Hak5 video I found on Youtube. But what is bothering me is that why do I have two tun interfaces on my server ? Namely-: tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 …
ng.newbie
  • 103
  • 1
  • 4
0
votes
1 answer

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 switch is not managed, so I'm looking at tcpdump and…
Bob
  • 93
  • 1
  • 1
  • 8
0
votes
1 answer

Adding permanent routes and IP, MASK to second interface

I'm using following commands to add to my second interface different settings: ifconfig eth4 xxx.xxx.xxx.xxx ifconfig eth4 netmask 255.255.255.240 ifconfig eth4 broadcast xxx.xxx.xxx.xxx // note: xxx.xxx.xxx.xxx are just a example. // I'm…
Jason Paddle
  • 115
  • 3
0
votes
1 answer

Ubuntu 12.04 server cannot access anything outside

My Ubuntu 12.04 server was working fine a few days ago. But today I couldn't access anything outside. And i cannot ssh to my server neither. I am directly plugged into the console through my vps provider. I can ping myself, but not resolve any…
0
votes
1 answer

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 mtu 9000 inet 12.196.92.19 netmask 255.255.255.0 broadcast…
yael
  • 43
  • 1
  • 3
  • 9