Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Ifconfig


The unix command ifconfig is a tool used to configure a network interface for TCP/IP. It was originally released as part of the BSD TCP/IP suite - so in effect, it's part of the original internet toolkit.

Common uses for ifconfig are to set an interfaces' IP address and netmask, and to bring an interface up or down. Ifconfig can also be used to tweak several other settings on the interface.

The ifconfig command is thus used in conjunction with other tools to set up and control all kinds of networks, including LAN, WAN, and Internet in general.

The route command is used on Unix-like systems to set up network routes.

Firewalls are not set up with ifconfig; rather, they are implemented separately. On Linux, the tools used are ipchains and iptables.

The ifconfig has been largely superseded on newer Linux systems by the iproute package that includes support for all that ifconfig(8) and route(8) do as well as traffic control (such as bandwidth shaping).

Ifconfig can be used to virtually airwall a machine, that is, disconnect it from a network.

See also

Internet

Read more »

Non User