Thanks everybody for your replies.
Isn't it possible that with only one bridge we have the virtual machines in different physical subnets, if the gateway is configured to handle that ?
----- Original Message -----
Sent: Friday, December 18, 2009 3:11:50 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: [Xen-users] DomU(s) in different subnets
On Thu, Dec 17, 2009 at 1:10 PM, Sachin Goel <SACHIN.GOEL@xxxxxxxxxx>
I am new to the Xen Networking and how it works. I have a very basic question about it, over which I am confused since last few days :(
Is it possible to configure various virtual machines(domU(s)) running on the same xen hypervisor(dom0) such that they exist in different subnets?
Any pointers will be very helpful !!
If you want multiple physical subnets, just create multiple bridges, and connect each one to a different switch. Then assign each DomU to a separate bridge.
If you want multiple logical subnets, just assign them all to the same bridge, but set the guest IPs as needed.
Bridges work at the ethernet level, below the IP, so there's nothing special needed.