HomeFreeBSD

if_ovpn tests: fix ra test

Description

if_ovpn tests: fix ra test

Client one is supposed to be assigend 198.51.100.2, but sometimes it
loses the race and the address ends up assigned to client two. When this
happened one would try to ping itself, which failed because the loopback
interface isn't up.

Ideally we'd generate static address assignments, but that would
complicate the test. Activate loopback interfaces so the test always
passes, and just try to ping both possible addresses.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 956a46311462423f97b2410065f8caff2c630701)

Details

Provenance
kpAuthored on Oct 5 2023, 7:41 AM
Parents
rG964a91aac9c9: proc: Add sysctl flag CTLFLAG_TUN to loader tunable
Branches
Unknown
Tags
Unknown