Re: Make packets to localhost go through external loopback

Krzysztof G. Baranowski (kgb@manjak.knm.org.pl)
Mon, 17 May 1999 17:44:35 +0200 (EEST)


On Sat, 15 May 1999, Pavel Machek wrote:
> I know this has been here before. Alan's response was that it is only
> good for testing. There was even patch around. Does anyone remember
> what needs to be patched?
I don't, but when I was doing some testing under 2.0.x kernel I did

ifconfig ${DEV} ${DEV_IP}
ifconfig ${ALIAS} ${ALIAS_IP}
route add -host ${DEV_IP} dev ${ALIAS}
route add -host ${ALIAS_IP} dev ${DEV}

and it worked for me(tm).

Cheers,
Kris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/