Page MenuHomeFreeBSD

Correct loopback route for aliases IP addresses
AbandonedPublic

Authored by zlei on Jun 18 2021, 7:50 AM.
Referenced Files
Unknown Object (File)
Tue, Apr 16, 3:59 PM
Unknown Object (File)
Thu, Mar 28, 1:04 PM
Unknown Object (File)
Mar 12 2024, 3:33 AM
Unknown Object (File)
Dec 20 2023, 4:12 AM
Unknown Object (File)
Nov 19 2023, 6:32 PM
Unknown Object (File)
Aug 25 2023, 7:36 PM
Unknown Object (File)
Aug 15 2023, 1:49 PM
Unknown Object (File)
Aug 15 2023, 1:43 PM
Subscribers

Details

Reviewers
melifaro
Group Reviewers
network
Summary

A loopback route is required only when the logical interface is not a loopback.

PR: 256681

Test Plan

Create loopback, tun and tap clones, with IP address and IP aliases, verify the route table is expected.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zlei requested review of this revision.Jun 18 2021, 7:50 AM
zlei created this revision.
sys/netinet/in.c
780

TODO: Need revision to reflect the change.

sys/netinet/in.c
938

Not sure if it is useful to routing daemons.

I'm surprised. There was a discussion about not redirecting /32 on interfaces to loopback. So we see the consequence.

I believe this bug is also related: #255685

I'm surprised. There was a discussion about not redirecting /32 on interfaces to loopback. So we see the consequence.

Can you please share the discussion? Thanks!

In D30811#693218, @zlei.huang_gmail.com wrote:

Can you please share the discussion? Thanks!

Unfortunately not. The mailing list archive is not accessible to me.

Abandoned since it works as intended.