Mail archive

Re: [alpine-devel] vserver

From: Natanael Copa <>
Date: Fri, 16 Oct 2009 18:07:57 +0000

On 10/16/09, Harry Lachanas <> wrote:
> I wonder
> a) if possible to achive networking ( any kernel issues here ??) on
> vserver and vhosts using bridges ( like xen, openvz )

no becuase xen an openvz provides a virtual network stack for the
guests (with xen the guest needs another kernel with network stack).
The network interface in guest is the same network interface on host.

well... that means that you can create a bridge on the host and assign
it to the guest, but the problem here is that the guest and host share
the network interface.

> b) If anybody succeded doing it ?
> Vserver networking IMHO is not the best you can get ...

depends on how you define "best". if you mean flexible (as in each
guest can run its own firewall) then you are right. If you mean use
less resources (speedier and less memory) then vserver is the best. :)

> Immediately after I installed vs and vhost and ssh on both .. I crashed
> into this
> ( my luck I guess ;-) )

yeah... you are right. networking might be slightly tricky since the
guests shares the network with host. Think chroot. If you have got the
guest running and you run "ip addr" on host you will see that the
guests ip addesses is assigned to the hosts network interface. Again.
think the guest as a chroot more than a virtual machine.

That said, the newer kernels does have some nice tricks to hide the
problem with address binding and loopback.

I even think they have done some attempt to create virtual network
stacks for the guests in recent kernels. I havent tested those though.

What do you run on your vserver host? kernel version?

I'm working on setting up a compile server for alpine and I need to
have vserver with recent kernel on that one. (actually working on it
as we speak)

Natanael Copa
Received on Fri Oct 16 2009 - 18:07:57 UTC