Ahrenholz, Jeffrey M wrote:
Hi,
We have discussed using 127.0.0.0 for LSIs, say 127.100.0.0/16, but
will that really work?
in the OpenHIP software we have a macro IN_LOOP() to check if an IPv4
address is equal to (INADDR_LOOPBACK >> IN_CLASSA_NSHIFT), i.e. if
the top bits equal 127
(see /usr/include/netinet/in.h on Linux)
I wonder if other applications use similar techniques to check for
loopback addresses? Using 127.100.0.0/16 would be problematic in that
case.
many apps probably (?) just check 127.0.0.0/8 which could be a big
problem for HIP. I would prefer getting a slot from 1.0.0.0/x address
space to avoid such problems. We have been experimenting with the
1.0.0.0/x address space without any problems.