Opensourceinfo

Main Menu
Login

Register new account

Request new password


Fast Easy Web Hosting
Your Say About Movies
Cigars Review

Man Pages

File Formats
Browse in : All > Documents > Man Pages > File Formats (375)

NAME

iftab - static information about the network interfaces  

DESCRIPTION

The file /etc/iftab contains descriptive information about the various network interfaces. iftab is only used by the program ifrename(8) to assign a consistent network interface name to each network interface.

/etc/iftab defines a set of mappings. Each mapping contains an interface name and a set of selectors. The selectors allow ifrename to identify each network interface on the system. If a network interface matches all descriptors of a mapping, ifrename attempt to change the name of the interface to the interface name given by the mapping.  

MAPPINGS

Each mapping is described on a separate line, it starts with an interface name, and contains a set of descriptors, separated by space or tabs.

The relationship between descriptors of a mapping is a logical and. A mapping matches a network interface only is all the descriptors match. If a network interface doesn`t support a specific descriptor, it won`t match any mappings using this descriptor.

If you want to use alternate descriptors for an interface name (logical or), specify two different mappings with the same interface name (one on each line). Ifrename always use the first matching mapping starting from the end of iftab, therefore more restrictive mapping should be specified last.  

INTERFACE NAME

The first part of each mapping is an interface name. If a network interface matches all descriptors of a mapping, ifrename attempt to change the name of the interface to the interface name given by the mapping.

The interface name of a mapping is either a plain interface name (such as eth2 or wlan0) or a interface name pattern containing a single wildcard (such as eth* or wlan*). In case of wildcard, the kernel replace the `*` with the lowest available integer making this interface name unique.  

DESCRIPTORS

Each descriptor is composed of a descriptor name and descriptor value. Descriptors specify a static attribute of a network interface, the goal is to uniquely identify each piece of hardware.

Most users will only use the mac selector, other selectors are for more specialised setup.

mac mac address
Matches the MAC Address of the interface with the specified MAC address. The MAC address of the interface can be shown using ifconfig(8) or ip(8). The specified MAC address may contain a `*` for wilcard matching.
This is the most common selector, as most interfaces have a unique MAC address allowing to identify network interfaces without ambiguity.
arp arp type
Matches the ARP Type (also called Link Type) of the interface with the specified ARP type. The ARP Type of the interface can be shown using ifconfig(8) or ip(8).
This selector is useful when a driver create multiple network interfaces for a single network card.
driver driver name
Matches the Driver Name of the interface with the specified driver name. The Driver Name of the interface can be shown using ethtool -i(8).
businfo bus information
Matches the Bus Information of the interface with the specified bus information. The Bus Information of the interface can be shown using ethtool -i(8).
baseaddress base address
Matches the Base Address of the interface with the specified base address. The Base Address of the interface can be shown using ifconfig(8).
Because most cards use dynamic allocation of the Base Address, this selector is only useful for ISA and EISA cards.
irq irq line
Matches the IRQ Line (interrupt) of the interface with the specified IRQ line. The IRQ Line of the interface can be shown using ifconfig(8).
Because there are IRQ Lines may be shared, this selector is usually not sufficient to uniquely identify an interface.
iwproto wireless protocol
Matches the Wireless Protocol of the interface with the specified wireless protocol. The Wireless Protocol of the interface can be shown using iwconfig(8).
This selector is only supported on wireless interfaces and is not sufficient to uniquely identify an interface.
 

EXAMPLE

# This is a comment
eth2           mac 08:00:09:DE:82:0E

eth3           driver wavelan interrupt 15 baseaddress 0x390

eth4           driver pcnet32 businfo 0000:02:05.0

air*           mac 00:07:0E:* arp 1
 

AUTHOR

Jean Tourrilhes - jt@hpl.hp.com  

FILES

/etc/iftab  

SEE ALSO

ifrename(8), ifconfig(8), ip(8), iwconfig(8).
Polls
What I like best about Firefox 3
OpenSource Headlines
  • Kubuntu and ita s Repositories

    If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums .

  • the blocking sites thing is

    If you're in the market for a new laptop, here's some advice to consider before you spend the money.

  • Linux Job Scheduling

    How I learned to stop worrying and love the Cron. Today, in our ongoing series on learning to live with Linux's "inner daemons", we are going to look at two daemons that schedule job execution on Linux.

  • Shirts for the Linux Geek Inside of You

    Tuesday, March 9th, 2010 << Previous Finally, we can grab some hard-core Linux shirts to wear at the same time we're donating to the cause! The Linux Foundation supports the development of the Linux Kernel financially, and they've come up with a new line of awesome shirts and other merchandise to help out.

  • Can Novell thrive by being a jack of all trades?

    Any business likes to claim to be number one at something; the biggest pet-shop in town, the largest office productivity application provider globally, the only telco that provides both mobile and broadband in your area.

  • Tilera wins VC from Broadcom, Quanta, NTT

    Last November, El Reg told you about how multicore chip maker Tilera was lining up its third round of venture capital funding, a $25m pile of cash that would include $10m from Taiwanese PC maker and server wannabe Quanta Computer.

  • Kernel Log: Stable kernels analysed, Linux without firmware, new graphics drivers

    "The development of Linux 2.6.34 has started and is causing heated discussions on the LKML.

  • Opinion: Linux on the Desktop: Still Not Happening

    I'd love to see viable alternatives to the current mainstream operating systems.

  • Yellow Dog Linux licks CUDA

    Remember Terra Soft and its Yellow Dog Linux for Power processors? Well, Yellow Dog is no longer the darling Linux for Apple machines since the latter company switched to Intel Core and Xeon processors for its PCs and servers a few years back.