Hey guys. I've got a question. I can't figure this out. I've got my systemd set to run the dhcp server and to forward packets on, using IP Masquerading on ipv4. But when I start networkd, it complains that masquerading is not supported. I've looked in the kernel config and I don't see any masquerade options except as targets for the various ??tables programs. The only firewall I use is iptables, and the masquerade target is set to built in (=y vs. =m). So why would systemd keep reporting that ip masquerading isn't supported? Here's a log file entry:  enp0s3: Could not enable IP masquerading, ignoring: Operation not supported

I have that in my file for enp0s3 obviously, because that's the network adapter that would lend it's IP to all outgoing packets. I suppose I could put it in enp0s8, but that makes no sense to me. Here's the files in question:

(00-wan.network)
[Match]
Name=enp0s3

[Network]
Description=Internet facing connection
DHCP=yes
IPForward=yes
IPMasquerade=yes


(01-lan.network)
[Match]
Name=enp0s8

[Network]
Address=192.168.10.2/24
DHCPServer=yes
LinkLocalAddressing=fallback
Domains=eglifamily.name

[DHCPServer]
PoolSize=128
PoolOffset=10
DefaultLeaseTimeSec=7200
MaxLeaseTimeSec=21600
EmitDNS=yes
DNS=192.168.10.2 8.8.8.8
EmitNTP=yes
EmitSMTP=yes
NTP=192.168.10.2
SMTP=192.168.10.2
EmitLPR=no
EmitPOP3=no
EmitTimezone=yes
Timezone=America/Denver


Any one got any ideas?
--
Dan Egli
From my Test Server


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to