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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] vif-bridge is driving me nuts

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] vif-bridge is driving me nuts
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: 2005年1月05日 00:08:29 -0500
Delivery-date: 2005年1月05日 05:11:33 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <1104897167.13440.26.camel@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: TekTonic
References: <1104897167.13440.26.camel@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Tue, 2005年01月04日 at 22:52 -0500, Matt Ayres wrote:
>
> 2) In the example usage it shows the last parameter as ip= with a list
> of subnets. How do I pass this ip information to vif-bridge from the
> domains configuration file? I'd really like to use the functionality it
> has to limit which domain will be forwarded IP's (to prevent IP
> stealing), but for the life of my I can't figure it out... it definitely
> does NOT pass the ip variable from the config file as that is already
> set.
>
> I'm wondering where vif-script is executed by xend.. I did a grep over
> xend itself along with the entire /usr/lib/python/xen directory and only
> found a single reference to vif-script and that is where it loads in
> from the config file. Perhaps just knowing more about how xend deals
> with vif-script will help me along here.
>
In response to my own post, I noticed the parameters for 'vif' in the
config file match up to those for vif-bridge... except for the 'ip'
parameter. Would something like this in the domain configuration file
make sense?
vif = [ 'ip="192.168.1.80/32"' ]
or to better follow the example, even this:
vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0, ip="192.168.1.80/32"' ]
Of course, no scripts see ip as a valid argument so it doesn't work
now... it returns something like "Error: Invalid vif specifier:
ip=192.168.1.80/32". Interestingly enough i've tried modifying
create.py (in the build tree so it builds create.pyc) to include 'ip' as
valid, same error. Then I completely commented the 2 lines of code that
check and return the error and it STILL does it so i'm obviously missing
something, I guess I just need either a pointer from someone or to bury
myself in the code for a little bit more. 
-- 
Thanks,
Matt
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] vif-bridge is driving me nuts , Matt Ayres
Next by Date: RE: [Xen-devel] xen 2.0.1, 2.4.27, 2.6.9, non-bridge , Adam Heath
Previous by Thread: [Xen-devel] vif-bridge is driving me nuts , Matt Ayres
Next by Thread: Re: [Xen-devel] vif-bridge is driving me nuts , Matt Ayres
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /