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] Setting up virtual 'ethX' devices in Xen 3.4

To: Digimer <linux@xxxxxxxxxxx>
Subject: Re: [Xen-users] Setting up virtual 'ethX' devices in Xen 3.4
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 13 Sep 2010 16:00:39 +0700
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 13 Sep 2010 02:02:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C8A76F7.9020904@xxxxxxxxxxx>
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>
References: <4C8A76F7.9020904@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Sep 11, 2010 at 1:20 AM, Digimer <linux@xxxxxxxxxxx> wrote:
> The logic was to keep traffic from the
> domU's, through the bridge and out 'pethX' without dom0 seeing anything.

That's not entirely true.
dom0 still see all the traffic, and (on default Centos setup) applies
iptables rules to them.

>  I'd like to keep this setup, but it seems under Xen 3.4 this is no
> longer the default configuration. I created a simple 'network-script' with:
>
> #!/bin/sh
> dir=$(dirname "$0")
> "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
> ...
> "$dir/network-bridge" "$@" vifnum=N netdev=ethN bridge=xenbrN
>
>  What else do I need to do to get the virtual copies of 'ethX' back on
> my dom0?

It should not really matter. The default setup now uses eth0 as the
name of the bridge (instead of xenbr0). Dom0 still see all domU
traffic, so function-wise nothing changed much.

If you still want old-style bridge setup anyway, you might be able to
copy /etc/xen/scripts/network-brige (and possibly some other files it
depends on) from the default Centos installation.

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>