[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] VLAN script


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello

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

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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.