passt/test/passt_in_ns
David Gibson 53176ca91d test: Wait for DAD on DHCPv6 addresses
After running dhclient -6 we expect the DHCPv6 assigned address to be
immediately usable.  That's true with the Fedora dhclient-script (and the
upstream ISC DHCP one), however it's not true with the Debian
dhclient-script.  The Debian script can complete with the address still
in "tentative" state, and the address won't be usable until Duplicate
Address Detection (DAD) completes.  That's arguably a bug in Debian (see
link below), but for the time being we need to work around it anyway.

We usually get away with this, because by the time we do anything where the
address matters, DAD has completed.  However, it's not robust, so we should
explicitly wait for DAD to complete when we get an DHCPv6 address.

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085231

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2024-10-18 20:27:51 +02:00
..
dhcp test: Wait for DAD on DHCPv6 addresses 2024-10-18 20:27:51 +02:00
icmp passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
shutdown passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00
tcp conf: Allow address remapped to host to be configured 2024-08-21 12:00:35 +02:00
udp conf: Allow address remapped to host to be configured 2024-08-21 12:00:35 +02:00