systemd 219 && systemd-networkd changes
Posted 02-22-2015 at 07:45 AM by serafean
Tags systemd
The recent update to systemd sent it to version 219. Per the changelog, .network files gained two new configuration values
After the upgrade, my Gentoo box stopped routing packets to the internet. NAT was setup correctly, so the issue couldn't be there.
It appears that systemd by default sets the forwarding sysctl of each interface to 0. In order for packets to be forwarded, this must be set to 1. /etc/sysctl.conf was of no help.
So if you use systemd-networkd on a box doing routing, don't forget to add
to the Network section of your network's configuration file when updating to systemd-219.
Code:
IPForward IPMasquerade
It appears that systemd by default sets the forwarding sysctl of each interface to 0. In order for packets to be forwarded, this must be set to 1. /etc/sysctl.conf was of no help.
So if you use systemd-networkd on a box doing routing, don't forget to add
Code:
IPForward=yes
Total Comments 0