neat trick:
loopback interfaces are visible from the outside (if ip_forward) set. So
you can setup lot's of loopback interfaces with different IP's if you
want.
you could literally have a seperate network completely inside your
box. then you just tell everyone that you are the gateway for that subnet.
On Tue, 20 Jun 2000, Donncha O Caoimh wrote:
> This is what I did to get two IPs on one interface. There's a mini howto
> on the subject (IP_Alias I think)
>> /sbin/ifconfig eth0:0 192.168.0.35
> /sbin/route add -host 192.168.0.35 dev eth0:0
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!