X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.132]) by lists.alpinelinux.org (Postfix) with ESMTP id 6C02861A651 for ; Sat, 17 Oct 2009 10:22:44 +0000 (UTC) Received: from [10.10.10.2] (ppp-94-65-254-172.home.otenet.gr [94.65.254.172]) by smtp.freemail.gr (Postfix) with ESMTP id ADD293380E8; Sat, 17 Oct 2009 13:22:41 +0300 (EEST) Message-ID: <4AD99AF3.4050101@freemail.gr> Date: Sat, 17 Oct 2009 13:22:43 +0300 From: Harry Lachanas User-Agent: Thunderbird 2.0.0.23 (X11/20090812) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Natanael Copa CC: Alpine Developers Subject: Re: [alpine-devel] vserver References: <4AD88C6B.1000201@freemail.gr> <95408c820910161107l84597c9y364ec2cdabb2de68@mail.gmail.com> In-Reply-To: <95408c820910161107l84597c9y364ec2cdabb2de68@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Natanael Copa wrote: > 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 >> >> http://linux-vserver.org/Frequently_Asked_Questions#When_I_try_to_ssh_to_the_guest.2C_I_log_into_the_host.2C_even_if_I_installed_sshd_on_the_guest._What.27s_wrong_here.3F >> >> >> ( 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 0.0.0.0 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) > > The kernel problem appears on the vserver site the most recent stable kernel is 2.6.22.19. which I am also downloading and building it in debian right now. Kinda slow I think ( almost like debian :-) ) ... thanks, Harry --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---