From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Wray Subject: Re: vif-bridge is driving me nuts Date: Wed, 05 Jan 2005 11:43:11 +0000 Message-ID: <41DBD2CF.9020509@hpl.hp.com> References: <1104897167.13440.26.camel@wopr.tektonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1104897167.13440.26.camel@wopr.tektonic.net> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Matt Ayres Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Matt Ayres wrote: > Hi, > > I'm having a few problems with vif-bridge... > > 1) I wanted to change the bridge interface names to be more user > friendly and be named after the domain name, not the id. Unfortunately you will have trouble with this. The names of network interfaces are limited to 15 characters - and domain names are not. > > I figured making this change in /etc/xen/scripts/vif-bridge would do it: > > # Add/remove vif to/from bridge. > #brctl ${brcmd} ${bridge} ${vif} > #ifconfig ${vif} $OP > brctl ${brcmd} ${bridge} ${domain} > ifconfig ${domain} $OP > > I tried running it by hand and it says the interface doesn't exist. My > question is... where/when is the tunnel device created? This is mostly > a cosmetic change compared to the second problem, which is a > functionality problem.. > > 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. > Mike ------------------------------------------------------- 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