Re: [patch 2/6] [Network namespace] Network device sharing by view



Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx> writes:

Hello!

It may look weird, but do application really *need* to see eth0 rather
than eth858354?

Applications do not care, humans do. :-)

What's about applications they just need to see exactly the same device
after migration. Not only name, but f.e. also its ifindex. If you do not
create a separate namespace for netdevices, you will inevitably end up
with some strange hack sort of VPIDs to translate (or to partition) ifindices
or to tell that "ping -I eth858354 xxx" is too coimplicated application
to survive migration.


Actually there are applications with peculiar licensing practices that
do look at devices like eth0 to verify you have the appropriate mac, and
do really weird things if you don't have an eth0.

Plus there are other cases where it can be simpler to hard code things
if it is allowable. (The human factor) Otherwise your configuration
must be done through hotplug scripts.

But yes there are misguided applications that care.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [patch 2/6] [Network namespace] Network device sharing by view
    ... Applications do not care, humans do. ... is too coimplicated application to survive migration. ... But yes there are misguided applications that care. ...
    (Linux-Kernel)
  • Re: [patch 2/6] [Network namespace] Network device sharing by view
    ... Applications do not care, humans do. ... to survive migration. ...
    (Linux-Kernel)
  • Re: How to check if file exists ?
    ... Which doesn't really work with existence check only. ... But thousands of applications of the past 30+ years used this logic. ... which is *correct* and doesn't require opening a file. ... care if a file is locked or not "viewable" but the file system. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Disappointed in mr Hariri
    ... many clients are honestly requesting .NET based applications? ... Nearly all enterprise clients. ... only care about the end result. ...
    (borland.public.delphi.non-technical)
  • Flagler Hospital
    ... Applications Systems Manger needed. ... beautiful St. Augustine Beaches! ... clinical systems as necessary to answer questions and/or research ... Pharmacy, Order Entry, Point of Care, and PCM Modules. ...
    (comp.parallel.mpi)