How do i make systemd-networkd ignore DHCP pushed default route?











up vote
4
down vote

favorite












I want systemd-networkd ignore the default route/s pushed by DHCP on one interface.



My work setup has 3 network interfaces.
I have one .network file for each interface:



eth0) internet



[Match]
Name=eth0
[Network]
DHCP=yes
DNS=127.0.0.1


eth1) local testing network



[Match]
Name=eth1

[Network]
Address=192.168.78.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.78.1


eth2) VPN router connection to main site.



[Match]
Name=eth2

[Network]
DHCP=ipv4

[Route]
Gateway=10.3.10.1
Destination=10.100.102.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.13.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.14.0/24
Metric=0

[DHCP]
UseDNS=false
SendHostname=true
UseRoutes=false
RouteMetric=2000


vnet0) bridge interface without connection to real interface for VMs



[Match]
Name=vnet0

[Network]
Address=192.168.77.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.77.1


As you can see UseRoutes=false is set, and still I have a default route on the eth2 network:



default via 192.168.178.1 dev eth0  proto dhcp  src 192.168.178.52  metric 1024 
default via 10.3.10.1 dev eth2 proto dhcp src 10.3.10.196 metric 2000
10.3.10.0/24 dev eth2 proto kernel scope link src 10.3.10.196
10.3.10.1 dev eth2 proto dhcp scope link src 10.3.10.196 metric 2000
192.168.77.0/24 dev vnet0 proto kernel scope link src 192.168.77.1 linkdown
192.168.78.0/24 dev eth1 proto kernel scope link src 192.168.78.1
192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.52
192.168.178.1 dev eth0 proto dhcp scope link src 192.168.178.52 metric 1024


I also tried UseRoutes=no which also makes no difference.
Does anyone have any ideas what i am doing wrong?



versions and packages:



mavu  ~  uname -a
Linux saaclt0006 4.3.0-1-amd64 #1 SMP Debian 4.3.3-2 (2015-12-17) x86_64 GNU/Linux

mavu  ~  dpkg -l |grep systemd
ii libpam-systemd:amd64 228-2+b1 amd64 system and service manager - PAM module
rc libsystemd-daemon0:amd64 215-5+b1 amd64 systemd utility library (deprecated)
rc libsystemd-id128-0:amd64 215-5+b1 amd64 systemd 128 bit ID utility library (deprecated)
rc libsystemd-id128-0:i386 215-5+b1 i386 systemd 128 bit ID utility library (deprecated)
rc libsystemd-journal0:amd64 215-5+b1 amd64 systemd journal utility library (deprecated)
rc libsystemd-journal0:i386 215-5+b1 i386 systemd journal utility library (deprecated)
rc libsystemd-login0:amd64 215-5+b1 amd64 systemd login utility library (deprecated)
ii libsystemd0:amd64 228-2+b1 amd64 systemd utility library
ii libsystemd0:i386 228-2+b1 i386 systemd utility library
ii systemd 228-2+b1 amd64 system and service manager
ii systemd-shim 9-1 amd64 shim for systemd
ii systemd-sysv 228-2+b1 amd64 system and service manager - SysV links


grep systemd-networkd /var/log/syslog :



Jan  7 09:00:56 saaclt0006 systemd-networkd[12179]: wlan0: Lost carrier
Jan 7 09:01:03 saaclt0006 systemd-networkd[12179]: eth0: Gained carrier
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth1: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Gained IPv6LL
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Configured
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: DHCPv4 address 10.3.10.196/24 via 10.3.10.1
Jan 7 09:01:07 saaclt0006 systemd-networkd[12179]: eth0: DHCPv4 address 192.168.178.52/24 via 192.168.178.1
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Gained IPv6LL
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Configured
Jan 7 09:01:19 saaclt0006 systemd-networkd[12179]: eth1: Starting DHCPv6 client after NDisc timeout failed: Invalid argument
Jan 7 09:01:21 saaclt0006 systemd-networkd[12179]: eth2: Starting DHCPv6 client after NDisc timeout failed: Invalid argument









share|improve this question






















  • Cross-posted at github.com/systemd/systemd/issues/2282
    – grawity
    Jan 7 '16 at 14:05















up vote
4
down vote

favorite












I want systemd-networkd ignore the default route/s pushed by DHCP on one interface.



My work setup has 3 network interfaces.
I have one .network file for each interface:



eth0) internet



[Match]
Name=eth0
[Network]
DHCP=yes
DNS=127.0.0.1


eth1) local testing network



[Match]
Name=eth1

[Network]
Address=192.168.78.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.78.1


eth2) VPN router connection to main site.



[Match]
Name=eth2

[Network]
DHCP=ipv4

[Route]
Gateway=10.3.10.1
Destination=10.100.102.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.13.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.14.0/24
Metric=0

[DHCP]
UseDNS=false
SendHostname=true
UseRoutes=false
RouteMetric=2000


vnet0) bridge interface without connection to real interface for VMs



[Match]
Name=vnet0

[Network]
Address=192.168.77.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.77.1


As you can see UseRoutes=false is set, and still I have a default route on the eth2 network:



default via 192.168.178.1 dev eth0  proto dhcp  src 192.168.178.52  metric 1024 
default via 10.3.10.1 dev eth2 proto dhcp src 10.3.10.196 metric 2000
10.3.10.0/24 dev eth2 proto kernel scope link src 10.3.10.196
10.3.10.1 dev eth2 proto dhcp scope link src 10.3.10.196 metric 2000
192.168.77.0/24 dev vnet0 proto kernel scope link src 192.168.77.1 linkdown
192.168.78.0/24 dev eth1 proto kernel scope link src 192.168.78.1
192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.52
192.168.178.1 dev eth0 proto dhcp scope link src 192.168.178.52 metric 1024


I also tried UseRoutes=no which also makes no difference.
Does anyone have any ideas what i am doing wrong?



versions and packages:



mavu  ~  uname -a
Linux saaclt0006 4.3.0-1-amd64 #1 SMP Debian 4.3.3-2 (2015-12-17) x86_64 GNU/Linux

mavu  ~  dpkg -l |grep systemd
ii libpam-systemd:amd64 228-2+b1 amd64 system and service manager - PAM module
rc libsystemd-daemon0:amd64 215-5+b1 amd64 systemd utility library (deprecated)
rc libsystemd-id128-0:amd64 215-5+b1 amd64 systemd 128 bit ID utility library (deprecated)
rc libsystemd-id128-0:i386 215-5+b1 i386 systemd 128 bit ID utility library (deprecated)
rc libsystemd-journal0:amd64 215-5+b1 amd64 systemd journal utility library (deprecated)
rc libsystemd-journal0:i386 215-5+b1 i386 systemd journal utility library (deprecated)
rc libsystemd-login0:amd64 215-5+b1 amd64 systemd login utility library (deprecated)
ii libsystemd0:amd64 228-2+b1 amd64 systemd utility library
ii libsystemd0:i386 228-2+b1 i386 systemd utility library
ii systemd 228-2+b1 amd64 system and service manager
ii systemd-shim 9-1 amd64 shim for systemd
ii systemd-sysv 228-2+b1 amd64 system and service manager - SysV links


grep systemd-networkd /var/log/syslog :



Jan  7 09:00:56 saaclt0006 systemd-networkd[12179]: wlan0: Lost carrier
Jan 7 09:01:03 saaclt0006 systemd-networkd[12179]: eth0: Gained carrier
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth1: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Gained IPv6LL
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Configured
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: DHCPv4 address 10.3.10.196/24 via 10.3.10.1
Jan 7 09:01:07 saaclt0006 systemd-networkd[12179]: eth0: DHCPv4 address 192.168.178.52/24 via 192.168.178.1
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Gained IPv6LL
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Configured
Jan 7 09:01:19 saaclt0006 systemd-networkd[12179]: eth1: Starting DHCPv6 client after NDisc timeout failed: Invalid argument
Jan 7 09:01:21 saaclt0006 systemd-networkd[12179]: eth2: Starting DHCPv6 client after NDisc timeout failed: Invalid argument









share|improve this question






















  • Cross-posted at github.com/systemd/systemd/issues/2282
    – grawity
    Jan 7 '16 at 14:05













up vote
4
down vote

favorite









up vote
4
down vote

favorite











I want systemd-networkd ignore the default route/s pushed by DHCP on one interface.



My work setup has 3 network interfaces.
I have one .network file for each interface:



eth0) internet



[Match]
Name=eth0
[Network]
DHCP=yes
DNS=127.0.0.1


eth1) local testing network



[Match]
Name=eth1

[Network]
Address=192.168.78.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.78.1


eth2) VPN router connection to main site.



[Match]
Name=eth2

[Network]
DHCP=ipv4

[Route]
Gateway=10.3.10.1
Destination=10.100.102.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.13.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.14.0/24
Metric=0

[DHCP]
UseDNS=false
SendHostname=true
UseRoutes=false
RouteMetric=2000


vnet0) bridge interface without connection to real interface for VMs



[Match]
Name=vnet0

[Network]
Address=192.168.77.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.77.1


As you can see UseRoutes=false is set, and still I have a default route on the eth2 network:



default via 192.168.178.1 dev eth0  proto dhcp  src 192.168.178.52  metric 1024 
default via 10.3.10.1 dev eth2 proto dhcp src 10.3.10.196 metric 2000
10.3.10.0/24 dev eth2 proto kernel scope link src 10.3.10.196
10.3.10.1 dev eth2 proto dhcp scope link src 10.3.10.196 metric 2000
192.168.77.0/24 dev vnet0 proto kernel scope link src 192.168.77.1 linkdown
192.168.78.0/24 dev eth1 proto kernel scope link src 192.168.78.1
192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.52
192.168.178.1 dev eth0 proto dhcp scope link src 192.168.178.52 metric 1024


I also tried UseRoutes=no which also makes no difference.
Does anyone have any ideas what i am doing wrong?



versions and packages:



mavu  ~  uname -a
Linux saaclt0006 4.3.0-1-amd64 #1 SMP Debian 4.3.3-2 (2015-12-17) x86_64 GNU/Linux

mavu  ~  dpkg -l |grep systemd
ii libpam-systemd:amd64 228-2+b1 amd64 system and service manager - PAM module
rc libsystemd-daemon0:amd64 215-5+b1 amd64 systemd utility library (deprecated)
rc libsystemd-id128-0:amd64 215-5+b1 amd64 systemd 128 bit ID utility library (deprecated)
rc libsystemd-id128-0:i386 215-5+b1 i386 systemd 128 bit ID utility library (deprecated)
rc libsystemd-journal0:amd64 215-5+b1 amd64 systemd journal utility library (deprecated)
rc libsystemd-journal0:i386 215-5+b1 i386 systemd journal utility library (deprecated)
rc libsystemd-login0:amd64 215-5+b1 amd64 systemd login utility library (deprecated)
ii libsystemd0:amd64 228-2+b1 amd64 systemd utility library
ii libsystemd0:i386 228-2+b1 i386 systemd utility library
ii systemd 228-2+b1 amd64 system and service manager
ii systemd-shim 9-1 amd64 shim for systemd
ii systemd-sysv 228-2+b1 amd64 system and service manager - SysV links


grep systemd-networkd /var/log/syslog :



Jan  7 09:00:56 saaclt0006 systemd-networkd[12179]: wlan0: Lost carrier
Jan 7 09:01:03 saaclt0006 systemd-networkd[12179]: eth0: Gained carrier
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth1: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Gained IPv6LL
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Configured
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: DHCPv4 address 10.3.10.196/24 via 10.3.10.1
Jan 7 09:01:07 saaclt0006 systemd-networkd[12179]: eth0: DHCPv4 address 192.168.178.52/24 via 192.168.178.1
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Gained IPv6LL
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Configured
Jan 7 09:01:19 saaclt0006 systemd-networkd[12179]: eth1: Starting DHCPv6 client after NDisc timeout failed: Invalid argument
Jan 7 09:01:21 saaclt0006 systemd-networkd[12179]: eth2: Starting DHCPv6 client after NDisc timeout failed: Invalid argument









share|improve this question













I want systemd-networkd ignore the default route/s pushed by DHCP on one interface.



My work setup has 3 network interfaces.
I have one .network file for each interface:



eth0) internet



[Match]
Name=eth0
[Network]
DHCP=yes
DNS=127.0.0.1


eth1) local testing network



[Match]
Name=eth1

[Network]
Address=192.168.78.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.78.1


eth2) VPN router connection to main site.



[Match]
Name=eth2

[Network]
DHCP=ipv4

[Route]
Gateway=10.3.10.1
Destination=10.100.102.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.13.0/24
Metric=0

[Route]
Gateway=10.3.10.1
Destination=10.3.14.0/24
Metric=0

[DHCP]
UseDNS=false
SendHostname=true
UseRoutes=false
RouteMetric=2000


vnet0) bridge interface without connection to real interface for VMs



[Match]
Name=vnet0

[Network]
Address=192.168.77.1/24
IPForward=ipv4
IPMasquerade=yes
DHCPServer=yes

[DHCPServer]
PoolOffset=10
PoolSize=100
EmitDNS=yes
DNS=192.168.77.1


As you can see UseRoutes=false is set, and still I have a default route on the eth2 network:



default via 192.168.178.1 dev eth0  proto dhcp  src 192.168.178.52  metric 1024 
default via 10.3.10.1 dev eth2 proto dhcp src 10.3.10.196 metric 2000
10.3.10.0/24 dev eth2 proto kernel scope link src 10.3.10.196
10.3.10.1 dev eth2 proto dhcp scope link src 10.3.10.196 metric 2000
192.168.77.0/24 dev vnet0 proto kernel scope link src 192.168.77.1 linkdown
192.168.78.0/24 dev eth1 proto kernel scope link src 192.168.78.1
192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.52
192.168.178.1 dev eth0 proto dhcp scope link src 192.168.178.52 metric 1024


I also tried UseRoutes=no which also makes no difference.
Does anyone have any ideas what i am doing wrong?



versions and packages:



mavu  ~  uname -a
Linux saaclt0006 4.3.0-1-amd64 #1 SMP Debian 4.3.3-2 (2015-12-17) x86_64 GNU/Linux

mavu  ~  dpkg -l |grep systemd
ii libpam-systemd:amd64 228-2+b1 amd64 system and service manager - PAM module
rc libsystemd-daemon0:amd64 215-5+b1 amd64 systemd utility library (deprecated)
rc libsystemd-id128-0:amd64 215-5+b1 amd64 systemd 128 bit ID utility library (deprecated)
rc libsystemd-id128-0:i386 215-5+b1 i386 systemd 128 bit ID utility library (deprecated)
rc libsystemd-journal0:amd64 215-5+b1 amd64 systemd journal utility library (deprecated)
rc libsystemd-journal0:i386 215-5+b1 i386 systemd journal utility library (deprecated)
rc libsystemd-login0:amd64 215-5+b1 amd64 systemd login utility library (deprecated)
ii libsystemd0:amd64 228-2+b1 amd64 systemd utility library
ii libsystemd0:i386 228-2+b1 i386 systemd utility library
ii systemd 228-2+b1 amd64 system and service manager
ii systemd-shim 9-1 amd64 shim for systemd
ii systemd-sysv 228-2+b1 amd64 system and service manager - SysV links


grep systemd-networkd /var/log/syslog :



Jan  7 09:00:56 saaclt0006 systemd-networkd[12179]: wlan0: Lost carrier
Jan 7 09:01:03 saaclt0006 systemd-networkd[12179]: eth0: Gained carrier
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth2: Could not set route: Network is unreachable
Jan 7 09:01:05 saaclt0006 systemd-networkd[12179]: eth1: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Gained IPv6LL
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth1: Configured
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: Gained carrier
Jan 7 09:01:06 saaclt0006 systemd-networkd[12179]: eth2: DHCPv4 address 10.3.10.196/24 via 10.3.10.1
Jan 7 09:01:07 saaclt0006 systemd-networkd[12179]: eth0: DHCPv4 address 192.168.178.52/24 via 192.168.178.1
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Gained IPv6LL
Jan 7 09:01:08 saaclt0006 systemd-networkd[12179]: eth2: Configured
Jan 7 09:01:19 saaclt0006 systemd-networkd[12179]: eth1: Starting DHCPv6 client after NDisc timeout failed: Invalid argument
Jan 7 09:01:21 saaclt0006 systemd-networkd[12179]: eth2: Starting DHCPv6 client after NDisc timeout failed: Invalid argument






networking dhcp systemd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 7 '16 at 8:40









mavu

1014




1014












  • Cross-posted at github.com/systemd/systemd/issues/2282
    – grawity
    Jan 7 '16 at 14:05


















  • Cross-posted at github.com/systemd/systemd/issues/2282
    – grawity
    Jan 7 '16 at 14:05
















Cross-posted at github.com/systemd/systemd/issues/2282
– grawity
Jan 7 '16 at 14:05




Cross-posted at github.com/systemd/systemd/issues/2282
– grawity
Jan 7 '16 at 14:05










1 Answer
1






active

oldest

votes

















up vote
0
down vote













This issue was indeed a bug and was fixed in systemd version 230.




networkd: respect DHCP UseRoutes option (#3075)







share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1022959%2fhow-do-i-make-systemd-networkd-ignore-dhcp-pushed-default-route%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    This issue was indeed a bug and was fixed in systemd version 230.




    networkd: respect DHCP UseRoutes option (#3075)







    share|improve this answer

























      up vote
      0
      down vote













      This issue was indeed a bug and was fixed in systemd version 230.




      networkd: respect DHCP UseRoutes option (#3075)







      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        This issue was indeed a bug and was fixed in systemd version 230.




        networkd: respect DHCP UseRoutes option (#3075)







        share|improve this answer












        This issue was indeed a bug and was fixed in systemd version 230.




        networkd: respect DHCP UseRoutes option (#3075)








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 22 at 1:47









        sshow

        7061818




        7061818






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1022959%2fhow-do-i-make-systemd-networkd-ignore-dhcp-pushed-default-route%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido