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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Vif numbering

On Sat, Mar 12, 2005 at 03:53:09PM -0000, Ian Pratt wrote:
> > Can we specify for a domain the vif interface ?
> 
> Not right now, though I guess in principle you could.
> 
> However, when a vif is created the the vif script gets invoeked with the
> name of the domain and the assigned vif. You can hence use the domain
> name for inserting domain-specific iptables rules etc.

You can also rename the vif using ip once it has been created eg

  ip link set vif17.0 name myname

That is what we do to solve the same problem.  It doesn't seem to
cause any other problems.

-- 
Nick Craig-Wood <nick@xxxxxxxxxxxxxx> -- http://www.craig-wood.com/nick


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>