I've just recently realized something about the "lo" interface.

You can bind a socket to any 127.0.0.N address, even though only
127.0.0.1/8 is configured in /etc/config/net, and "ip addr" only shows
127.0.0.1/8 for that interface. In the past, when I wanted to use
other 127.0.0.N address, I always added them to /etc/config/net. The
last time, I forget to do that. Later, I realized it was working
anyway. I've since removed all of the extra "lo" addresses from
/etc/config/net, and everything still works.

Apparently "lo" is special.

Perhaps I don't even need to have 127.0.0.1/8 listed in
/etc/config/net...

--
Grant



Reply via email to