WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] vifs and veth not created

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] vifs and veth not created
From: ccmail111 <ccmail111@xxxxxxxxx>
Date: Thu, 17 Jun 2010 22:07:24 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Jun 2010 22:08:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1276837644; bh=DeYPv8o5g/qIm0TJf4yuZJfOfso+2ceMD52qnWQSmI4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=fy/DrBq+CZ/ONBnbe6yykmUDR4ShUI8WjAgu3mrSPLvwZ3MTwo7wR+glUP9p4tnM9OW1tQlBzaFKPC3McBxGVrbh1NeZF1QtXcRCvHXZwhRB2gn1bktRTC04AEItmXOMfCnOZrp4yaxefRQ9poMZm4TD3QC3OR2GOVbueEo7Bjc=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=iynKEykuJoasAd/i2+X7eytqPSKZg29HLH19FYZGTp5FwspOqSyoR/txWRUrtGsl++jSjJ7eVwBZ5ZTcvKoT/RKQzQ7s2ljjKHArhs0srTlDFvinKIyplkxgEJyawtau7U03oZT2gtEuZrIJ5ZUnx6PyUCmrMi+kkfSK/eikSoY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinyIOKrqjY_iPvRoDr_nXM-Fx03VK2Jv9AtJPWq@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar,
 


--- On Thu, 6/17/10, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:

From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] vifs and veth not created
To: "ccmail111" <ccmail111@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, June 17, 2010, 10:34 PM

On Fri, Jun 18, 2010 at 9:27 AM, ccmail111 <ccmail111@xxxxxxxxx> wrote:
>   hmm, yep I see that in 3.4.2 veth and vif were created by default

Really? 3.4.2 should bevahe the same way as 4.0 regarding bridged
networking. Unless if you have your own custom network-bridge script?
^^^^^^^^^
          sorry typo, I meant what you mentioned: veth and vif are not created by default.
  So in Xen 4.0 veth and vif are only created while creating domUs ? Are they added to bridge at same time also ?
----
The one responsible for creating vif-veth pair in dom0 is the netloop
module. After that, network-bridge script does some renaming (like old
eth0 -> peth0, and veth0 -> eth0 for older version of xen).

> but in xen 4.0 I dont see veth and/or vif  being created.
>
> Is there any documentation for above or related in Xen 4.0 ?

The one documenting the change? not that I know of. Also like I said,
it's not a change in Xen 4.0, but in previous versions (don't know
which one exactly)

> I'm guessing you don't have network backend support built on dom0.
> Which dom0 kernel did you use? How did you build it?
> ^^^^^^^^^^^
>    I build and package it myself. dom0: 2.6.32-13 kernel.   How do I enable the backend support ?

This is my dom0 pv_ops kernel config: http://pastebin.com/5L44xXQj

The most important backend-related configs are
CONFIG_XEN_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=m
CONFIG_XEN_BLKDEV_BACKEND=m
^^^^^^^^^^^
   Thanks, I will check that.
 

--
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users