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
2
votes
2 answers

OpenSuse: How to bring up the IPv6 stack after an "ifconfig eth0 down"

here is my config for eth0 /etc/sysconfig/network/ifcfg-eth0 BOOTPROTO='static' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='5.1.0.2/24' IPADDR_V6='5:1:0:1::2/64' MTU='' NAME='82540EM Gigabit Ethernet…
user185670
  • 21
  • 2
2
votes
2 answers

How do I configure Xen's virtualization of interfaces (eth0 to peth0)?

I installed Xen a while ago but had not yet booted up with the hypervisor. Well I did yesterday and all hell broke loose. I completely lost internet connectivity on my server because of Xen. When I start up my server and eth0 is not inside of br0,…
NobleUplift
  • 165
  • 4
  • 17
2
votes
2 answers

Debian: Can't bring eth0 down or up with ifdown or ifup

I can't bring eth0 down or up with ifdown or ifup ifdown: interface eth0 not configured but ifconfig shows me eth0 Link encap:Ethernet HWaddr 00:16:3e:4d:09:5f inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0 It's a…
supernova
  • 233
  • 4
  • 10
2
votes
1 answer

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 frame): eth0 Link encap:Ethernet HWaddr…
hiroyuki
  • 21
  • 1
2
votes
2 answers

Fedora 17 ifconfig eth0 returns an error message, why did linux change eth0 to em1?

I have a fresh install of Fedora 17 installed, 64 bit. Everything works flawlessly, It connects to the internet automatically when I plug in the internet cable. So I'm kind of confused when I issue this command: el@defiant ~ $ ifconfig eth0 And…
Eric Leschinski
  • 4,211
  • 4
  • 21
  • 27
2
votes
2 answers

Different Mac address to virtual interface and primary interface

I am developing a system, where I need virtual interface to have different mac address for my primary and virtual interface lets say my mac for eth0 is 00:11:00:11:00:11 and my virtual interface is eth0:0 by default eth0:0 have mac address…
sanketmlad
  • 183
  • 3
  • 9
2
votes
2 answers

No route to host in different subnet

My new employer has two subnets, x.y.74.* (with default gateway x.y.74.33) and x.y.75.* (with default gateway x.y.75.1). The .75.* subnet is reserved for servers, i.e. machines that offer services to the outside Internet. The .74.* subnet is for…
Philip
  • 185
  • 1
  • 2
  • 12
2
votes
1 answer

Converting iptables command to ipfw

I am trying to convert code I made on ubuntu work with osx. I do not know how to convert the iptables commands to ipfw commands. Any help would be appreciated. Ubuntu Code: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o…
Quintin
  • 35
  • 1
  • 3
2
votes
2 answers

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 fine, however the client doesn't create any tun…
lurscher
  • 172
  • 1
  • 3
  • 17
2
votes
1 answer

Cannot set a static ip in Solaris(OpenIndiana)

I am running this command: ifconfig e1000g0 192.168.0.1 I have done over 50 variations with unplumbing/plumbing, up/down, netmask, and broadcast. Doesn't matter cause ifconfig e1000g0 always shows my ip address as 0.0.0.0. I need to get this set up…
David
  • 113
  • 1
  • 6
2
votes
1 answer

eth0:0 is configured but not listed in ifconfig output

I have the following problem: My server was given two IPs from [b]different[/b] subnets. Now I am trying to configure the system to work properly. I have created [root@server ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Intel Corporation…
Vladislav Rastrusny
  • 2,671
  • 12
  • 42
  • 56
2
votes
2 answers

huge difference in RX bytes vs TX bytes (ifconfig) on Syslog-NG server

we have a syslog-ng server acting as an intermediary logger. the server receives data from all devices on the network (from many different sources, on both UDP & TCP ports), filters them a bit, and forwards the data to a SIEM (splunk). when looking…
olivierg
  • 524
  • 2
  • 8
  • 27
2
votes
1 answer

ifconfig interface down vs unplugging cable

What's the difference between ifconfig eth0 down and physically unplugging eth0 cable? Do they mean the same thing to an application? Edit: I have an application that uses a specific interface let's say eth0 and it crashes if I do ifconfig eth0 down…
umar14
  • 23
  • 1
  • 1
  • 7
1
vote
3 answers

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) - Interface ra0: inet addr:192.168.1.125…
Dario
1
vote
2 answers

Ubuntu SSH connection hangs when I run ifconfig with IPv6 enabled

I've been playing around with IPv6 and setup a DigitalOcean droplet. The only difference between now and before is that I told it to setup IPv6. More often than not, when I run ifconfig the SSH session hangs, then disconnects due to…
Brian
  • 181
  • 1
  • 11