Re: Unwanted route appears at every reboot...
On Sat 30 Apr 2022 at 07:32:52 (-0400), Greg Wooledge wrote:
> On Sat, Apr 30, 2022 at 03:29:34PM +0800, Jeremy Ardley wrote:
> > One other thing to check is if dhclient is running.
>
> Or dhcpcd. We get a *lot* of that from people who think or claim
> they're running Debian, when they're actually running "some variant
> of Raspbian that's been customized even more". Not naming any names.
I thought that turned out to be the solution reported in:
https://lists.debian.org/debian-user/2022/04/msg00969.html
> I already had a look at dhclient lines in the logs, but didn't see
> anything suspect.
ie, dhclient is running …
> But when I issued the above grep¹ I found lots of
> lines like this:
> Apr 29 09:19:20 dhcpcd[982]: eno1: adding route to 169.254.0.0/16
> Apr 29 09:19:20 dhcpcd[982]: eno1: adding default route
… and so was dhcpcd.
> I just purged the dhcpcd5 package, rebooted, et voila, the default
> route is the good one, no other intervention needed.
> I can't even remember why I installed that package
¹ zgrep -i -e dhcp -e dhclient
Cheers,
David.
Reply to: