Closed LYK-love closed 1 year ago
How about take a look at this? https://superuser.com/questions/458875/how-do-you-get-loopback-addresses-other-than-127-0-0-1-to-work-on-os-x I believe this is a Mac OS issue rather than an iproute2mac issue.
Thanks @jxcang for the comment here, I agree this has nothing to do with iproute2mac and the routes, but the behavior depends on where and how is the OS binding on 127.0.0.0/8.
i execute the
ip
command and get the following output, note that127.0.0.0/8
implies that all 127.* address is passed through loopback in route tableHowever, when i ping IP loopback other than 127.0.0.1, i got the following output:
It seems the 127.0.0.2 is not an loopback address, however the 127.* block is allocated to loopback according to the route table, I cant understand why QaQ