Skip to content

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Dec 23, 2024

For point-to-point interfaces IFA_ADDRESS points to the peer address instead of the local address.

Important comment:
IFA_ADDRESS is prefix address, rather than local interface address.
It makes no difference for normally configured broadcast interfaces,
but for point-to-point IFA_ADDRESS is DESTINATION address,
local address is supplied in IFA_LOCAL attribute.

On point-to-point networks IFA_ADDRESS points to the peer address
instead of the local address.

    /*
     * Important comment:
     * IFA_ADDRESS is prefix address, rather than local interface address.
     * It makes no difference for normally configured broadcast interfaces,
     * but for point-to-point IFA_ADDRESS is DESTINATION address,
     * local address is supplied in IFA_LOCAL attribute.
    */
@sreimers sreimers force-pushed the netlink_fix_ifa_local branch from 3bd3d24 to a54a490 Compare December 23, 2024 19:23
@sreimers sreimers merged commit 1a58d37 into main Dec 23, 2024
38 checks passed
@sreimers sreimers deleted the netlink_fix_ifa_local branch December 23, 2024 19:29
jmontorosf pushed a commit to sipfront/re that referenced this pull request Jun 12, 2025
For point-to-point interfaces IFA_ADDRESS points to the peer address instead of the local address.

>  Important comment:
>  IFA_ADDRESS is prefix address, rather than local interface address.
>  It makes no difference for normally configured broadcast interfaces,
>  but for point-to-point IFA_ADDRESS is DESTINATION address,
>  local address is supplied in IFA_LOCAL attribute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant