ifconfig is deprecated, and has been so for quite a number of years.The new kid in town is the ip command, which can configure IP's, routes, and everything associated with networks.
The ifconfig utility is used to assign an address and/or configure parameters for a network interface. This utility must be run at boot time to define the network address of each interface present on a machine; it may also be run later on to redefine an interface's address or to configure other interface parameters. Ifconfig Command in Linux - LinOxide Display All network interface information. If you run ifconfig command without any options it will … Ubuntu Manpage: ifconfig - configure a network interface
–ifconfig parameters which are IP addresses can also be specified as a DNS or /etc/hosts file resolvable name. For TAP devices, –ifconfig should not be used if the TAP interface will be getting an IP address lease from a DHCP server.
Oct 22, 2009 · ifconfig ${Interface} mtu ${SIZE} up ifconfig eth1 mtu 9000 up ifconfig ${Interface} mtu ${SIZE} up ifconfig eth1 mtu 9000 up Note this will only work if supported by both the network nterface card and the network components such as switch. ifconfig interface [address [parameters]] interface is the interface name, and address is the IP address to be assigned to the interface. This may be either an IP address in dotted quad notation or a name that ifconfig will look up in /etc/hosts. If ifconfig is invoked
If IPV6INIT=yes, the following parameters could also be set in this file: IPV6ADDR=IPv6 address; IPV6_DEFAULTGW=The default route through the specified gateway; no: Disable IPv6 on this interface. IPV4_FAILURE_FATAL|IPV6_FAILURE_FATAL=answer: Where answer is one of the following: yes: This interface is disabled if IPv4 or IPv6 configuration fails.
ifconfig is a system administration utility in Unix-like operating systems for network interface configuration.. The utility is a command-line interface tool and is also used in the system startup scripts of many operating systems. It has features for configuring, controlling, and querying TCP/IP network interface parameters. Ifconfig originally appeared in 4.2BSD as part of the BSD TCP/IP suite.