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

90
votes
4answers
12k views

Should I quit using Ifconfig?

With the servers that mount Infiniband cards, when I use the ifconfig command, I get this warning: Ifconfig uses the ioctl access method to get the full address information, which limits hardware ...
3
votes
1answer
908 views

How to add a broadcast address to loopback with ifconfig on a OS/X?

I am trying to use ifconfig to turn on broadcast on my loopback interface. It currently reads: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 As you can see, no broadcast address! ...
2
votes
2answers
3k views

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 ...
3
votes
6answers
2k views

BASH script that tests for IP

Is there an elegant way to test an IP address in a BASH script? I could do ifconfig and narrow down the IP using sed/awk, but I think there is a simpler solution. My application is basically using ...
0
votes
1answer
3k views

Sub-interface already in use on another host - brand new interface

I created a sub-interface on a RHEL box, eth0:1, and copied the eth0 config and changed all the settings to reflect eth0:1 and the IP address. However, when I issue ifup eth0:1 I receive this error: ...
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
1answer
682 views

How to make a tun interface with ifconfig in OSX? [closed]

If I try to do this I get the following: bash-3.2# ifconfig tun0 10.140.1.40 ifconfig: ioctl (SIOCAIFADDR): Destination address required It sounds like this doesn't happen in Linux (probably this ...