Linux Command Encyclopedia network communication: Ifconfig

Source: Internet
Author: User
Keywords Linux Command Encyclopedia Ifconfig network communications
Tags address aliyun broadcast command encyclopedia communication communications displays function

Function Description: Displays or sets the network device.

Grammar: ifconfig&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [Network equipment] [Down Up-allmulti-arp-promisc] [add< Address [del< Address [<hw< Network Device type >< hardware address [IO_ADDR<I/O Address] [IRQ<IRQ Address] [media< network Media type; [mem_start< memory Address Number of [metric<] [mtu< Byte] [netmask< Subnet Mask [tunnel< Address [-broadcast< Address [-pointopoint< Address [IP Address]

Supplemental Note: Ifconfig can set the status of a network device, or display the current settings.

Parameters:
add< address > Set the IP address of the network device IPV6.
del< address > Remove the IP address of the network device IPV6.
Down closes the specified network device.
<hw< Network Device type >< hardware address > Set the type and hardware address of the network device.
IO_ADDR<I/O address > Set the I/O address of the network device.
IRQ<IRQ address > Set IRQ for network devices.
media< network Media type > Set the media type of network device.
mem_start< memory address > Set the starting address that the network device occupies in the main memory.
Number of metric< > Specifies the number to be added when calculating the number of packets transferred.
mtu< bytes > Sets the MTU of the network device.
netmask< Subnet mask > Set subnet mask for network devices.
tunnel< address > Establish a tunnel communication address between IPV4 and IPV6.
Up starts the specified network device.
-broadcast< address > Packets that will be sent to the specified address are treated as broadcast packets.
-pointopoint< address > establishes a direct connection with the network device at the specified address, which has a confidential function.
-promisc to turn off or start the promiscuous mode for the specified network device.
[IP Address] Specifies the IP address of the network device.
Network device Specifies the name of the network device.

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.