{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/3454","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/3454/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/3454/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/3454/events","html_url":"https://github.com/systemd/systemd/issues/3454","id":158827019,"number":3454,"title":"[BUG][IPv6] networkd additionally do SLAAC for interfaces with RA from others","user":{"login":"tomty89","id":8604057,"avatar_url":"https://avatars.githubusercontent.com/u/8604057?v=3","gravatar_id":"","url":"https://api.github.com/users/tomty89","html_url":"https://github.com/tomty89","followers_url":"https://api.github.com/users/tomty89/followers","following_url":"https://api.github.com/users/tomty89/following{/other_user}","gists_url":"https://api.github.com/users/tomty89/gists{/gist_id}","starred_url":"https://api.github.com/users/tomty89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomty89/subscriptions","organizations_url":"https://api.github.com/users/tomty89/orgs","repos_url":"https://api.github.com/users/tomty89/repos","events_url":"https://api.github.com/users/tomty89/events{/privacy}","received_events_url":"https://api.github.com/users/tomty89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T03:20:51Z","updated_at":"2016-06-07T09:59:35Z","closed_at":null,"body":"### Submission type\r\n\r\n  - [X] Bug report\r\n  - [ ] Request for enhancement (RFE)\r\n\r\n### systemd version the issue has been seen with\r\n\r\n> 230\r\n\r\n### Used distribution\r\n\r\n> Arch Linux\r\n\r\n### In case of bug report: Expected behaviour you didn't see\r\n\r\nSLAAC would only be done with its own RA of each interface, which is what the kernel would do:\r\n\r\n```\r\n[tom@localhost ~]$ ip a\r\n2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000\r\n    link/ether ac:22:0b:29:e6:0c brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c800:950e:ad68:ae22:bff:fe29:e60c/64 scope global mngtmpaddr dynamic \r\n       valid_lft 86200sec preferred_lft 3400sec\r\n    inet6 fe80::ae22:bff:fe29:e60c/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n3: wlp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\r\n    link/ether cc:e1:d5:29:fd:58 brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c805:e00:7c00:cee1:d5ff:fe29:fd58/64 scope global mngtmpaddr dynamic \r\n       valid_lft 1616sec preferred_lft 1615sec\r\n    inet6 fe80::cee1:d5ff:fe29:fd58/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n\r\n[tom@localhost ~]$ ip -6 r\r\n2404:c800:950e:ad68::/64 dev enp3s0  proto kernel  metric 256  expires 86197sec pref medium\r\n2404:c805:e00:7c00::/64 dev wlp0s20u2  proto kernel  metric 256  expires 1613sec pref medium\r\nfe80::/64 dev enp3s0  proto kernel  metric 256  pref medium\r\nfe80::/64 dev wlp0s20u2  proto kernel  metric 256  pref medium\r\ndefault via fe80::ff:fe01:201 dev enp3s0  proto ra  metric 1024  expires 2497sec hoplimit 255 pref medium\r\n```\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\nSLAAC was done on each interface with all RA the system received (i.e. even from interface that is not managed by networkd). For example, if `enp3s0` is managed by networkd and `wlp0s20u2` is not:\r\n\r\n```\r\n[tom@localhost ~]$ ip a\r\n2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000\r\n    link/ether ac:22:0b:29:e6:0c brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c805:e00:8a00:ae22:bff:fe29:e60c/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 1580sec preferred_lft 1580sec\r\n    inet6 2404:c800:950e:ad68:ae22:bff:fe29:e60c/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 86386sec preferred_lft 3586sec\r\n    inet6 fe80::ae22:bff:fe29:e60c/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n3: wlp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\r\n    link/ether cc:e1:d5:29:fd:58 brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c805:e00:8a00:cee1:d5ff:fe29:fd58/64 scope global mngtmpaddr dynamic \r\n       valid_lft 1580sec preferred_lft 1580sec\r\n    inet6 fe80::cee1:d5ff:fe29:fd58/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n\r\n[tom@localhost ~]$ ip -6 r\r\n2404:c800:950e:ad68::/64 dev enp3s0  proto ra  metric 1024  pref medium\r\n2404:c805:e00:8a00::/64 dev wlp0s20u2  proto kernel  metric 256  expires 1570sec pref medium\r\n2404:c805:e00:8a00::/64 dev enp3s0  proto ra  metric 1024  pref medium\r\nfe80::/64 dev enp3s0  proto kernel  metric 256  pref medium\r\nfe80::/64 dev wlp0s20u2  proto kernel  metric 256  pref medium\r\ndefault via fe80::c256:27ff:feca:219c dev enp3s0  proto ra  metric 1024  pref medium\r\ndefault via fe80::ff:fe01:201 dev enp3s0  proto ra  metric 1024  pref medium\r\n```\r\n\r\nIf both `enp3s0` and `wlp0s20u2` are managed by systemd, it could end up like this:\r\n\r\n```\r\n[tom@localhost ~]$ ip a\r\n2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000\r\n    link/ether ac:22:0b:29:e6:0c brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c805:e00:8a00:ae22:bff:fe29:e60c/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 1669sec preferred_lft 1669sec\r\n    inet6 2404:c800:950e:ad68:ae22:bff:fe29:e60c/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 86394sec preferred_lft 3594sec\r\n    inet6 fe80::ae22:bff:fe29:e60c/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n3: wlp0s20u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\r\n    link/ether cc:e1:d5:29:fd:58 brd ff:ff:ff:ff:ff:ff\r\n    inet6 2404:c800:950e:ad68:cee1:d5ff:fe29:fd58/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 86394sec preferred_lft 3594sec\r\n    inet6 2404:c805:e00:8a00:cee1:d5ff:fe29:fd58/64 scope global mngtmpaddr noprefixroute dynamic \r\n       valid_lft 1669sec preferred_lft 1669sec\r\n    inet6 fe80::cee1:d5ff:fe29:fd58/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n\r\n[tom@localhost ~]$ ip -6 r\r\n2404:c800:950e:ad68::/64 dev enp3s0  proto ra  metric 1024  pref medium\r\n2404:c800:950e:ad68::/64 dev wlp0s20u2  proto ra  metric 1024  pref medium\r\n2404:c805:e00:8a00::/64 dev wlp0s20u2  proto ra  metric 1024  pref medium\r\n2404:c805:e00:8a00::/64 dev enp3s0  proto ra  metric 1024  pref medium\r\nfe80::/64 dev enp3s0  proto kernel  metric 256  pref medium\r\nfe80::/64 dev wlp0s20u2  proto kernel  metric 256  pref medium\r\ndefault via fe80::c256:27ff:feca:219c dev enp3s0  proto ra  metric 1024  pref medium\r\ndefault via fe80::ff:fe01:201 dev wlp0s20u2  proto ra  metric 1024  pref medium\r\ndefault via fe80::ff:fe01:201 dev enp3s0  proto ra  metric 1024  pref medium\r\n```"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/224235033","html_url":"https://github.com/systemd/systemd/issues/3454#issuecomment-224235033","issue_url":"https://api.github.com/repos/systemd/systemd/issues/3454","id":224235033,"user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T09:59:35Z","updated_at":"2016-06-07T09:59:35Z","body":"hmm, isn't this something 15fec93be37f12ef6c36a3e8f7dbb1984e1bcfe7 should have fixed? Are you before or after that commit?"}}
{"actor":{"display_login":"poettering"}}