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

[Xen-users] VLAN script


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

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


 


Rackspace

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