> >I've done this before, and this does prevent multiple web servers from
> >listening on the same port.
> 
> I think that this is definitely a problem. A virtual IP does not have it's 
> own port, but it is sharing the same port with the main ip.
> 
> If a machine has main ip 1.2.3.4 and virtual 1.2.3.5 and 1.2.3.6, if I set 
> a web server on port 80 on 1.2.3.4, also the other two ip address will be 
> listening on port 80.

There is no 1.2.3.5 or 1.2.3.6, unless you have additional interfaces, which
are either virtual interfaces providing additional IPs on a single card, or
multiple cards.

> This, obviously, unless you have 2 different network cards on the system.

Or virtual interfaces running on the same real ether card.

tim.


Reply via email to