loopback net device

Dominique LARCHEY-WENDLING (Dominique.LARCHEY-WENDLING@loria.fr)
Thu, 26 Feb 1998 19:38:10 +0100


I would like to be able to have a loopback net with another
IP addr than 127.0.0.1. This is because of a licence server
running on a laptop and configured for a network with
a certain IP addr that I cannot change. But when the
network is not reachable, the server cannot be found
at the right place. So I would like either the loopback
net to mimic the real net when the laptop is standalone
(changing IP parameters), either another loopback net ...

It should be possible to do that with ifconfig/route
but isn't it dangerous as the IP addr 127.0.0.1 might
be hard-coded into some programs, or even into
the kernel as it seems from <linux/in.h> ?

#define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))

Thanks in advance

Dominique Larchey
LORIA

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu