On 2021-01-29, Grant Taylor <gtay...@gentoo.tnetconsulting.net> wrote:

> My understanding -- which may be wrong, and please correct me if you 
> think it is -- is that this special route (#2) is how the kernel sends 
> the entire 127/8 network to the lo adapter, even if the IP addresses 
> aren't bound to the adapter.

I think that's probably right. I had never used the 'ip route' command
like that and was unaware that route existed.

> Now, as for things receiving the connections, I think it is highly 
> dependent on if the thing is listening to 0.0.0.0 or specific IP 
> addresses.  Because if it's listening to 0.0.0.0, I think it will 
> happily serve connections to other addresses in 127/8.

Yes, that's correct. [I just tested it]

> If it's listening to explicitly 127.0.0.1, then it likely will not
> serve connections to other addresses in 127/8.

Also correct.

--
Grant





Reply via email to