tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Specifying names for tap interfaces



On Sun, Jun 24, 2012 at 09:14:42PM +0200, Gert Doering wrote:
> Hi,
> 
> On Sat, Jun 23, 2012 at 04:09:06PM +0200, Manuel Bouyer wrote:
> > > Linux's method associates names by driver type (eth0, eth1, etc).
> > 
> > Yes, and it's also associated with the hardware. On a system with a
> > add-on PCI ethernet called eth0, if you remplace it by another PCI ethernet
> > (even if it's the same model, as the name is actually attached to the
> > ethernet address) it'll be called eth1. You have to edit sysconfig files
> > to have it named eth0 again.
> 
> That's udev, and it's considered a feature that the system remembers
> the MAC address of ethernet cards, so if you have a system with multiple
> ethernet cards and change "something in the hardware" (like: remove 
> card #1) the ethX numbers do not change.

Yes, I understand the feature. It's just that sometimes, it does the
wrong thing (and, especially in the example that was cited and to
which I replied).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index