test-network: add tests for duplicated address setting

Also, add more tests for PreferredLifetime=0

C.f. #20891.
This commit is contained in:
Yu Watanabe
2021-10-04 18:26:35 +09:00
parent 9202b567bc
commit 40971657ce
2 changed files with 28 additions and 0 deletions
@@ -52,11 +52,19 @@ Peer=2001:db8:0:f103::10/128
[Address]
Address=::/64
[Network]
# this will later deduped by the following section
Address=10.7.8.9/16
[Address]
Address=10.7.8.9/16
PreferredLifetime=0
Scope=link
[Address]
# this will also deduped
Address=2001:0db8:1:f101::1/64
[Address]
Address=2001:0db8:1:f101::1/64
PreferredLifetime=0