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/
Home Products Support Community News


[Xen-devel] VLAN script

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] VLAN script
From: "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
Date: Fri, 7 Jul 2006 18:15:54 +0200
Delivery-date: Fri, 07 Jul 2006 09:16:18 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nNQUYVTqQRO/A6JAhMAxrMGYb6qu41Cci/T0D2CKYGa7zQ4AjB8uOiUz7weErgqGF+qdFpmnV5DfM47KiGw+EasDjea7gLisj97RdjbUDQQ5o25va6TxBI8+zuNDuVcNfxKZqMtI5ohI0NO63+M+DcREnZLecLX6um72XoNb9+w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <62b0912f0606120913r983e9cbp3f8a77de28ee7c68@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <62b0912f0606120913r983e9cbp3f8a77de28ee7c68@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

My domU's runs in each their VLAN.
I'm revising my vif-vlan script.

I'd like to switch away from the ip="xyz", netmask="abc",
gateway="def" syntax in /etc/xen/domU-config and
instead use the new vif=['ip=,etc'] syntax.

I'm stumbling into a few shortcomings.

There's no netmask=abc, no gateway=abc, no broadcast=abc when using
the new syntax.  I'll have to hardcode those depending on the IP.  So
be it.

A much harder problem to tackle is that there's also no apparent way to
read out the ip=abc value when inside the domU - there's nothing relevant
in /proc/cmdline, under /proc/xen, or under /sys/devices/xen/vif-*.

So how do I read out the values on the vif=[...] line from within each domU?

Hope you can help.

Xen-devel mailing list

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