Do I set up separate bridges for each guest?

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

 



Hello:

I am installing KVM on top of CentOS 5.4 so I can
have two guests running on my host. I would like to 
have the host and guests accessible from my
network.

Do I set up separate bridges for each guest or would
they somehow be shared?

If I set up separate bridges, I think I need to do
in /etc/sysconfig/network-scripts on the host machine:

1. Set up ifcfg-eth0 with the ip information of the 
	host (For example 192.168.2.200)
2. Set up ifcfg-eth0:1 for the first guest.  It will
	have BRIDGE=br1
3. Create ifcfg-br1 with the IP info for the first
	guest (For example 192.168.2.201)
4. Set up ifcfg-eth0:2 for the second guest.  It will
	have BRIDGE=br2
5. Create ifcfg-br2 with the IP info for the second
	guest (For example 192.168.2.202)

Is this correct or did I miss something?

Thanks,
	Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux