add addr/prefixlen Add an IPv6 address to an interface. ![]() Usual class A, B or C network mask (as derived from the interface IPĪddress), but it can be set to any value. netmask addr Set the IP network mask for this interface. Keyword is now obsolete use the pointopoint keyword instead. dstaddr addr Set the remote IP address for a point-to-point link (such as PPP). mtu N This parameter sets the Maximum Transfer Unit (MTU) of an interface. Packets on the network will be received by the interface. allmulti Enable or disable all-multicast mode. Selected, all packets on the network will be received by the promisc Enable or disable the promiscuous mode of the interface. arp Enable or disable the use of the ARP protocol on this interface. down This flag causes the driver for this interface to be shut down. It is also suppressed when using the IPv4 0.0.0.0 addressĪs the kernel will use this to implicitly delete alias interfaces. When using an alias interface by appending an - to the alias (e.g.Įth0:0-). If an address is assigned to the interface you can suppress this behavior up This flag causes the interface to be activated. same net with address/netmaskĬombination) all aliases are deleted, if you delete the first To delete an alias interface use ifconfig eth0:0ĭown. Your kernel supports alias interfaces, you can specify them with syntax Unit number, for example eth0 for the first Ethernet interface. This is usually a driver name followed by a OPTIONS ¶ -a display all interfaces which are currently available, even if down -s display a short list (like netstat -i) -v be more verbose for some error conditions interface The name of the interface. Use of hexadecimal and octal numbers is not RFC-compliant and Otherwise, a leading '0' implies octal otherwise, the number is interpretedĪs decimal). The ISO C standard (that is, a leading 0x or 0X implies hexadecimal ![]() All numbers supplied as parts in IPv4ĭotted decimal notation may be decimal, octal, or hexadecimal, as specified in Packet Radio), ddp (Appletalk Phase 2), ipx (Novell IPX) and Include inet (TCP/IP, default), inet6 (IPv6), ax25 (AMPR Supported address family, that address family is used for decoding andĭisplaying all protocol addresses. If the first argument after the interface name is recognized as the name of a a argument is given, it displays the status of all interfaces, even Given, it displays the status of the given interface only if a single If no arguments are given, ifconfig displays the status of Usually only needed when debugging or when system tuning is needed. Is used at boot time to set up interfaces as necessary. DESCRIPTION ¶ Ifconfig is used to configure the kernel-resident network interfaces. SYNOPSIS ¶ ifconfig ifconfig interface options | address.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |