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-japanese

Re: [Xen-japanese] 仮想ネットワーク構成

To: xen-japanese@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-japanese] 仮想ネットワーク構成
From: Keiichi Okabe <okabek@xxxxxxxxx>
Date: Fri, 13 Mar 2009 18:39:25 +0900
Delivery-date: Fri, 13 Mar 2009 02:39:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QhFKpEVHZ532pLH+SY3J9SqYEsKNIMwuAQYYgCPx/pI=; b=GfC7U2zDwmN7y+5EftmmBVYtp7QQL+PbmgUTRWMiKcobmzsDn+8TvK2J9jDkSLlxN+ cyXuytU06emV73dtaZ05U1r9PYG1kRTAlE/i/+bLHdfHw3toUiGAf7/T++3y884X1OsA CRG5gKKhp/m1UNxd6g4oMCxfhdyKnPG7o/5ds=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lYwJ2nur1XUjH7iC1eZdvYb4lf5Wae+iZFId8DU/4FlH1Mpj/ZDzWD9EQRqxVTNmCM 7SNT8j3thCSMmnx9qZ5ELiPge3vFoYJyfXcIsNuyQWd4tU55XZ1nFQOmUWoIdBLUvu2P KP1VZxQMkCQAM5kHMAuZSg0AyoIhODZTqLus4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A6C9A3BB5506F1kanno.masaki@xxxxxxxxxxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xen-japanese>
List-help: <mailto:xen-japanese-request@lists.xensource.com?subject=help>
List-id: xen-japanese.lists.xensource.com
List-post: <mailto:xen-japanese@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-japanese>, <mailto:xen-japanese-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-japanese>, <mailto:xen-japanese-request@lists.xensource.com?subject=unsubscribe>
References: <3e0a22940903120905g4b17972epd4ee2350a292b59@xxxxxxxxxxxxxx> <9DC9A370C1365Dkanno.masaki@xxxxxxxxxxxxxx> <3e0a22940903130146l7484d763y7baa0f157d5caaf5@xxxxxxxxxxxxxx> <A6C9A3BB5506F1kanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-japanese-bounces@xxxxxxxxxxxxxxxxxxx
菅野さん,岡部です.

2009/3/13 Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>:

> たしか、
>  1) eth0 を peth0 にリネーム
>  2) xenbr0 を作成
>  3) veth0 を eth0 にリネーム
>  4) peth0 と vif0.0 を xenbr0 に接続
>  5) ifup eth0
> だったかな?

あー
/etc/xen/scripts/network-bridge のコメントにも書いてありました...
# start:
# Creates the bridge
# Copies the IP and MAC addresses from netdev to vdev
# Renames netdev to be pdev
# Renames vdev to be netdev
# Enslaves pdev, vdev to bridge

bridge -> xenbr0
netdev -> eth0
vdev -> veth0
pdev -> peth0
vif0 -> vif0.0

コメントの最後でvdevをbridgeにくっつけるとありますが,
コードが
        ip link set ${bridge} up
        add_to_bridge  ${bridge} ${vif0}
        add_to_bridge2 ${bridge} ${pdev}
        do_ifup ${netdev}
となっているので,菅野さんがお書きになっているように,
>  4) peth0 と vif0.0 を xenbr0 に接続
というのが正しいようです.

ありがとうございました.
-- 
okabek@xxxxxxxxx  岡部 恵一
成功出於衆者、先知也、先知者、必取於人、知敵之情者也
          孫子 用間篇 第十三
Sent from: Minato 13 Japan.

_______________________________________________
Xen-japanese mailing list
Xen-japanese@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-japanese
<Prev in Thread] Current Thread [Next in Thread>