Skip to content

since 10.1.0, cannot assign the same IPv4 to 2 interfaces anymore #392

@perkelix

Description

@perkelix

As per log below:

Oct 24 20:33:16 u1400 dhcpcd[676]: dhcpcd-10.1.0 starting
Oct 24 20:33:16 u1400 dhcpcd[679]: DUID 00:01:00:01:2c:91:da:a1:00:1c:23:28:c9:4f
Oct 24 20:33:17 u1400 dhcpcd[679]: wlp12s0: waiting for carrier
Oct 24 20:33:17 u1400 dhcpcd[654]: enp9s0: waiting for carrier
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: carrier acquired
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: connected to Access Point: 715517
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: IAID e0:36:99:1b
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: adding address fe80::9f61:80bd:9b17:ccf0
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: soliciting a DHCP lease
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: offered 172.16.1.14 from 172.16.1.1
Oct 24 20:33:19 u1400 dhcpcd[679]: wlp12s0: probing address 172.16.1.14/16
Oct 24 20:33:20 u1400 dhcpcd[654]: enp9s0: carrier acquired
Oct 24 20:33:20 u1400 dhcpcd[654]: enp9s0: IAID 23:28:c9:4f
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: soliciting a DHCP lease
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: offered 172.16.1.14 from 172.16.1.1
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: probing address 172.16.1.14/16
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: 00:1c:23:28:c9:4f(00:1c:23:28:c9:4f) claims 172.16.1.14
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: DAD detected 172.16.1.14
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: soliciting an IPv6 router
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: soliciting an IPv6 router
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: Router Advertisement from fe80::5022:e24d:b9fa:2d57
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: Router Advertisement from fe80::5022:e24d:b9fa:2d57
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: adding address 2001:14ba:a00e:1905:b8c3:d439:7b3b:26f1/64
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: adding route to 2001:14ba:a00e:1905::/64
Oct 24 20:33:21 u1400 dhcpcd[679]: wlp12s0: adding default route via fe80::5022:e24d:b9fa:2d57
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: adding address 2001:14ba:a00e:1905:6883:ff76:955e:d5c9/64
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: adding route to 2001:14ba:a00e:1905::/64
Oct 24 20:33:21 u1400 dhcpcd[654]: enp9s0: adding default route via fe80::5022:e24d:b9fa:2d57
Oct 24 20:33:22 u1400 dhcpcd[679]: wlp12s0: soliciting a DHCP lease
Oct 24 20:33:26 u1400 dhcpcd[654]: enp9s0: leased 172.16.1.14 for infinity
Oct 24 20:33:26 u1400 dhcpcd[654]: enp9s0: adding route to 172.16.0.0/16
Oct 24 20:33:26 u1400 dhcpcd[654]: enp9s0: adding default route via 172.16.1.1

Basically, DAD mistakenly prevents 2 interfaces on the same host from using the same address. This wasn't the case before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions