----- Original Message ----- | On 11/14/2015 09:20 AM, Sergio Belkin wrote: | > I'd want to connect a VM to another VM (or eventually to the host) via the | > "Linux bridge" so that I can demonstrate that capability in a classroom | > with only one laptop. If the purpose of this is to demonstrate VMs you just want to bridge the physical interface so that the guest can access the network. To do this you only need one physical interface. If you have two interfaces on the same LAN than you want device teaming or LACP. You would create a team or bond interface using the two interfaces and then create a bridge to that team or bond device. -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 604-365-6432 Fax : 778-782-3045 E-Mail : jpeltier at sfu.ca Website : http://www.sfu.ca/itservices Twitter : @sfu_rcg Powering Engagement Through Technology
On 11/14/2015 09:20 AM, Sergio Belkin wrote:> > I'd want to connect a VM to another VM (or eventually to the host) via the > "Linux bridge" so that I can demonstrate that capability in a classroom > with only one laptop.The libvirt wiki covers this here [0]. These instructions create a bridge (br0), connect the physical ethernet interface to that bridge, then you can attach virtual machines to the same bridge. [0] http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging
Perhaps I don't explain myself enough. I don't want to "bridge" physical machine with virtual machine, my idea was create a transparent bridge in a VM for example to demonstrate a proxy with no need of topology change. Greets 2015-11-16 5:58 GMT-03:00 Paul Knox-Kennedy <pknoxkennedy at gmail.com>:> On 11/14/2015 09:20 AM, Sergio Belkin wrote: > > > > I'd want to connect a VM to another VM (or eventually to the host) via > the > > "Linux bridge" so that I can demonstrate that capability in a classroom > > with only one laptop. > > The libvirt wiki covers this here [0]. These instructions create a > bridge (br0), connect > the physical ethernet interface to that bridge, then you can attach > virtual machines to > the same bridge. > > [0] http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org