On 2006-08-16T12:36:50, David Lee <[EMAIL PROTECTED]> wrote:
> > But, the addresses being named ethX:Y on Linux has been depreciated
> > since 2.4.
> Lars: This sounds like an important consideration for Linux systems.
> Could you provide us with a background reference (URL) please? Thanks.
I don't have the URL handy, but for example, the ifconfig thing ends up
being translated to the "ip" style (which was added in 2.2 already, I
just recalled), so it goes through additional hoops without exposing the
real interface.
Of course, ifconfig, being mandated by POSIX, will stay around, but it's
by no means the best choice for Linux.
> So are you saying that Linux good practice is to attach a label on Linux?
No. The best practice is to not attach a label if you don't need one.
;-)
> A unique label? Thereby making each logical interface uniquely named?
> If so, the result of such good practice would be logically similar to the
> traditionally named "eth0:1, eth0:2, eth0:3, ... eth0:<n>", wouldn't it?
> (Just with possibly different labels after the ":".) Further, it would be
> wise for our heartbeat scripts to have _default_ (possibly override-able)
> behaviour which applied a naming scheme, wouldn't it?
If you so wish. I don't see the point - it'll work perfectly fine
without, and so any script which wants to know all IPs on a system needs
to scan for them _anyway_ already, or is broken.
(ie, fun things issue when you mix IPaddr with IPaddr2, because IPaddr
will miss the IPs assigned using IPaddr2, but not vice-versa. It follows
that IPaddr is broken on Linux and IPaddr2 is not ;-)
Just like you can rename the device itself to any name which pleases
you, and so matching for "eth" for ethernet would be as broken - it's
just another assumption which doesn't hold true.
Sincerely,
Lars
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/