All Pages > howto > systemd-networkd
systemd-networkd configuration example
This is the config that is used on ZOTAN Networks (AS4242422341). Full network configuration available on my Git (dn42) or alternatively my Git (clear)
Configuration
loopback device (lo.network)
[Match]
lo
[Network]
fdff:b02d:2ef7::2/128
wireguard netdev (dn42p1.netdev)
[NetDev]
dn42p1
wireguard
WireGuard
[WireGuard]
42421
/etc/wireguard/private.key
[WireGuardPeer]
<peer wg pubkey>
<peer wg endpoint>:<peer wg port>
,,fd00::/8,fe80::/10,ff00::/8
wireguard network (dn42p1.network)
[Match]
dn42p1
[Address]
fe80::2342/128 <peer tunnel linklocal address>/128
[Address]
<your DN42 ipv4>/32
<peer DN42 ipv4>/32