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] Virtual Inteface Assigment

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Virtual Inteface Assigment
From: "Ronnie Tartar" <rtartar@xxxxxxxxxxxx>
Date: Sun, 1 Jun 2008 16:48:13 -0400
Delivery-date: Sun, 01 Jun 2008 13:48:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <003901c8c419$fbb32fb0$f3198f10$@com>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <001f01c8c408$d995e140$8cc1a3c0$@com> <1212340905.7648.240.camel@xxxxxxxxxxxxxxxxxxxxx> <003901c8c419$fbb32fb0$f3198f10$@com>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjEDFS3GT+8gNnpTU62yOukebxRPgADRniAAAPI7BA=
I tried adding :

   (device
        (vif
            (bridge eth0)
                (vifname purple)
              (mac 00:16:3e:02:da:66)
            (script vif-bridge)
            (uuid f4b36b7e-3a18-75e7-482e-4e5cfe752ade)
            (backend 0)
        )
    )
But after shutting down and restarting the domu, it went back to previous
without the line?

Thanks
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ronnie Tartar
Sent: Sunday, June 01, 2008 3:02 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Virtual Inteface Assigment

How can I create my config files?

Or where are they stored, 

In /var/lib/xend/domains/XXXXXX/

I have .sxp files that look like the config files.  

This is what I have in the file

   (device
        (vif
            (bridge eth0)
            (mac 00:16:3e:02:da:66)
            (script vif-bridge)
            (uuid f4b36b7e-3a18-75e7-482e-4e5cfe752ade)
            (backend 0)
        )
    )

Thanks

-----Original Message-----
From: Tim Post [mailto:echo@xxxxxxxxxxxx] 
Sent: Sunday, June 01, 2008 1:22 PM
To: Ronnie Tartar
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Virtual Inteface Assigment

On Sun, 2008-06-01 at 12:59 -0400, Ronnie Tartar wrote:
> I am looking to use mrtg to map bandwidth usage on my DomU's.
> 
> But by default the vif26.0, vif28.0 is created, can I assign the same vif
> everytime a domu is started?

I use cacti for this but its pretty much the same. In your config (vif=)
just add vifname=blah

>From a live config file:

vif = ['bridge=br0, mac=00:00:6d:8c:2b:41, vifname=6-a-1.0']

The domname is 6-a-1, so I know easily (in cacti) that 6-a-1.0 is eth0
in guest 6-a-1.

HTH

Cheers,
--Tim

-- 
Monkey + Typewriter = Echoreply ( http://echoreply.us )



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


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