Q: IPv6-only setup - get rid of 127.0.0.1
mzerqung at 0pointer.de
Thu Jun 21 13:39:43 UTC 2012
On Thu, 21.06.12 16:59, Alexey I. Froloff (raorn at raorn.name) wrote:
> On Thu, Jun 21, 2012 at 02:44:42PM +0200, Tomasz Torcz wrote:
> > > I can't find who sets "inet 127.0.0.1/8 scope host" address to lo
> > > interface. Commented out the IPADDRESS in ifcfg-lo - no result.
> > systemd sets this very early during boot.
> Is is configurable?
Just dropping the loopback IP address doesn't disable IPv4. if you want
to disable IPv4 like you can disable IPv6 then this probably needs
Disabling IPv4 should result in socket(AF_INET, ...) returning
EAFNOSUPPORT. Just taking away 127.0.0.1 doesn't do anything like that.
Lennart Poettering - Red Hat, Inc.
More information about the devel