broadcast If the address argument is given, set the protocol broadcast address for The special medium type of autoĬan be used to tell the driver to auto-sense the media. Typical values for type are 10base2 (thinĮthernet), 10baseT (twisted-pair 10Mbps Ethernet), AUI Not allĭevices can change this setting, and those that can vary in what values media type Set the physical port or medium type to be used by the device. mem_startĪddr Set the start address for shared memory used by this device. io_addrĪddr Set the start address in I/O space for this device. Not all devices canĭynamically change their IRQ setting. irq addr Set the interrupt line used by this device. ::aa.bb.cc.dd Create a new SIT (IPv6-in-IPv4) device, tunnelling to the givenĭestination. delĪddr/prefixlen Remove an IPv6 address from an interface. addĪddr/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Īddr Set the IP network mask for this interface. Keyword is now obsolete use the pointopoint keyword instead. dstaddrĪddr 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. RFC-compliant and therefore its use is discouraged. Use of hexadecimal and octal numbers is not Hexadecimal otherwise, a leading '0' implies octal otherwise, the number Parts in IPv4 dotted decimal notation may be decimal, octal, or hexadecimal,Īs specified in the ISO C standard (that is, a leading 0x or 0X implies (Novell IPX) and netrom (AMPR Packet radio). Currently supported addressįamilies include inet (TCP/IP, default), inet6 (IPv6),Īx25 (AMPR Packet Radio), ddp (Appletalk Phase 2), ipx The name of a supported address family, that address family is used forĭecoding and displaying all protocol addresses. If the first argument after the interface name is recognized as 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 That, it is usually only needed when debugging or when system tuning is It is used at boot time to set up interfaces as necessary. Ifconfig is used to configure the kernel-resident network Ifconfig ifconfig interface options | address. Ifconfig - configure a network interface SYNOPSIS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |