HomeVyOS Platform

vyos.template: T5869: first_host_address() does not honor RFC4291 section 2.6.1

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

vyos.template: T5869: first_host_address() does not honor RFC4291 section 2.6.1

The subnet router anycast address is predefined. Its format is as follows:

n bits128-n bits

+------------------------------------------------+----------------+

subnet prefix00000000000000

+------------------------------------------------+----------------+
The "subnet prefix" in an anycast address is the prefix that identifies a
specific link. This anycast address is syntactically the same as a unicast
address for an interface on the link with the interface identifier set to zero.

Packets sent to the Subnet-Router anycast address will be delivered to one
router on the subnet. All routers are required to support the Subnet-Router
anycast addresses for the subnets to which they have interfaces.

The Subnet-Router anycast address is intended to be used for applications where
a node needs to communicate with any one of the set of routers.

Our code as of now returns the subnet router anycast address as the
first_host_address().

(cherry picked from commit cc4ce81ece57faca8ce111b8f3748389ecb40202)

Details

Provenance
c-poAuthored on Dec 29 2023, 12:29 PM
MergifyCommitted on Dec 29 2023, 5:03 PM
Parents
rVYOSONEX93427954f3ab: Merge pull request #2713 from vyos/mergify/bp/sagitta/pr-2709
Branches
Loading...
Tags
Loading...