🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #176953

Re: Cloudflare launches 1.1.1.1 DNS service that will speed up your internet

#176953
From: Anssi Saari
Date: Wed, 04 Apr 2018 09:42
58 lines
3488 bytes
Melzzzzz <Melzzzzz@zzzzz.com> writes:

> On 2018-04-04, Libor Striz <poutnik4REMOVEnntp@CAPITALSgmail.com> wrote:
>> Melzzzzz <Melzzzzz@zzzzz.com> Wrote in message:
>>> On 2018-04-04, Libor Striz <poutnik4REMOVEnntp@CAPITALSgmail.com> wrote:
>>>> "David E. Ross" <nobody@nowhere.invalid> Wrote in message:
>>>>
>>>>
>>>>> [...]
>>>>> I also notices that 1.1.1.1 and 1.0.0.1 both resolve to the same domain
>>>>> name.  That raises the question wether they are actually the same server
>>>>> instead of two different servers.
>>>>
>>>> One domain name can have more IP addresses, if the DNS server is
>>>>  configured to apply the round robin as a server load balance,
>>>>  typically Google search servers.
>>>>
>>>> OTOH, 1 computer has multiple IPs only if it has multiple  network
>>>>  interfaces.
>>>>
>>> 
>>> Not true on Linux. You can have eth0:1 - eth0:x ip addresses on same
>>> interface...
>>> 
>> Hmm, interesting.
>>
>> It would make sense for some  high availability systems.
>>
>> But are not they then virtual interfaces ? 
>> Does it present the same or different MACs ?
>>
>
> Same MAC. I don't know how are they called but you can assign them
> anyway.

They are called IP aliases. There's even an ancient "Setting up IP
Aliasing on A Linux Machine Mini-HOWTO" at
http://www.faqs.org/docs/Linux-mini/IP-Alias.html. Apparently this is
supported on Windows as well and I think I've used this on FreeBSD too,
so presumably most Unixes support it.

In Linux they're configured via ifconfig normally e.g. if you have eth0
you can do ifconfig eth0:0 a.b.c.d netmask whatever or with the ip
command (something like ip address add a.b.c.d/whatever dev eth0).

I used this long ago when I had public IP addresses (and single NICs) on
my PCs at home but wanted to have a local network too so local traffic
didn't circle out and back via ADSL.

I think the downside was that with iptables you couldn't then
differentiate between internal and external traffic except by trusting
the source address so any address-spoofed external traffic would be free
to come through the iptables firewall. No idea if such spoofed traffic
was allowed by ISPs even back then.

Apparently a more common use case for IP aliases is running multiple
instances of some server software on the same machine without having to
use different ports.
Technical Details
Message-ID: <vg38ta3xq89.fsf@coffee.modeemi.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <p9v5vl$rrf$1@toylet.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <vg38ta3xq89.fsf@coffee.modeemi.fi>
Subject: Re: Cloudflare launches 1.1.1.1 DNS service that will speed up your internet
Date: Wed, 04 Apr 2018 12:42:14 +0300
From: Anssi Saari <as@sci.fi>
References: <p9v5vl$rrf$1@toylet.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.comp.freeware,alt.comp.hardware.pc-homebuilt,alt.comp.os.windows-10,alt.free.newsservers,alt.os.linux.ubuntu,alt.windows7.general
Organization: An impatient and LOUD arachnid
Lines: 58
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="aaa7200ddf7dcf243c8e2d48699bfeac";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:PE9IFW+U0pvDJgk3cSn8w6/85VY=