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

Re: [Xen-devel] nfsroot and brige



> > One tweak I do make is to set up the bridge in Dom0 first.  I'd
> > be happy if bridge support was changed to require a pre-existing
> > bridge...
> 
> The bridge config scripts are quite simple. The intention is that you
> customise them for your site. I'll leave example bridge scripts even
> though the default will change to using routing.
> 
> I'll send a message here to describe how to switch between bridging
> and routing.

I've checked in new routing scripts to 2.0-testing and unstable
trees. Note that I have *not* changed the default behaviour, which is
to bridge VIFs at the MAC level.

If you want to route instead of bridge:

 1. Edit /etc/xen/xend-config.sxp. Delete the lines referring to
    bridging, and instead uncomment the lines referring to routing.

 2. You may want to edit /etc/xen/scripts/network-route and
    /etc/xen/scripts/vif-route. The former currently enables IP
    forwarding when xend is started; the latter brings up the VIF
    with a dummy IP address, installs a /32 routing rule (the IP
    address is grabbed from the config file as described in step 3),
    and enables proxy ARP.

 3. You will need to edit your VM config file to include a 'vif list'
    containing the IP address of each VIF you are configuring. i.e.,
    the list must look at least something like:
    vif = [ 'ip=1.2.3.4' ]
    (This just extends the existing 'vif' syntax, but a lot of people
    probably have been able to avoid needing to specify any vif
    details so far).

Let me know how you get on!

 -- Keir


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


 


Rackspace

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