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-devel] Re: [Xen-users] XEN - networking and performance

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: [Xen-users] XEN - networking and performance
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Mon, 10 Oct 2011 21:21:36 +0100
Delivery-date: Mon, 10 Oct 2011 13:23:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=q8+8n9KkZs0t6hiNwqogwE2l4No9Z5w0WRrzLLgecks=; b=UNUlDEQ645oyQ8W4J8CwheMTE/L7UAQjfMevFW4wZNkH+wnfqsic9fj30uUZSc0Zm/ 9H1vQSJoYFbsq4J5C1Rh/wfUT9i7QfcuO36udewc07kOyHaXhcZpC0/DafRsYT7Ra6aP M5eAv/wHxbxE3gkcKCopv/QXxpNAxUNgIO/AU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111010170330.GA30732@xxxxxxxxxxxxxxxxx>
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: <20111006203821.CD70CE9342@xxxxxxxxxxxxxxxxxxxxx> <20111008190701.50DFBAE098@xxxxxxxxxxxxxxxx> <20111010170330.GA30732@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 10 October 2011 18:03, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:


> You lost me. <sigh> I am using a bridge configuration and just
> do:
>
> auto lo
> iface lo inet loopback
>
> auto switch
> iface switch inet static
>        address 192.168.101.16
>        netmask 255.255.255.0
>        gateway 192.168.101.1
>        bridge_ports eth2
>
> And just use that 'bridge=switch' in all my configuration. And that
> seems to work just fine - wouldn't that be best way of providing
> the first network setup to users? I would think the majority of folks
> do something akin to this?

Yep, I keep mine simple too, in Redhat/Centos/Fedora terms my networking is

# cat /etc/sysconfig/network-scripts/ifcfg-virbr0
DEVICE=virbr0
TYPE=Bridge
ONBOOT=yes
USERCTL=no
BOOTPROTO=none
IPADDR0=192.168.1.125
PREFIX0=24
GATEWAY0=192.168.1.1
DNS1=192.168.1.1
DEFROUTE=YES
IPV6INIT=no
NM_CONTROLLED=no

# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"
BOOTPROTO=none
ONBOOT="yes"
NM_CONTROLLED=no
HWADDR=00:1E:8C:BC:53:36
TYPE=Ethernet
BRIDGE=virbr0
NAME="System em1"
UUID=1dad842d-1912-ef5a-a43a-bc238fb267e7

# cat /etc/rc.d/rc.local
ifup virbr0
ifup em1
ip route add default via 192.168.1.1

then in each domU's .cfg file

vif = [ 'mac=00:16:36:xx:yy:zz, bridge=virbr0' ]

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

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