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] Other additional vnet questions

To: bgb@xxxxxxxxx
Subject: Re: [Xen-devel] Other additional vnet questions
From: Mike Wray <mike.wray@xxxxxxxxxx>
Date: Thu, 10 Feb 2005 10:22:18 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 10 Feb 2005 10:24:05 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <1107965719.9884.237.camel@xxxxxxxxxxxxxxxxxxx>
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>
References: <1107965719.9884.237.camel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
B.G. Bruce wrote:
Some other questions I have about vnets.

1)      Can one vif belong to more than one vnet at the same time?

Think of a vnet as a virtual lan.
Just as an interface can only be connected to one lan,
a virtual interface can only be connected to one vnet.

If you want a domain to have more than one vnet it needs
more than one virtual interface - just like you need
multiple real nics to have access to multiple lans.

2)      Can you run more than one vnet on the same bridge?

A vnet is implemented by a vnet interface that does the multipoint
tunneling for it. The vnet interface is connected to virtual
interfaces via a bridge. The idea is to have one bridge per vnet.
If you put more than one vnet interface on the same bridge
I'm not sure whether it would work or not. Not something I've tried.
If it did work it would be like bridging lans together via  hub.


ex. bridge=mgmt
        vnetid=1 mac=aa:00:00:00:00:01
        vnetid=2 mac=aa:00:00:00:00:01

        vnetid=1 mac=aa:00:00:00:00:02
        vnetid=3 mac=aa:00:00:00:00:02

        vnetid=1 mac=aa:00:00:00:00:03

        vnetid=3 mac=aa:00:00:00:00:04

domU1 mac=aa:00:00:00:00:01 bridge=mgmt

domU2 mac=aa:00:00:00:00:02 bridge=mgmt

domU3 mac=aa:00:00:00:00:03 bridge=mgmt

domU4 mac=aa:00:00:00:00:04 bridge=mgmt

all four hosts have an unique ip assigned from 192.168.1.0/24

domU1 can see domU2 and domU3
domU2 can see domU1 and domU4

dom3 can see domU1

dom4 can see domU2


Will this work?  I would try it out myself, but being that I can't
compile the code just yet, I thought I'd pick someone else's brain on
this while I work on the build issues.

Not as it stands - see above.


B.


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

Mike




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