Hi guys,
I have set up multiple virtual FTP servers on a server through one physical NIC. I believe there are to ways; setting logical or alias ip's. I would like to know what is the difference between setting up a logical ip or setting up an alias ip to a physical network interface? Some links to docs would help.
(As an example, I'm using hme0 - your interface may be different)
You can set up a logical/virtual interface by setting the IP or a hostname in a /etc/hostname.hme0:1. If you use a hostname, it has to be in /etc/hosts. And you can either reboot or use the ifconfig command to set up the logical/virtual interface.
ifconfig plumb hme0:1 inet 172.16.1.2 netmask 255.255.255.0 broadcast 172.16.1.0 up
So how does this differ from creating an alias of the network interface? i would like to know how creating a logical or an alias differ (pros and cons).
sorry if i haven't been too clear in my original question. The ifconfig cmmand has a 'alias' parameter. What does this enable me to do? It seems very similar to a creating a logical network interface, but i can create a logical network interface without having to use the 'alias' command.