Your message dated Sat, 7 Jan 2023 05:08:49 +0100
with message-id <[email protected]>
and subject line Re: Bug#945410: defaultroute sets gateway to 0.0.0.0
has caused the Debian Bug report #945410,
regarding defaultroute sets gateway to 0.0.0.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
945410: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945410
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ppp
Version: 2.4.7-2+4.1
Severity: normal
Using ppp for the first time in a year or so, it seems something has
broken WRT defaultroute, which was working before.
There was no default route set before starting pppd.
After pon, this is the result:
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 ppp0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
wlx9cefd5fcd6f3
207.223.72.68 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
So apparently it's set a default route with no gateway, if that's even a
thing. It certianly does not work.
Manually adding 207.223.72.68 as the default gateway makes the connection work.
AFAICS I have no hook scripts or ifupdown configuration that would affect
ppp adding the default route.
I enabled debug and didn't see anything in the log about routing.
Here's the relevant part of the log, after authentication
(log is in reverse order)
Nov 23 14:27:13 honeybee pppd[8474]: Script /etc/ppp/ip-up finished (pid 8512),
status = 0x0
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [CCP ConfRej id=0x4]
Nov 23 14:27:12 honeybee pppd[8474]: sent [CCP ConfRej id=0x4 < 11 06 00 01 01
03>]
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [CCP ConfReq id=0x4 < 11 06 00 01 01
03>]
Nov 23 14:27:12 honeybee pppd[8474]: sent [CCP ConfReq id=0x4]
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [CCP ConfRej id=0x3 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Nov 23 14:27:12 honeybee pppd[8474]: sent [CCP ConfRej id=0x3 < 11 05 00 01 03>]
Nov 23 14:27:12 honeybee pppd[8474]: sent [CCP ConfReq id=0x3 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [CCP ConfReq id=0x3 < 11 05 00 01 03>]
Nov 23 14:27:12 honeybee pppd[8474]: Script /etc/ppp/ip-up started (pid 8512)
Nov 23 14:27:12 honeybee pppd[8474]: remote IP address 207.223.72.68
Nov 23 14:27:12 honeybee pppd[8474]: local IP address 72.251.71.229
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [IPCP ConfAck id=0x2 <compress VJ 0f
01> <addr 72.251.71.229>]
Nov 23 14:27:12 honeybee pppd[8474]: rcvd [CCP ConfRej id=0x2]
Nov 23 14:27:11 honeybee pppd[8474]: sent [CCP ConfRej id=0x2 < 11 05 00 01 04>]
Nov 23 14:27:11 honeybee pppd[8474]: rcvd [CCP ConfReq id=0x2 < 11 05 00 01 04>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [IPCP ConfReq id=0x2 <compress VJ 0f
01> <addr 72.251.71.229>]
Nov 23 14:27:11 honeybee pppd[8474]: rcvd [IPCP ConfNak id=0x1 <addr
72.251.71.229>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [CCP ConfReq id=0x2]
Nov 23 14:27:11 honeybee pppd[8474]: rcvd [CCP ConfRej id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [CCP ConfRej id=0x1 <mppe -H -M -S -L
-D +C>]
Nov 23 14:27:11 honeybee pppd[8474]: rcvd [CCP ConfReq id=0x1 <mppe -H -M -S -L
-D +C>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [IPCP ConfAck id=0x1 <compress VJ 0f
01> <addr 207.223.72.68>]
Nov 23 14:27:11 honeybee pppd[8474]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 207.223.72.68>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr 0.0.0.0>]
Nov 23 14:27:11 honeybee pppd[8474]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Nov 23 14:27:11 honeybee pppd[8474]: PAP authentication succeeded
-- System Information:
Debian Release: bullseye/sid
Architecture: armhf
Kernel: 4.19.0-5-armmp-lpae
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
see shy jo
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
On Nov 27, Joey Hess <[email protected]> wrote:
> Apparently the 0.0.0.0 route *is* the default route. I don't remember it
> looking like that some years ago when I used ppp regularly, but it does
> seem to work.
Indeed, not a bug: this is a route to a PtP link, so it does not need
a next-hop.
--
ciao,
Marco
signature.asc
Description: PGP signature
--- End Message ---