Ifconfig for wireless management tools in Ubuntu

Source: Internet
Author: User

Ifconfig overview of wireless management tools in Ubuntu ifconfig-configure Network interface Usage ifconfig [-v] [-a] [-s] [interface] ifconfig [-v] interface [aftype] options | address... description ifconfig is used to configure the network interface of the resident kernel. It is used to set network interfaces when the boot is successful. After that, it is used only when debugging and system adjustment are required. Ifconfig without parameters displays the status information of the current up network interface. If an interface is specified, the status information of the interface is displayed. If you use the-a option, the status information of all interfaces is displayed, even if the interface is down. In other cases, ifconfig is often used for the configuration interface. If the first parameter following the interface name is the name of the address family that it supports, the address family is used to translate and display all protocol addresses. Currently, the supported address families include inet (TCP/IP, default), inet6 (IPv6), ax25 (AMPR wireless group), ddp (Appletalk 2 generation), and ipx (Novell IPX) and netrom (AMPR wireless group ). Option-a displays all interfaces, including the-s in the down state and the brief list information (the same as netstat-I)-v displays more detailed information about interface names. It is usually a driver name plus a number. For example, eth0 indicates the first ethernet card. If the kernel supports Nic aliases, you can use eth0: 0 to specify an alias for eth0. You can assign them a second address. You can use ifconfig eth0: 0 down to delete the alias up interface. If we assign an address to an interface, this option is specified by default. Down interface (this flag causes the driver of the specified interface to be disabled) [-] arp allows or disables the use of the ARP Protocol [-] promisc to start or disable the Mixed Mode of the interface on the specified interface. If the hybrid mode is enabled, all packets on the network will be received by this interface. [-] Allmulti allows or disables multicast mode (all-multicast ). If this option is selected, the interface can receive all multicast groups on the network. Metric N sets the interface metric value to integer N. The measurement value indicates the cost of sending a group on this path, that is, the number of routes used) mtu N this option sets the maximum transmission unit of the interface MTU dstaddr addr to set a remote IP address for a point-to-point link (such as PPP. This option is now obsolete; it is replaced with the pointopoint option. Netmask addr sets the IP network mask for the interface. The default value is generally A, B, or C-type network mask (introduced by the IP address of the interface), but it can also be set to another value. Add addr/prefixlen to add an IPv6 address to the interface. Del addr/prefixlen deletes an IPv6 address for the interface. Tunnel aa. bb. cc. dd creates a new SIT (IPv6 in IPv4) device and establishes a channel for the specified destination address. Irq addr sets the interrupt value for the interface. Not all devices can change their interrupt values dynamically. Io_addr addr sets the start input/output address for the interface. Mem_start addr sets the starting address of the shared memory used by the interface. Only a few devices need it. Media type specifies the physical port or media type used by the interface. Not all devices change this value, and the supported types may be the same. The typical types are 10base2 (thin Ethernet), 10 baseT (twisted pair 10 Mbps Ethernet), and AUI (external transceiver Unit Interface. If the media type is auto, the device determines the media automatically. Likewise, not all devices can work like this. [-] Broadcast [addr] If the address parameter is provided, you can set the broadcast address of the protocol for the interface. Otherwise, set (or clear) IFF_BROADCAST flag for the interface. [-] Pointopoint [addr] This option allows the interface to be set to point-to-point mode, which establishes a direct link between two hosts that can be monitored by no one. If the address parameter is also provided, set the Protocol address of the other side of the link, just as the dstaddr option is obsolete. Otherwise, set (or clear) IFF_POINTOPOINT flag for the interface. If the hw class address is supported by the interface driver, set the hardware address of the interface. This option must be followed by printable ASCII characters equivalent to the hardware type name and hardware address. Currently, Supported Hardware types include ether (Ethernet), ax25 (AMPR AX.25), ARCnet, and netrom (ampr net/ROM ). Multicast sets the multicast flag for the interface. You do not need to use this option because the interface correctly sets this flag. Address is the IP address allocated to the interface. Txqueuelen length specifies the length of the transmission queue for the interface. You can set a small value for low-speed interfaces with high latency to avoid a large amount of high-speed transmission during annoying interactive communication such as telnet.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.