I'd have a network like this currently. Basically, It's two Xenservers connected to our colocation provider's switch via one ethernet cable per server. Each server currently has a second ethernet card which storage is attached to (iSCSI). Each of the VMs (and Xen hosts) have a public IP. All the VMs communicate with each other via their public IP.
What I'd like to setup is a situation like this where each VM has at least a private address and only public facing servers would have a public IP. As well, storage would be connected to the switch instead of directly attached. As the private network would be inaccessible to the outside world, I'd like VPN so I can connect to and administer the private network.
That said I don't know very much about networking (in terms of setting this all up)
So the questions are:
1) How do I virtually network multiple VMs (on seperate hosts) together (for the private network)?
2) How do I set up virtual networking in Xen center?
3) would it be preferable to get a switch that supports VLaning and segment the network that way?
I'd be grateful to hear any advice the community has on these matters. Thanks in advance.
There are a few ways to do this, there are a few ways of doing this..
Hope this helps you as to answer your questions 1. yes its possible read up on the documentation. First rule - RTFM 2. RTFM as well its all there 3. yes its possible, but why would you ever want to overwork yourself when the software is more then capable of handling it, unless you want total management of the VLAN in terms of bandwidth management, IP management ( you catch the drift )
For a more updated way to create vLANS on XenServer5.5 or 5.6 - creating VLANS
1) How do I virtually network multiple VMs (on seperate hosts) together (for the private network)?
You need the XenServer hosts to be connected to the same ethernet network. If you only have access to two NICs, you will need to create VLANs to segregate the traffic. Then you create a virtual network within XenCenter and assign it to all the VMs.
2) How do I set up virtual networking in Xen center?
You'll create a new Network in the pool config. Check XenCenter help/ XS admin guide for details.
3) would it be preferable to get a switch that supports VLaning and segment the network that way?
I don't know a lot about VLANs - but I believe you must do it this way - you have to tag the packets at the switch. XS 5.6 feature pack 1 is supposed to include some functionality to deal with VLAN tags at the hypervisor level.