[systemd-devel] systemd-network and loopback

Andrea Pappacoda andrea at pappacoda.it
Fri Sep 9 20:35:52 UTC 2022


Il giorno ven 9 set 2022 alle 12:17:42 -05:00:00, Greg Oliver 
<oliver.greg at gmail.com> ha scritto:
> Well, easiest to explain is user apps that use tcp or udp sockets to 
> communicate.  If they are on the same host, then huge gains can be 
> achieved by using the loopback adapter (especially TCP comms).

Thanks, but again, is this related to systemd-network in any way? My 
question is whether letting systemd-network manage the loopback 
interface is useful or not, not what the loopback interface is used for 
in general.

As far as I understand, systemd itself brings up the loopback interface 
on its own during the early boot stage, and systemd-network(d) is 
launched much later. But is writing something like this in 
/etc/systemd/network/foo.conf ever useful?

    $ cat /etc/systemd/network/foo.conf
    [Match]
    Name=*
    Type=loopback

-- 
OpenPGP key: 66DE F152 8299 0C21 99EF  A801 A8A1 28A8 AB1C EE49




More information about the systemd-devel mailing list