Page MenuHomeFreeBSD

Correct loopback route for aliases IP addresses
AbandonedPublic

Authored by zlei on Jun 18 2021, 7:50 AM.
Referenced Files
F115535201: D30811.diff
Fri, Apr 25, 12:04 AM
Unknown Object (File)
Wed, Apr 23, 7:41 AM
Unknown Object (File)
Wed, Apr 23, 4:36 AM
Unknown Object (File)
Wed, Apr 23, 3:02 AM
Unknown Object (File)
Wed, Apr 23, 2:26 AM
Unknown Object (File)
Sat, Apr 19, 12:29 AM
Unknown Object (File)
Mar 17 2025, 3:08 AM
Unknown Object (File)
Jan 23 2025, 3:11 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.