<http://schema.org/articleBody>
"&amp;lt;h3&amp;gt;Name&amp;lt;/h3&amp;gt;&amp;lt;p&amp;gt;ifconfig - configure a network interface&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Examples&amp;lt;/p&amp;gt;&amp;lt;h3&amp;gt;Synopsis&amp;lt;/h3&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;ifconfig [interface]&amp;lt;/strong&amp;gt;\u00A0&amp;lt;br/&amp;gt;&amp;lt;strong&amp;gt;ifconfig interface [aftype] options | address ...&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;h3&amp;gt;Description&amp;lt;/h3&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Ifconfig&amp;lt;/strong&amp;gt;\u00A0is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;If no arguments are given,\u00A0&amp;lt;strong&amp;gt;ifconfig&amp;lt;/strong&amp;gt;\u00A0displays the status of the currently active &amp;lt;a href=&amp;quot;https://www.lifewire.com/linux-gui-vs-command-line-2200166&amp;quot; data-component=&amp;quot;link&amp;quot; data-source=&amp;quot;inlineLink&amp;quot; data-type=&amp;quot;internalLink&amp;quot; data-ordinal=&amp;quot;1&amp;quot;&amp;gt;interfaces&amp;lt;/a&amp;gt;. If a single\u00A0&amp;lt;strong&amp;gt;interface&amp;lt;/strong&amp;gt;\u00A0argument is given, it displays the status of the given interface only; if a single\u00A0 &amp;lt;strong&amp;gt;-a\u00A0&amp;lt;/strong&amp;gt;argument is given, it displays the status of all interfaces, even those that are down. Otherwise, it configures an interface.&amp;lt;/p&amp;gt;&amp;lt;h3&amp;gt;Address Families&amp;lt;/h3&amp;gt;&amp;lt;p&amp;gt;If the first argument after the interface name is recognized as the name of a supported address family, that address family is used for decoding and displaying all protocol addresses. Currently supported address families include\u00A0&amp;lt;strong&amp;gt;inet&amp;lt;/strong&amp;gt;\u00A0(TCP/IP, default),\u00A0&amp;lt;strong&amp;gt;inet6&amp;lt;/strong&amp;gt;\u00A0(IPv6),\u00A0&amp;lt;strong&amp;gt;ax25&amp;lt;/strong&amp;gt;\u00A0(AMPR Packet Radio),\u00A0&amp;lt;strong&amp;gt;ddp&amp;lt;/strong&amp;gt;\u00A0(Appletalk Phase 2),\u00A0&amp;lt;strong&amp;gt;ipx&amp;lt;/strong&amp;gt;\u00A0(Novell IPX) and\u00A0&amp;lt;strong&amp;gt;netrom&amp;lt;/strong&amp;gt;\u00A0(AMPR Packet radio).&amp;lt;/p&amp;gt;&amp;lt;h3&amp;gt;Options&amp;lt;/h3&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;interface&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;The name of the interface. This is usually a driver name followed by a unit number, for example\u00A0&amp;lt;strong&amp;gt;eth0&amp;lt;/strong&amp;gt;\u00A0for the first &amp;lt;a href=&amp;quot;https://www.lifewire.com/what-is-ethernet-3426740&amp;quot; data-component=&amp;quot;link&amp;quot; data-source=&amp;quot;inlineLink&amp;quot; data-type=&amp;quot;internalLink&amp;quot; data-ordinal=&amp;quot;2&amp;quot;&amp;gt;Ethernet&amp;lt;/a&amp;gt; interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;up&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;down&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This flag causes the driver for this interface to be shut down.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;[-]arp&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Enable or disable the use of the &amp;lt;a href=&amp;quot;https://www.lifewire.com/address-resolution-protocol-817941&amp;quot; data-component=&amp;quot;link&amp;quot; data-source=&amp;quot;inlineLink&amp;quot; data-type=&amp;quot;internalLink&amp;quot; data-ordinal=&amp;quot;3&amp;quot;&amp;gt;ARP protocol&amp;lt;/a&amp;gt; on this interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;[-]promisc&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Enable or disable the\u00A0&amp;lt;strong&amp;gt;promiscuous&amp;lt;/strong&amp;gt;\u00A0mode of the interface. If selected, all packets on the network will be received by the interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;[-]allmulti&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Enable or disable\u00A0&amp;lt;strong&amp;gt;all-multicast&amp;lt;/strong&amp;gt;\u00A0mode. If selected, all multicast packets on the network will be received by the interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;metric N&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This parameter sets the interface metric.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;mtu N&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This parameter sets the Maximum Transfer Unit (MTU) of an interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;dstaddr addr&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the remote IP address for a point-to-point link (such as PPP). This keyword is now obsolete; use the\u00A0&amp;lt;strong&amp;gt;pointopoint&amp;lt;/strong&amp;gt;\u00A0keyword instead.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;netmask addr&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the IP network mask for this interface. This value defaults to the usual class A, B or C network mask (as derived from the interface IP address), but it can be set to any value.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;add addr/prefixlen&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Add an IPv6 address to an interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;del addr/prefixlen&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Remove an IPv6 address from an interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;tunnel aa.bb.cc.dd&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Create a new SIT (IPv6-in-IPv4) device, tunnelling to the given destination.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;irq addr&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the interrupt line used by this device. Not all devices can dynamically change their IRQ setting.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;io_addr addr&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the start address in I/O space for this device.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;mem_start addr&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the start address for shared memory used by this device. Only a few devices need this.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;media type&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the physical port or medium type to be used by the device. Not all devices can change this setting, and those that can vary in what values they support. Typical values for\u00A0&amp;lt;strong&amp;gt;type\u00A0&amp;lt;/strong&amp;gt;are\u00A0&amp;lt;strong&amp;gt;10base2&amp;lt;/strong&amp;gt;\u00A0(thin Ethernet),\u00A0&amp;lt;strong&amp;gt;10baseT&amp;lt;/strong&amp;gt;\u00A0(twisted-pair 10Mbps Ethernet),\u00A0&amp;lt;strong&amp;gt;AUI\u00A0&amp;lt;/strong&amp;gt;(external transceiver) and so on. The special medium type of\u00A0&amp;lt;strong&amp;gt;auto&amp;lt;/strong&amp;gt;\u00A0can be used to tell the driver to auto-sense the media. Again, not all drivers can do this.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;[-]broadcast [addr]&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;If the address argument is given, set the protocol broadcast address for this interface. Otherwise, set (or clear) the\u00A0\u00A0&amp;lt;strong&amp;gt;IFF_BROADCAST&amp;lt;/strong&amp;gt;\u00A0flag for the interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;[-]pointopoint [addr]&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;This keyword enables the\u00A0&amp;lt;strong&amp;gt;point-to-point&amp;lt;/strong&amp;gt;\u00A0mode of an interface, meaning that it is a direct link between two machines with nobody else listening on it.\u00A0&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;If the address argument is also given, set the protocol address of the other side of the link, just like the obsolete\u00A0&amp;lt;strong&amp;gt;dstaddr&amp;lt;/strong&amp;gt;\u00A0keyword does. Otherwise, set or clear the\u00A0&amp;lt;strong&amp;gt;IFF_POINTOPOINT&amp;lt;/strong&amp;gt;\u00A0flag for the interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;hw class address&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the hardware address of this interface, if the device driver supports this operation. The keyword must be followed by the name of the hardware class and the printable ASCII equivalent of the hardware address. Hardware classes currently supported include\u00A0&amp;lt;strong&amp;gt;ether\u00A0&amp;lt;/strong&amp;gt;(Ethernet),\u00A0&amp;lt;strong&amp;gt;ax25&amp;lt;/strong&amp;gt;\u00A0(AMPR AX.25),\u00A0&amp;lt;strong&amp;gt;ARCnet&amp;lt;/strong&amp;gt;\u00A0and\u00A0&amp;lt;strong&amp;gt;netrom&amp;lt;/strong&amp;gt;\u00A0(AMPR NET/ROM).&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;multicast&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the multicast flag on the interface. This should not normally be needed as the drivers set the flag correctly themselves.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;address&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;The IP address to be assigned to this interface.&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;txqueuelen length&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Set the length of the transmit queue of the device. It is useful to set this to small values for slower devices with a high latency (modem links, ISDN) to prevent fast bulk transfers from disturbing interactive traffic like telnet too much.&amp;lt;/p&amp;gt;"^^<http://www.w3.org/2001/XMLSchema#string>
<https://www.lifewire.com/linux-command-ifconfig-4091934>