Page MenuHomeFreeBSD

Correct loopback route for aliases IP addresses
Needs ReviewPublic

Authored by zlei.huang_gmail.com on Jun 18 2021, 7:50 AM.

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
R10 FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

zlei.huang_gmail.com 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!

Can you please share the discussion? Thanks!

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