[ILUG] 3 IP's one machine?
Paul Jakma
paulj at itg.ie
Tue Jun 20 13:02:10 IST 2000
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
More information about the ILUG
mailing list