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

[Xen-users] VLAN script

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VLAN script
From: "Molle Bestefich" <molle.bestefich@xxxxxxxxx>
Date: Mon, 12 Jun 2006 18:13:09 +0200
Delivery-date: Mon, 12 Jun 2006 09:13:49 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bzDd2Sq175dLbUp8Whc8MY3qrc46Mg2PE6asOcqN9vpN01zbvHhJzxYXbm8/0ft2J0GuDS+EZHKQb0BJabpcDw0nFOP1SxL4SI5UpiDA7MC7CmQU5Er4IWTfSxyE93w8YhKBX+T/ob5iAV0cibwzT0SaQPnVOpzRvySBNaR5zU0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi

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/blah and instead use the new
vif=['ip=1.2.3.4,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.

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-*.

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

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] VLAN script, Molle Bestefich <=