Todo #14881
closedfor wiregaurd interface add linklocal IPv6 address
0%
Description
Since frr8- frr9 requires that the fe80:: address must be configured. so wiregaurd need add this fe80:: address.
I originally used aliases to add wg interfaces, but this method is invalid in version pf23.09. So I need a function to add fe80 addresses to the required interfaces.
https://forum.netgate.com/topic/183372/some-services-show-can-t-start/44?_=1697301592126
Files
Related issues
Updated by Jim Pingle about 1 year ago
- Project changed from pfSense to pfSense Packages
- Category changed from Interfaces to WireGuard
- Release Notes deleted (
Default)
Updated by Marcos M about 1 year ago
- Status changed from New to Incomplete
I originally used aliases to add wg interfaces, but this method is invalid in version pf23.09.
What method is this exactly? The LL address can be added in the WireGuard tunnel config (this is on 23.09 dev):
tun_wg0: flags=10080c1<UP,RUNNING,NOARP,MULTICAST,LOWER_UP> metric 0 mtu 1420 options=80000<LINKSTATE> inet 172.25.200.1 netmask 0xffffff00 inet6 fe80::250:56ff:feb2:8560%tun_wg0 prefixlen 64 scopeid 0x8 groups: wg WireGuard nd6 options=101<PERFORMNUD,NO_DAD>
Updated by Marcos M about 1 year ago
- Status changed from Incomplete to Duplicate
Updated by Marcos M about 1 year ago
- Is duplicate of Feature #14652: FRR OSPF6 not working over wireguard added
Updated by yon Liu about 1 year ago
I used firewall_virtual_ip.php to add the fe80 address before, and it worked. However, this method has failed in recent versions 23.09.
I suggest providing a page to add fe80 and mac addresses for each required interface, not only for wiregaurd, but other interfaces may also need this in the future.
Add these two tool functions to our pfsense.
https://www.browserling.com/tools/random-mac
https://nettools.club/mac2ipv6
Updated by Marcos M about 1 year ago
The VIP page allows LL addresses, a new page isn't needed for that part. The MAC address can be manually set on assigned interfaces(as long as the interface supports it), so a new page isn't needed for that either.
Updated by yon Liu about 1 year ago
when restart wg service, then VIP setup LL address is lost in wg interface. it can't always keep for wg interface.