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

Re: [MirageOS-devel] Xen VIF configuration for tap devices

On 25 Oct 2014, at 11:36, Masoud Koleini <masoud.koleini@xxxxxxxxxxxxxxxx> 
> Hi all,
> I have a switch with three tap devices tap0 (for the controller connection), 
> tap1, and tap 2 running on Xen.
> What would be the right VIF configuration for Xen?

It would be pretty much the same configuration as your tap setup.  The Xen 
networking model is to expose a VIF ('virtual interface') in the guest and 
dom0.  Everything else from there is host setup and can be customised -- most 
commonly by adding a bridge to the outside world and adding the VIFs from the 
guests to that bridge so they can communication externally.

The xl setup fragment looks like:

    vif = [ 'bridge=xenbr0' ]
    vif = [ 'mac=c0:ff:ee:c0:ff:ee,bridge=br0' ]

MirageOS-devel mailing list



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