howtos:iftab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
howtos:iftab [20/06/2008 18:13] – domingo | howtos:iftab [02/12/2018 21:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | When you install Ubuntu Feisty the installer " | ||
+ | I installed my workstation while I had a nic in the pc-card slot which got bound to eth0. I like having the eth0 bound to my permanent ethernet interface on the motherboard. It took some time until I stumbled upon the file /etc/iftab: | ||
+ | |||
+ | < | ||
+ | # This file assigns persistent names to network interfaces. | ||
+ | # See iftab(5) for syntax. | ||
+ | |||
+ | eth0 mac 00: | ||
+ | #eth0 mac 00: | ||
+ | eth1 mac 00: | ||
+ | </ | ||
+ | |||
+ | Here I found the missing link between the naming of the logical interface and the ethernet device. | ||
+ | |||
+ | You use the file by matching the mac address of the ethernet device and the logical name. Take a look at the output from my ifconfig: | ||
+ | |||
+ | < | ||
+ | tdd@dubex-tdd: | ||
+ | eth0 Link encap: | ||
+ | inet addr: | ||
+ | inet6 addr: fe80:: | ||
+ | UP BROADCAST RUNNING MULTICAST | ||
+ | RX packets: | ||
+ | TX packets: | ||
+ | collisions: | ||
+ | RX bytes: | ||
+ | Base address: | ||
+ | |||
+ | eth1 Link encap: | ||
+ | UP BROADCAST MULTICAST | ||
+ | RX packets:0 errors:0 dropped:249 overruns:0 frame:0 | ||
+ | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | ||
+ | collisions: | ||
+ | RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) | ||
+ | Interrupt: | ||
+ | </ | ||
+ | |||
+ | From this output you can see the mac address (00: | ||
+ | |||
+ | The man pages for iftab can help you with other or more advanced settings. | ||
+ | |||
+ | // | ||
+ | |||
+ | If you look into / | ||
+ | |||
+ | < | ||
+ | # PCI device 0x1022: | ||
+ | SUBSYSTEM==" | ||
+ | |||
+ | # PCI device 0x1022: | ||
+ | SUBSYSTEM==" | ||
+ | </ | ||
+ | |||
+ | Here you see the relation between MAC address and logical name. | ||
howtos/iftab.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1