Project

General

Profile

Actions

Feature #16914

open

Set IP Alias VIP as the Router Advertisement source

Added by Ben Monroe 22 days ago. Updated 13 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.07
Release Notes:
Default

Description

I would like to be able to set a static LLAs (such as fe80::10:1/64, fe80::20:1/64 etc) on WAN-tracked interfaces.
Reason: Each interface receives a SLAAC-LLA which is not ideal to troubleshoot when looking at traceroutes. Typically routers use static LLAs on their interfaces for network management.

Tried alternatives:
-Added as a virtual IP (IP alias). RA does not advertise it.
-Added via a shellcmd.
ifconfig igc0.10 inet6 fe80::10:1/64 alias
RA does not advertise it.

It might be possible with CARP VIP, but that adds a lot of unnecessary complications that I do not want.

A shellcmd to inject AdvRASrcAddress into the radvd configuration may also work, but it seems too fragile and prone to later break.

Posted on Netgate forum:
https://forum.netgate.com/topic/200815/static-lla-gateway-and-ras-on-tracked-interfaces
Suggested to post a feature request.

Actions #1

Updated by Marcos M 20 days ago

  • Status changed from New to Assigned
  • Assignee set to Marcos M
Actions #2

Updated by Marcos M 18 days ago

  • Status changed from Assigned to Ready To Test
Actions #3

Updated by Steve Wheeler 14 days ago

  • Status changed from Ready To Test to Feedback

This looks good to me. Allows selecting as IPAlias VIP as the 'RA Interface'. Correctly generates an radvd.conf file with the VIP as source address.

Actions #4

Updated by Steve Wheeler 14 days ago

  • Status changed from Feedback to In Progress

Though clients are unable to pull the VIP as a route.

Actions #5

Updated by Marcos M 13 days ago

  • Status changed from In Progress to Needs Patch

This request can be reconsidered once there is confirmation that AdvRASrcAddress works as expected.

Actions #6

Updated by Marcos M 13 days ago

  • Subject changed from Set static LLA on WAN-tracked interface and notify via RA to Set IP Alias VIP as the Router Advertisement source
  • Status changed from Needs Patch to Feedback
  • Target version set to 2.9.0
  • % Done changed from 0 to 100
  • Plus Target Version set to 26.07

Further testing showed that this works as expected. A packet capture shows the RA source as the IP Alias VIP and the client (also pfSense) used said VIP as the default gateway. Testing was also successful with an IP Alias VIP that had a CARP parent.

Implemented with f6d32f504acbbec80bdc40e074d6f952d4a04020. Show

Actions

Also available in: Atom PDF