Thread (7 messages) flat view 7 messages, 3 authors, 2021-06-25

Re: Issues during assigning addresses on point to point interfaces

From: Nicolas Dichtel <hidden>
Date: 2021-06-25 15:32:14
Also in: lkml

Le 25/06/2021 à 17:27, Pali Rohár a écrit :
[snip]
quoted
quoted
Hello Nicolas!

See my original email where I put also rtnetlink packets (how strace see
them). Seems that there is a bug in handling them (or bug in iproute2)
as setting just peer (remote) IPv6 address is ignored:
https://lore.kernel.org/netdev/20210606151008.7dwx5ukrlvxt4t3k@pali/ (local)

Do you have any idea if this is affected by that "issue in the uAPI"?
And what is the way how to fix it?
What about forcing IFA_LOCAL address to :: in your case?
It does not work. ip address returns error:

    $ sudo ip address add :: peer fe80::8 dev ppp0
    RTNETLINK answers: Cannot assign requested address
So this trick could probably be used to handle your case, without breaking
anything, as it's not a valid command today.


Regards,
Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help