[tpm] IO::Socket::INET listening on the 2nd ip address

Antonio Sun antoniosun at lavabit.com
Tue Feb 8 10:39:04 PST 2011


On Tue, Feb 8, 2011 at 9:03 AM, Antonio Sun <antoniosun at lavabit.com> wrote:

> I.e., my current IP address is 192.168.0.100, it is
> also accessible at 192.168.0.101. I want that visiting 192.168.0.100 will
> land to my normal web server, while visiting 192.168.0.101 will be handled
> by the code above.
>

FYI, it's very easy to obtain a 2nd ip address:

 ip addr add dev eth0 192.168.0.101/24

that's it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20110208/52088c77/attachment.html>


More information about the toronto-pm mailing list