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.