lkml.org 
[lkml]   [2006]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Add compile domain (was: Re: [PATCH] Well, Linus seems to like Lordi...)
    On Fri, May 26, 2006 at 11:11:40PM +0200, Christian Trefzer wrote:

    > Well I always thought that 127.0.0.1 is localhost, and _only_ localhost,
    > and the host's real name would rather be mapped to its IP on the real
    > NIC. Every interface (including local loopback) has a distinct IP;

    Several mistakes: there is no "the real NIC". There may be multiple NICs
    (actually quite common nowadays on desktop motherboards, and on laptops
    with both wired and wireless interfaces). And one NIC may have several
    IP addresses, not just one.

    > hostnames are supposed to be resolved to one of these and need to be
    > somewhat unique on subnets, unless a fqdn is supplied.

    No. Hostname does not have to resolve to _anything_. The hostname is
    just a string that identifies the machine for _humans_. It is nothing
    more, nothing less. It follows that a hostname should be just as unique
    as it's human users are concerned, it has no relation to subnets or
    FQDN or any other network term.

    > Major catch: it presumes you have at least one NIC actually in use.

    You can always configure a dummy interface.

    Gabor

    --
    ---------------------------------------------------------
    MTA SZTAKI Computer and Automation Research Institute
    Hungarian Academy of Sciences
    ---------------------------------------------------------
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-05-29 14:28    [W:2.132 / U:0.684 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site