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] Virt-manager networking and config files

To: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Subject: Re: [Xen-users] Virt-manager networking and config files
From: Digimer <linux@xxxxxxxxxxx>
Date: Wed, 02 Jun 2010 19:58:30 -0400
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Jun 2010 17:53:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C06C185.4070804@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: <4C06C185.4070804@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
On 10-06-02 04:39 PM, Jonathan Tripathy wrote:
Hi Everyone,

How does one create a new network bridge, when using virt-manager? From
the command line as root, I tried "brctl addbr newbridge". While "brctl
show" does show the new bridge in the list, ifconfig doesn't bring it up
and I can't add it to the VM in virt-manager

Also, where are the config files stored in virt-manager? So I could make
some manual tweaks?

Thanks

J

Normally I hate the "ask X, get recommended Y" type replies, so sorry in advance.

I was struggling with bridging just yesterday and the Fedora fellow I was talking to strongly recommended simply hand-crafting the bridge config files. I did this and got my virtual machine (kvm) up and running finally.

Here's to hoping someone has a more direct and appropriate answer. :)

Digi

PS: Here's a sample:
=== /etc/sysconfig/network-scripts/ifcfg-br0 ===
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.12
NETMASK=255.255.255.0
GATEWAT=192.168.1.1
================================================

The add: "BRIDGE=br0" to the appropriate 'ifcfg-ethX' file and restart networking.

--
Digimer
E-Mail:         linux@xxxxxxxxxxx
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org

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

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