https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254212
Bug ID: 254212
Summary: can't initialize an if_wg interface with IPv6 disabled
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
if_wg creates IPv4 and IPv6 listening sockets. sobind() will fail for the IPv6
socket when the vnet has no IPv6 addresses assigned to any interface, see the
first check in in6_pcbbind(). So if one creates a fresh vnet and instantiates
a wg interface there, the link won't come up. As a workaround one can do
something like "ifconfig lo0 up", since that automatically assigns ::1. I'm
not sure why that check in in6_pcbbind() is needed in the first place.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"