About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Fri 31 Oct 2003 - 18:02:26 GMT

On Fri, 31 Oct 2003 10:01:01 -0500, =?iso-8859-1?q?Asbj=F8rn=20Sannes?= wrote
> On Thursday 30 October 2003 17:43, Jacques Gelinas wrote:
> > Whenever the kernel drop a "main" IP aliases, all the related (secondary)
> > IP aliases (same network) are also dropped.
> A quick workaround would be to put up a dummy alias first maybe? I myself
> don't remove the aliases when the vserver is down (this may or may not be a
> workable solution for everyone, but it works for me because the vservers I
> run are up most of the time.)

If you move a vserver on a new host, you have to turn the IP alias off
and turn it on elsewhere.

Having a dummy alias will use one IP. It has to be the first alias on the same
network. I mean, if you have

        ifconfig eth0:0
        ifconfig eth0:1 netmask
        ifconfig eth0:2 netmask
        ifconfig eth0:3 netmask

If you delete eth0:1, then eth0:3 goes down as well. eth0:2 (on a different
IP network and eth0:0 are not affected).

So if you want a dummy first IP alias, it has to be on the same network
( So it has to be a real/useful IP.

Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
Vserver mailing list
Vserver mailing list

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 31 Oct 2003 - 18:12:41 GMT by hypermail 2.1.3