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

From: Frank Crowder (frank.crowder_at_datastream.net)
Date: Tue 28 Jun 2005 - 20:17:54 BST

Your crystal ball is intact. Vserver names were dmain1, dmain2, and dmain3. Server name was dmain.

ifconfig yields eth0:dmai with the correct ip addresses for dmain, dmain2 and dmain3. Changing the vserver names to vs01, vs02, vs03 corrected the problem.

Many thanks,

Frank Crowder

On Tue, 28 Jun 2005 00:13:14 +0200 Björn rSteinbrink wrote

From: Bj?rn Steinbrink <B.Steinbrink_at_gmx.de>

Subject: Re: [Vserver] can not ping 1st vserver when 3 vservers exist.

To: vserver_at_list.linux-vserver.org

Message-ID: <20050627221314.GA15145_at_doener.homenet>

Content-Type: text/plain; charset=iso-8859-1


On 2005.06.27 17:40:17 -0400, Frank Crowder wrote:

> I have 3 vservers. I can ping vserver 2 and 3, but not vserver 1. If I

> restart vserver1, I can ping vserver1 and vserver3. Any suggestions

> are very appreciated.

I guess you're hitting the primary/secondary network issue, but as you didn't provide much information (kernel/tools version, network configuration of the vservers) and my crystal ball is broken, I can't tell anything else ;)

For the primary/secondary stuff:

In Linux, for each subnet there is one primary address. If this address is removed, all secondaries are removed, too. Example, I assume that there are no addresses from configured


ifconfig eth0:0 <-- becomes primary

ifconfig eth0:1 <-- becomes secondary

ifconfig eth0:2 <-- becomes secondary

ifconfig eth0:3 <-- becomes secondary

ifconfig eth0:2 down --- eth0:2 is gone now

ifconfig eht0:0 down --- eth0:0 _and_ eth0:1 and eth0:3 are gone now

So if you have addresses from the same subnet in different vservers, and of the vservers 'owns' the primary address, stopping/restarting that vserver will causes the other vserver to lose their addresses.


Either reserve an ip address in the used subnets that is statically configured on the host and being the primary one (i.e. the first address from that subnet), so the primary address will never be removed. Or use /32 addresses, that way, the subnet contains only a single address and thus there can't be any secondaries.



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 Tue 28 Jun 2005 - 20:18:22 BST by hypermail 2.1.3