Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 14:29:02 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, hackers@freebsd.org, "Alexander V. Chernikov" <melifaro@freebsd.org>, net@freebsd.org
Subject:   Re: ifconfig accepting hostname as ipv4 address
Message-ID:  <CAN6yY1u3-N%2B1o9-99JEtkRSJRYMDjWZ0U3WP6nWUuHKT5kkydQ@mail.gmail.com>
In-Reply-To: <CAGH67wRE=V29ONMNsxsBGSW1jrC1BpJWG=9MMzuOdACiRHQ5AQ@mail.gmail.com>
References:  <4FD0C1F4.2060108@FreeBSD.org> <alpine.BSF.2.00.1206090922390.84632@wojtek.tensor.gdynia.pl> <CAGH67wRE=V29ONMNsxsBGSW1jrC1BpJWG=9MMzuOdACiRHQ5AQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 9, 2012 at 12:37 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Sat, Jun 9, 2012 at 12:23 AM, Wojciech Puchar
> <wojtek@wojtek.tensor.gdynia.pl> wrote:
>>> input.
>>> Moreover, ifconfig em0 some_valid_fqdn/MASK silently ignores it, so you
>>> can't set valid CIDR address using this notation.
>>>
>>> Classful era has ended more than 10 years ago, do we still want to keep
>>> this behavior?
>>>
>> were not aware of that option, and it is rather stupid option - you shou=
ld
>> work on addresses not names when configuring network
>
> =A0 =A0I agree that it's not the best configuration in the world, as it
> would only work 100% if a machine had proper DNS records or a
> definitive hosts file.
> =A0 =A0There are already enough bugs with static IP configurations and
> hostnames as-is *I'm looking at you mountlate* -- no sense to
> introduce more potentially buggy interoperability that only works in a
> handful of niche cases.

The idea was that you could enter all of the local interface names in
/etc/hosts and than just put the names into the ifconfig commands. It
was handy for keeping track of what port connected where on systems
that had numerous interfaces, though this was more common in the day
of async serial lines and modems.

I'll admit that I have mixed feelings about its practicality today,
though it does not hurt anything, as far as I can tell.
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u3-N%2B1o9-99JEtkRSJRYMDjWZ0U3WP6nWUuHKT5kkydQ>