Sponsored Content
Top Forums UNIX for Beginners Questions & Answers 10gbe ixgbe slow at 420mbyte/s max, p2p lan cat8 1m, tried ethtool and ifconfig options to no avail Post 303045727 by tinfoil3d on Saturday 11th of April 2020 12:19:38 AM
Old 04-11-2020
what info are you interested in, i can post it from conventional tools like ethtool, ip, ifconfig, lshw, lspci.
 

9 More Discussions You Might Find Interesting

1. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

2. Shell Programming and Scripting

ethtool : command not found

Hi, I am uising Suse linux on my system and i tried : man ethtool and i got the manual for ethtool but when i tried to use the command as: ethtool -a eth0 it says Command not found. also, i tried rpm -qa|grep ethtool i got: ethtool-3-15.2 so,it means my system has ethtool server or... (4 Replies)
Discussion started by: salil2012
4 Replies

3. Programming

ethtool problem

Hi, I'm using ethtool to change network settings: Just for the experiment, i want to change speed to 10, instead of 100, I type: ethtool -s eth0 speed 10 duplex full autoneg off and to view settings i type: ethtool eth0, and get this: Settings for eth0: Supported ports: ... (4 Replies)
Discussion started by: alex889
4 Replies

4. IP Networking

Slow LAN FTP Transfers with FreeBSD...

Hello, I've got a FreeBSD 6 server running on my network that I used as a file server for my main computer. However I've really become frustrated with the slow up/down speeds I'm getting, about 100KB/s, which is about as bad as if I was using a "real" server. My setup is as follows: ISP |... (4 Replies)
Discussion started by: CyberCat
4 Replies

5. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

6. Shell Programming and Scripting

cut, sed, awk too slow to retrieve line - other options?

Hi, I have a script that, basically, has two input files of this type: file1 key1=value1_1_1 key2=value1_2_1 key4=value1_4_1 ... file2 key2=value2_2_1 key2=value2_2_2 key3=value2_3_1 key4=value2_4_1 ... My files are 10k lines big each (approx). The keys are strings that don't... (7 Replies)
Discussion started by: fzd
7 Replies

7. Red Hat

Ethtool script not running on boot.

Hi, there is an incompatibility between my NIC and my Western Digital Powerline adapters which appears to cause autonegotiation to fail intermittently, most often following a reboot. Running the following Ethtool script will establish a connection immediately: #!/bin/sh # chkconfig: 345 85... (12 Replies)
Discussion started by: torley
12 Replies

8. UNIX and Linux Applications

VSFTPD slow download outside of LAN

Hello all. I have VSFTP up and ruining on ubuntu 10.04. It works great inside LAN, however when it comes to using it outside i have some problems. If i try to connect from filezila i get the listing and if i try to download it shows it will take forever to receive a file which is larger then 1mb,... (2 Replies)
Discussion started by: mantas1
2 Replies

9. UNIX for Beginners Questions & Answers

Ethtool command not working

Hi All, I am trying to find my NIC card speed in centos 5. But i am unable to get the info using ethtool command. # ethtool eth0 Settings for eth0: Link detected: yes and even tried to look for the file # cd /sys/class/net/eth0/speed files which is also not available.... (8 Replies)
Discussion started by: sravani25
8 Replies
IFTAB(5)						     Linux Programmer's Manual							  IFTAB(5)

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 uses the last matching mapping in iftab. 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 wlan1) 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. Note that wildcard is only supported for kernel 2.6.1 and 2.4.30 and later. It is discouraged to try to map interfaces to default interfaces names such as eth0, wlan0 or ppp0. The kernel use those as the default name for any new interface, therefore most likely an interface will already use this name and prevent ifrename to use it. Even if you use takeover, the interface may already be up in some cases. Not using those name will allow you to immediately spot unconfigured or new inter- faces. Good names are either totally unique and meaningfull, such as mydsl or privatehub, or use larger integer, such as eth5 or wlan5. The sec- ond type is usually easier to integrate in various network utilities. 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 despite its potential problems, other selectors are for more specialised setup. Most selectors accept a '*' in the selector value for wilcard matching, and most selectors are case insensitive. 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 ifcon- fig(8) or ip(8). This is the most common selector, as most interfaces have a unique MAC address allowing to identify network interfaces without ambi- guity. However, some interfaces don't have a valid MAC address until they are brought up, in such case using this selector is tricky or impossible. arp arp type Matches the ARP Type (also called Link Type) of the interface with the specified ARP type as a number. The ARP Type of the interface can be shown using ifconfig(8) or ip(8), the link/ether type correspond to 1 and the link/ieee802.11 type correspond to 801. 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). firmware firmware revision Matches the Firmware Revision of the interface with the firmware revision information. The Firmware Revision 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) or iwgetid(8). This selector is only supported on wireless interfaces and is not sufficient to uniquely identify an interface. pcmciaslot pcmcia slot Matches the Pcmcia Socket number of the interface with the specified slot number. Pcmcia Socket number of the interface can be shown using cardctl ident(8). This selector is usually only supported on 16 bits cards, for 32 bits cards it is advised to use the selector businfo. prevname previous interface name Matches the name of the interface prior to renaming with the specified oldname. This selector should be avoided as the previous interface name may vary depending on various condition. A system/kernel/driver update may change the original name. Then, ifrename or another tool may rename it prior to the execution of this selector. SYSFS{filename} value Matches the content the sysfs attribute given by filename to the specified value. For symlinks and parents directories, match the actual directory name of the sysfs attribute given by filename to the specified value. A list of the most useful sysfs attributes is given in the next section. SYSFS DESCRIPTORS
Sysfs attributes for a specific interface are located on most systems in the directory named after that interface at /sys/class/net/. Most sysfs attribute are files, and their values can be read using cat(1) or more(1). It is also possible to match attributes in subdirecto- ries. Some sysfs attributes are symlinks, pointing to another directory in sysfs. If the attribute filename is a symlink the sysfs attribute resolves to the name of the directory pointed by the symlink using readlink(1). The location is a directory in the sysfs tree is also important. If the attribute filename ends with /.., the sysfs attribute resolves to the real name of the parent directory using pwd(1). The sysfs filesystem is only supported with 2.6.X kernel and need to be mounted (usually in /sys). sysfs selectors are not as efficient as other selectors, therefore they should be avoided for maximum performance. These are common sysfs attributes and their corresponding ifrename descriptors. SYSFS{address} value Same as the mac descriptor. SYSFS{type} value Same as the arp descriptor. SYSFS{device} value Valid only up to kernel 2.6.20. Same as the businfo descriptor. SYSFS{..} value Valid only from kernel 2.6.21. Same as the businfo descriptor. SYSFS{device/driver} value Valid only up to kernel 2.6.20. Same as the driver descriptor. SYSFS{../driver} value Valid only from kernel 2.6.21. Same as the driver descriptor. SYSFS{device/irq} value Valid only up to kernel 2.6.20. Same as the irq descriptor. SYSFS{../irq} value Valid only from kernel 2.6.21. Same as the irq descriptor. EXAMPLES
# 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 myvpn SYSFS{address} 00:10:83:* SYSFS{type} 1 bcm* SYSFS{device} 0000:03:00.0 SYSFS{device/driver} bcm43xx bcm* SYSFS{..} 0000:03:00.0 SYSFS{../driver} bcm43xx AUTHOR
Jean Tourrilhes - jt@hpl.hp.com FILES
/etc/iftab SEE ALSO
ifrename(8), ifconfig(8), ip(8), ethtool(8), iwconfig(8). wireless-tools 26 February 2007 IFTAB(5)
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy