I would like to map ip address to specific localhost interfaces (e.g. 18.104.22.168 => 127.0.3.3). For named hosts I can use the hosts file. Naturally this doesn't work for IP address.
This has to work in windows, the only option I've found so far is implementing a TAP/TUN driver like openvpn does.
Are there any other options?