| • Science | • People | • Locations | • Timeline |
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.
Internet