Package: iproute2
Version: 5.3.0-1
Severity: normal
Tags: ipv6 upstream

Hey!
I found a weird behavior in `ip -6 route get`:

```
# ip -6 r s 
2001:4b98:dc6::/64 dev eth1  proto kernel  metric 256 
unreachable 2001:4b98:dc6:252::131 dev lo  proto kernel  metric 256  error -101
fe80::/64 dev eth0  proto kernel  metric 256 
fe80::/64 dev eth1  proto kernel  metric 256 
# # no default
# ip r g 2001:bc8:30b9:ff42::1
unreachable 2001:bc8:30b9:ff42::1 from :: dev lo  table unspec  proto kernel  
src 2001:4b98:dc6::25  metric 4294967295  error -101
```

I don't see how this is `from :: dev lo table unspec proto kernel src 
2001:4b98:dc6::25 metric 4294967295 error -101`.
Seems to me ip route should simply return `unreachable 2001:bc8:30b9:ff42::1`?
This is mostly a cosmetic problem, but it's pretty weird. I think it's
probably related to this machine having a second routing table that
*does* have a default ipv6 route:

```
# ip -6 route list table public | grep default
default via 2001:4b98:dc6::126 dev eth1  proto bird  metric 1024 
```

Thank you

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iproute2 depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  libbsd0                0.10.0-1
ii  libc6                  2.29-3
ii  libcap2                1:2.27-1
ii  libcap2-bin            1:2.27-1
ii  libdb5.3               5.3.28+dfsg1-0.6
ii  libelf1                0.176-1.1
ii  libmnl0                1.0.4-2+b1
ii  libselinux1            2.9-2+b2
ii  libxtables12           1.8.3-2

Versions of packages iproute2 recommends:
pn  libatm1  <none>

Versions of packages iproute2 suggests:
pn  iproute2-doc  <none>

-- debconf information excluded

Reply via email to