Sample Header Ad - 728x90

How to configure connmand to not to add the unnecessary route with IP 0.0.0.0 and GW 0.0.0.0

1 vote
1 answer
706 views
The below route is sticky, even if manually deleted, it gets added by connmand (Connection Manager Daemon) with another interface name. If the specific interface is made down using ip link cmd, I see the same problem.
root@soc:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 eth0
Is there a way to configure connmand not do this? Additional Information: eth0 uses static IP address. On my system (SoC), I have 4 interfaces, out of which 3 use static IP addresses and the one uses DHCP. I have added the systemd/network file that defines the static IP for eth0 below. root@soc:/etc/systemd/network$ cat 10-eth0-soc.network [Match] Name=eth0 [Network] Address=10.10.11.2/24 root@soc:/etc/systemd/network$
Asked by vs_proc (13 rep)
Jul 9, 2023, 05:15 PM
Last activity: Jul 10, 2023, 02:33 PM