Bug 2209701 - "ip -6 route" command cuts ip address
Summary: "ip -6 route" command cuts ip address
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 38
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Andrea Claudi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-24 14:59 UTC by lars.koeppel
Modified: 2023-07-17 07:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lars.koeppel 2023-05-24 14:59:28 UTC
When using tailscale, it creats an interface with an ip address with a prefixlen of 128.

If i run "ip -6 route" it will cut the ip address after 31 characters. So the output looks like "aaaa:bbbb:cccc:dddd:eeee:ffff:g" but the output is expected to look like "aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh".

In Ubuntu and Arch the same command results in the correct output. Also the command "ip -6 addr" results in the correct output on all distros.

Reproducible: Always

Steps to Reproduce:
1. run Tailscale with ipv6
2. run command "ip -6 route"
Actual Results:  
aaaa:bbbb:cccc:dddd:eeee:ffff:g dev tailscale0 proto kernel metric 256 pref medium

Expected Results:  
aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh dev tailscale0 proto kernel metric 256 pref medium

Comment 1 lars.koeppel 2023-07-17 07:32:11 UTC
Since opening this bug report, i found from an other bug report(https://github.com/shemminger/iproute2/commit/890c599ec2e8905e7b8a433be3646d5d34901810), that the problem is connected to the glibc library.

They found a solution on how to fix this problem. Maybe you can have a look at it.


Note You need to log in before you can comment on or make changes to this bug.